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

Installing VCM - single-tier deployment


In this recipe, we will deploy vRealize Configuration Manager 5.8.2 on a Windows Server 2012 R2. As the title suggests, this is a single-tier installation; hence, all the VCM components will be installed on a single server. So, the VCM Database server, web server, and the VCM Collector components will reside on a single Windows Server 2008 R2, 2012, or 2012 R2 machine (in our case, Windows Server 2012 R2), which is referred to as the VCM Collector, as illustrated here:

Getting ready

In this case, we will need a single Windows Server 2012 R2 installation where we have already installed SQL, configured IIS, and installed all the prerequisites by following the previous recipes.

The VCM installer is available on http://www.vmware.com/ . You need to have an account on  my.vmware.com to download the installer.

You need to have all the required service accounts ready in Active Directory, and they should have the permissions described in the requirements document of VCM. The server should be a part of the Active Directory domain, and you must log in with an AD account that is a local administrator on the server.

How to do it...

You need to log in with the account that you want to have VCM admin rights to, as the account that is used to install VCM gets full admin rights on the VCM application, so you can choose either your account or any specifically created VCM administrator account.

Download the installer from the Internet and copy it to the VCM server. Then, follow these steps:

  1. Mount the ISO and start the installation wizard by double clicking on setup.exe. Select Typical Installation.

    Note

    Typical Installation: This is mostly used for single- or two-tier installations and asks for less information.

    Advanced Installation: This is mostly used for three-tier installations, as in this type, we need to spread the installation of the Collector and web server on different servers.

  2. Read and accept the license agreement and select "I am an authorised agent and/or representative of the customer/end user" and "I have read the terms and conditions stated above".

  3. It will perform the prerequisite checks and run a few tests for that; once the tests are complete, select View full results of prerequisite check.

  4. The results will be launched in Internet Explorer and check whether there are any errors and/or warnings; you can install if there are any warnings but can't proceed if there are errors.

  5. Once you see any error, you can drill down by clicking on the error link in the report; it will then tell you why you faced the error.

In our case, we had not installed the ServerSideIncludes IIS role service, as shown in the following error report:

After installing the missing component, we can resume the installer.

  1. In the next step, we need to provide the following details:

    • VCM Database Server (a local or a remote SQL Server instance): The same server where we are installing as this is a single-tier installation.

    • SQL Server Reporting Services WebService URL: You must have noted this down while configuring SSRS; if not, go and launch the SSRS configuration wizard to check the URL. The default is http://<Server-Name>/ReportServer.

  2. Click on Validate... under SSRS Web service, and provide the following information:

    • Database Server: The hostname of the SSRS server

    • Domain: The Active Directory domain

    • User Name: The account to be used to can connect to the SSRS instance

    • Password: Password for the user

    • Port: The port configured while configuring SSRS

    • Virtual Directory: Configured while configuring SSRS

    Click on Validate and make sure the validation is successful.

    After you fill in the details, the screen should look like this:

  3. Enter the license key, provide the service account username and password, and click on Validate.

  4. Provide the installation path.

  5. Select Use HTTPS. By default a self-signed certificate will be generated. Select an alternate certificate here.

    It will autogenerate a certificate; if you want, you can add your own certificate here:

    The installation can take upto an hour, depending upon the configuration of the server.

  6. Once it is complete, launch the console using https://<IP or Hostname of Collector>/VCM.

  7. As mentioned at the start of the recipe, only the account that has access to the VCM console is the one that is used for installation; we can add another users later.

  8. Click on Login, and you will be presented with the VCM console for the first time:

How it works...

We are installing VCM on a single server where we have already installed SQL, SSRS, and IIS. This console can then be used to manage the entire infrastructure. We will use this console to perform patching, checking compliance, publishing software exporting reports, and a lot more in the upcoming chapters.