You are previewing VMware vRealize Configuration Manager Cookbook.
O'Reilly logo
VMware vRealize Configuration Manager Cookbook

Book Description

Over 80 recipes to teach you the power of vRealize Configuration Manager 5.8 to provide automated and continuous configuration management

About This Book

  • First book in the market that provides a broad configuration and compliance management solution for your enterprise.

  • Champion the skills of the latest features of VMware vRealize Configuration Manager and implement it in your organization.

  • A recipe based approach book that will enlighten you to configure VCM to collect and manage data from your virtual and physical environment.

  • Who This Book Is For

    If you are a system administrator who is eager to provide better administration with VCM and are familiar with managing network users and resources along with performing system maintenance, then this book is for you.

    What You Will Learn

  • Find out how to configure automated patching of your infrastructure for Windows as well Unix machines

  • Maintain and upgrade your vRealize Configuration Manager

  • Integrate with other VMware tools such as vCloud Director, vRealise Operations, vCenter, and vCloud Network and Security

  • Understand what vRealize Configuration Manager is and what its capacities are

  • Explore how vRealize Configuration Manager can be used for patching, compliance management, and software distribution

  • Troubleshoot vRealize Configuration Manager with ease

  • In Detail

    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.

    Style and approach

    This book takes a recipe-based approach that will provide you with an effective and a practical configuration management solution for your enterprise.

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

    Table of Contents

    1. VMware vRealize Configuration Manager Cookbook
      1. VMware vRealize Configuration Manager Cookbook
      2. Credits
      3. About the Author
      4. Acknowledgments
      5. About the Reviewer
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Sections
          1. Getting ready
          2. How to do it…
          3. How it works…
          4. There's more…
          5. See also
        5. Conventions 
        6. Reader feedback
        7. Customer support
          1. Errata
          2. Piracy
          3. Questions
      8. 1. Installing VCM
        1. Introduction
          1. Understanding VCM components
            1. The database server
            2. The VCM Collector server
            3. The web server
            4. The managing agent
            5. The SCR Tool
            6. Distributed VCM deployment
              1. Single-tier installation
              2. Two-tier installation
              3. Three-tier installation
          2. Understanding the requirements of VCM
            1. Software requirements
            2. Minimum hardware requirements
            3. Service accounts
            4. VCM databases
            5. OSes supported by VCM
            6. vRealize Configuration Manager port and protocol summary
            7. Licensing
        2. Preparing our VCM deployment - installing SQL
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. Preparing our VCM deployment - installing and configuring IIS
          1. Getting ready
          2. How to do it...
            1. Installing IIS
            2. Configuring IIS
            3. Configuring the IIS 7.5 default website
          3. How it works...
        4. Preparing our VCM deployment - configuring SSRS
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Preparing our VCM deployment - installing other prerequisites
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Installing VCM - single-tier deployment
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Installing VCM - two-tier deployment
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Installing VCM - three-tier deployment
          1. Getting ready
          2. How to do it...
            1. Installing web components
            2. Installing Collector server components
          3. How it works...
        9. VCM post-installation tasks - database fine tuning
          1. Getting ready
          2. How to do it...
            1. SQL Server - database settings
            2. SQL Server - maintenance plan
          3. How it works...
      9. 2. Configuring VCM to Manage Your Infrastructure
        1. Introduction
        2. Adding a vCenter Server instance
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. Adding a vCloud Director and vShield instance
          1. Getting ready
          2. How to do it...
            1. Adding a vShield instance
            2. Adding a vCloud Director instance
          3. How it works...
        4. Collecting data from managed machines
          1. Getting ready
          2. How to do it...
            1. Collecting data from virtual infrastructures
            2. Collecting data from managed machines
          3. How it works...
          4. There's more...
        5. Adding a discovery rule
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        6. Adding a network authority account to manage machines in multiple domains
          1. Getting ready
          2. How to do it...
            1. Available Domains
            2. Available Accounts
            3. Assigned Accounts
          3. How it works...
        7. Configuring a managing agent machine for virtual environment management
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Installing an agent on Windows servers
          1. Getting ready
          2. How to do it...
            1. Manual agent installation
            2. Agent push from the console
            3. Licensing Windows machines
          3. How it works...
          4. There's more...
        9. Installing an agent on Linux servers
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        10. Creating machine groups
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Dynamic groups
            2. Static groups
      10. 3. Linux Patching
        1. Introduction
          1. How Linux patching works
          2. SCR VM requirements
            1. Estimated required SCR storage by platform
            2. SCR VM hardware requirements
            3. List of patch sites for SCR
        2. Installing SCR prerequisites
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. Installing the SCR Tool
          1. Getting ready
          2. How to do it...
            1. Installing SCR
            2. Encrypting the password for the content repository
          3. How it works...
        4. Setting up the SCR configuration file
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Scheduling content downloads
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Configuring Apache
          1. Getting ready
          2. How to do it...
            1. Installing Apache
            2. Configuring httpd.conf for Apache
            3. Configuring the .htaccess file
            4. Configuring HTTPS in Apache
          3. How it works...
          4. There's more...
        7. Configuring patching repository options in VCM
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Configuring staging options in VCM
          1. Getting ready
          2. How to do it...
          3. How it works...
        9. Configuring the SCR Tool base path for the patching repository
          1. Getting ready
          2. How to do it...
          3. How it works...
        10. Creating a patch assessment template
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        11. Deploying patches on Linux machines – on demand
          1. Getting ready
          2. How to do it...
          3. How it works...
        12. Deploying patches on Linux machines – scheduled
          1. Getting ready
          2. How to do it...
            1. Step 1 – the initial collection
            2. Step 2 – deploying the patch
            3. Step 3 – final assessment
          3. How it works...
      11. 4. Windows Patching
        1. Introduction
        2. Configuring VCM to use Microsoft updates
          1. Getting ready
          2. How to do it...
            1. Configuring a proxy
            2. Downloading settings
            3. The network authority account
            4. Synchronizing patches with Microsoft
          3. How it works...
            1. The download directory
          4. See also
        3. An introduction to automated patching
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Creating a patch assessment template
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Windows patching – on demand
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Windows patching – scheduled
          1. Getting ready
          2. How to do it...
            1. Initial collection
            2. Initial assessment
            3. Deploying patches
            4. Final assessment
          3. How it works...
          4. There's more...
        7. Patching machines in multi-domain environments and workgroups
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Patching VM templates
          1. How to do it...
          2. How it works
        9. Patching reports
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
      12. 5. Software Provisioning for Windows
        1. Introduction
          1. The Windows software repository
          2. Package manager for Windows
          3. VMware vCenter Configuration Manager Package Studio
        2. Installing a software repository on Windows
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. Deploying additional components on agents
          1. Getting ready
          2. How to do it...
          3. How it works...
        4. Creating software packages
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Publishing software packages to a repository
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Adding a repository to VCM 
          1. Getting ready
          2. How to do it...
            1. Collecting software provisioning package manager data
            2. Collecting software repository data
          3. How it works...
        7. Adding repository sources to package manager
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        8. Deploying a package
          1. Getting ready
          2. How to do it...
          3. How it works...
      13. 6. Compliance Management
        1. Introduction
          1. The constructs of VCM compliance
            1. Rules
            2. Filters
            3. Rule groups
            4. Templates
        2. Importing compliance packs
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Creating compliance rule groups
          1. Getting ready
          2. How to do it...
            1. Creating a rule group
            2. Creating a filter
          3. How it works...
        4. Creating custom compliance rules for Windows
          1. Machine group compliance
          2. Virtual environment compliance
          3. Getting ready
          4. How to do it...
            1. Copying a rule from another rule group
            2. Creating a new rule
          5. How it works...
        5. Creating custom compliance rules for Linux
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Creating custom compliance rules for virtualization
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Modifying the default filter set
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Creating compliance templates
          1. Getting ready
          2. How to do it...
          3. How it works...
        9. Checking the compliance of the infrastructure
          1. Getting ready
          2. How to do it...
          3. How it works...
        10. Exporting compliance rules
          1. Getting ready
          2. How to do it...
          3. How it works...
        11. Compliance reports
          1. Getting ready
          2. How to do it...
          3. How it works...
        12. Creating compliance exceptions
          1. Getting ready
          2. How to do it...
          3. How it works...
      14. 7. Maintenance of VCM
        1. Introduction
        2. Upgrading VCM from a previous version – in place
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. Aftercare
          4. There's more...
        3. Upgrading VCM from a previous version – parallel
          1. Getting ready
          2. How to do it...
            1. Migrating the VCM certificate
            2. Migrating VCM to the new server
          3. How it works...
            1. Aftercare
          4. There's more...
        4. Migrating VCM from another domain
          1. Getting ready
          2. How to do it...
          3. How it works...
        5. Applying a new license key
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Upgrading VCM agents
          1. Getting ready
          2. How to do it...
            1. Windows
            2. Linux
          3. How it works...
          4. There's more...
          5. See also
        7. Changing service account passwords
          1. Getting ready
          2. How to do it...
            1. Collector service accounts
            2. VCM remote service accounts
          3. How it works...
        8. Managing users
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. Default roles
          4. There's more...
        9. Decommissioning VMs – manual VM purge
          1. Getting ready
          2. How to do it...
            1. Unlicense a managed machine
            2. Purge the machine
          3. How it works...
          4. There's more...
        10. Decommissioning VMs – scheduled VM record purge
          1. Getting ready
          2. How to do it...
            1. Schedule a job in SQL
          3. How it works...
      15. 8. Integration with vROps and Scheduling
        1. Introduction
        2. Installing and configuration of vROps Management Pack for VCM
          1. Getting ready
          2. How to do it...
          3. How it works
          4. There's more...
        3. Configuring vROps – VCM compliance mapping and scheduling
          1. Getting ready
          2. How to do it...
          3. How it works...
        4. Scheduling OS and compliance data collection
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Scheduling compliance
          1. Getting ready
          2. How to do it...
          3. How it works...
        6. Scheduling reports
          1. Getting ready
          2. How to do it...
          3. How it works...
        7. Scheduling vCenter collections
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        8. Scheduling vCenter discovery
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      16. 9. Troubleshooting VCM
        1. Introduction
        2. Troubleshooting tools – EcmDebugEventViewer
          1. Getting ready
          2. How to do it...
            1. Accessing events
            2. Filtering events
          3. How it works
        3. Troubleshooting tools – Job Manager | History
          1. Getting ready
          2. How to do it...
          3. How it works
        4. Troubleshooting tools – Machine Collection Status
          1. Getting ready
          2. How to do it...
          3. How it works
        5. Troubleshooting agent communication issues
          1. Getting ready
            1. Issue 01: Mutual Authentication failed
          2. How to do it...
            1. Issue 02: Rethrown certificate issue
          3. How to do it...
            1. Issue 03: PingFailed
          4. How to do it...
            1. Issue 04: CredentialsFailed
          5. How to do it...
          6. How it works
        6. Troubleshooting agent upgrade issues
          1. Getting ready
          2. How to do it...
        7. Troubleshooting SCR download issues
          1. Getting ready
          2. How to do it...
          3. How it works
        8. Troubleshooting VCM console login failure
          1. Getting ready
          2. How to do it...
          3. How it works
        9. Troubleshooting vCenter and vCloud data collection issues
          1. Getting ready
          2. How to do it...
          3. How it works
        10. Troubleshooting the Recommended Action: Investigate Issue Linux server patch error
          1. Getting ready
          2. How to do it...
        11. Troubleshooting not being able to see any jobs on the console
          1. Getting ready
          2. How to do it...
          3. How it works
        12. Troubleshooting not being able to see the Monthly option on the Schedule Job page 
          1. Getting ready
          2. How to do it...
      17. 10. Defining Naming Conventions
        1. Machine groups
        2. Machine group filters
        3. Patching templates
        4. Scheduled patching jobs
        5. Scheduled patch status collection
        6. Scheduled patching assessment
        7. Compliance templates
        8. Compliance rule groups
      18. 11. Understanding VCM Console