Book Image

VMware vRealize Configuration Manager Cookbook

By : Abhijeet Shriram Janwalkar
Book Image

VMware vRealize Configuration Manager Cookbook

By: Abhijeet Shriram Janwalkar

Overview of this book

VMware vRealize Configuration Manager (VCM) helps you to automate IT operations, manage performance, and gain visibility across physical and virtual infrastructure. It is continuously being used by enterprises to audit the configurations of the VMware infrastructure as well as the Windows, Linux, and UNIX operating systems. This book is filled with practical recipes through which you will learn about the latest features of vRealize Configuration Manager 5.8.X, starting with installation of various tiers of VCM followed by configuration management across physical and virtual servers. Throughout this book, you will explore how VCM can perform tasks such as patch management, compliance assessment, and software package distribution along with Machine filters for new platforms such as RHEL 7 and Windows 10. This book will ease your troubles while upgrading from the existing VCM to the latest version by providing you with step-by-step instructions about the process of migration along with upgrade and maintenance support. This book will help you understand how to integrate vRealize Configuration with other applications along with schedule management and also guide you on how to handle security issues. After reading this book, you will have a clear understanding of how VCM fits in the overall picture of the data center design from a patching and compliance perspective.
Table of Contents (18 chapters)
VMware vRealize Configuration Manager Cookbook
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
11
Understanding VCM Console

Preparing our VCM deployment - installing SQL


VCM requires four databases on a dedicated SQL system. In this recipe, we will learn how to correctly install the SQL Server component.

Getting ready

Depending upon the deployment type we choose, we will need either a dedicated SQL Server (two- and three-tier deployment) or we can use the Windows server used for the VCM Collector server (single-tier deployment).

We will need an operating system-Windows Server 2012 (or better)-and SQL 2012.

For proof of concept or testing purposes, you can use shared SQL; or else, use dedicated SQL.

How to do it...

The steps to install SQL are the same for all the three types of VCM deployments–only the server will change depending upon the type of tier.

Note

As this is not a dedicated guide to installing and configuring SQL, we will not include all the screenshots; if you need further help, consult your DBA team for detailed instructions.

Follow these steps:

  1. Start the SQL installer.

  2. Under the installation menu, select New SQL Server standalone installation or add features to an existing installation.

  3. Make sure all the setup support rules have been passed.

  4. Ignore product update errors if you do not have an Internet connection.

  5. Enter the product key.

  6. Accept the EULA.

  7. Under Setup Role, select SQL Server Feature Installation.

  8. Select the following features:

    • Instance Features

      • Database Engine Service

        • Full-Text and Semantic Extractions for Search

      • Reporting Service - Native

    • Shared Features

      • Documentation Components

      • Management Tools - Basic

        • Management Tools - Complete

  9. Choose the installation folder according to your server configuration.

  10. Make sure all the installation rules have been passed.

  11. Go with the default instance and again change the installation folder location if required.

  12. It is always better to use a service account to run SQL services, and you need to have a domain account if you will be installing a two- or three-tier VCM instance.

    Note

    In a multi-tier VCM deployment, the database is on a different server, and we need a domain service account so that SQL can communicate over the network.

    Provide the correct service accounts to the SQL installation wizard.

  13. The collation setting supported by VCM is SQL_Latin1_General_CP1_CI_AS; make sure this is selected.

  14. Add the SQL admin group from Active Directory. Depending on company policy, enable Mixed mode and provide the SA account with a password.

  15. For reporting services, we will be only installing SSRS and not configuring it.

  16. Follow the wizard and install SQL.

How it works...

SQL will host all the four databases required for VCM. We don't need to create or configure any database right now; they will be created when we install VCM. We will need special permissions for SQL Server, as previously stated in the Service accounts subsection.

Also, all activities such as compliance check and patch status for a machine are performed using the data available in the database, so this puts extra workload on the database, which highlights the need for a dedicated SQL Server. All the schedules are stored as SQL jobs in SQL, putting another layer of work pressure on the SQL Server.

VCM uses SSRS to host the reporting feature; we installed SSRS as well while deploying SQL, and in the following recipes we will configure it.