This document supports the version of each product listed and supports all
subsequent versions until the document is replaced by a new edition. To
check for more recent editions of this document, see
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All
other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
2
VMware, Inc.
Contents
About This Book9
Getting Started with VCM11
Understanding User Access11
Running VCM as Administrator on the Collector12
Log In to VCM12
Getting Familiar with the Portal13
General Information Bar13
Toolbar14
Sliders15
Customizing VCM for your Environment16
Installing and Getting Started with VCM Tools19
Install the VCM Tools Only19
VCM Import/Export and Content Wizard Tools20
Run the Import/Export Tool21
Run the Content Wizard to Access Additional Compliance Content21
Run the Deployment Utility21
Package Studio22
Foundation Checker22
Configuring VMware Cloud Infrastructure23
Virtual Environments Configuration23
Managing Agents24
Managing vCenter Server Instances, Hosts, and Guest Virtual Machines25
Managing Instances of vCloud Director and vApp Virtual Machines25
Scoring Badges for vCenter Operations Manager Standards Compliance79
Auditing Security Changes in Your Environment85
Configuring Windows Machines87
Configure Windows Machines87
Verify Available Domains88
Check the Network Authority88
Assign Network Authority Accounts89
Discover Windows Machines89
License Windows Machines90
Install the VCM Windows Agent on Your Windows Machines91
Locate the Enterprise Certificate92
Manually Install the VCM Windows Agent93
Manually Uninstall the VCM Windows Agent97
Collect Windows Data97
Windows Collection Results98
Getting Started with Windows Custom Information99
Prerequisites to Collect Windows Custom Information100
Using PowerShell Scripts for WCI Collections101
Windows Custom Information Change Management111
Collecting Windows Custom Information112
4
VMware, Inc.
Contents
Create Your Own WCI PowerShell Collection Script113
Verify that Your Custom PowerShell Script is Valid113
Install PowerShell114
Collect Windows Custom Information Data115
Run the Script-Based Collection Filter116
View Windows Custom Information Job Status Details116
Windows Custom Information Collection Results117
Run Windows Custom Information Reports118
Troubleshooting Custom PowerShell Scripts119
Configuring Linux and UNIX Machines121
Configure Linux and UNIX Machines121
Upgrade Requirements for UNIX/Linux Machines122
Add UNIX/Linux Machines122
License UNIX/Linux Machines123
Install the Agent on UNIX/Linux Machines124
Installation Options for Linux or UNIX csi.config128
Manually Uninstall the UNIX/Linux Agent131
Collect UNIX/Linux Data131
The VMware vCenter Configuration ManagerAdministration Guide describes the steps required to configure
VCM to collect and manage data from your virtual and physical environment.
Read this document and complete the associated procedures to prepare for a successful implementation of
the components.
Intended Audience
This information is written for experienced Windows or UNIX/Linux/Mac OS X system administrators
who are familiar with managing network users and resources and with performing system maintenance.
To use this information effectively, you must have a basic understanding of how to configure network
resources, install software, and administer operating systems. You also need to fully understand your
network topology and resource naming conventions.
Document Feedback
VMware welcomes your suggestions for improving our documentation. If you have comments, send
your feedback to docfeedback@vmware.com.
VMware VCM Documentation
The vCenter Configuration Manager (VCM) documentation consists of the VCM Installation Guide, VCM
Troubleshooting Guide, VCM online Help, and other associated documentation.
The following technical support resources are available to you. To access the current version of this book
and other books, go to http://www.vmware.com/support/pubs.
Online and Telephone
Support
To use online support to submit technical support requests, view your
product and contract information, and register your products, go to
http://www.vmware.com/support.
Customers with appropriate support contracts should use telephone support
for priority 1 issues. Go to http://www.vmware.com/support/phone_
support.html.
Support OfferingsTo find out how VMware support offerings can help meet your business
needs, go to http://www.vmware.com/support/services.
VMware Professional
Services
VMware Education Services courses offer extensive hands-on labs, case study
examples, and course materials designed to be used as on-the-job reference
tools. Courses are available onsite, in the classroom, and live online. For
onsite pilot programs and implementation best practices, VMware Consulting
Services provides offerings to help you assess, plan, build, and manage your
virtual environment. To access information about education classes,
certification programs, and consulting services, go to
http://www.vmware.com/services.
10
VMware, Inc.
Getting Started with VCM
When you use VCM, you must understand user access and how to start VCM from any physical or virtual
machine. You must also familiarize yourself with the VCM Web Console features.
This chapter includes the following topics:
Understanding User Access11
Log In to VCM12
Getting Familiar with the Portal13
Customizing VCM for your Environment16
Understanding User Access
User access determines who has access to VCM and with what roles. To manage your user access, create
rules that are assigned to roles. VCM assigns the roles to each user login you create. User access is
managed in the Administration User Manager node.
The user account that was used to install VCM is automatically granted access to VCM, placed in the roles
of ADMIN and USER, and placed into the Admin role. This user can log in to VCM using the Admin role.
The AD_Admin role allows full administration access to AD objects only.
1
When a user is added to the Admin role in VCM or granted access to the Administration User Manager
node, that user is placed in the fixed machine roles Security Administrators and Bulk Insert Administrators
Groups. They are also added to the database roles of public, ADMIN, and User in the VCM Database.
Users who will not have access to the Administration User Manager node will be assigned to public.
Depending on the functions granted to a user, they might need additional or fewer privileges for their role
to function properly.
VCM provides a Change Restricted role to limit users from making certain changes in your environment.
With this role, users can discover, collect data from machines, assess machines, display bulletin and
template details, check for updates, and view history. Users can add, edit, and delete reports, compliance
rules and rule groups, and compliance and patch assessment templates.They can also install the Agent,
upgrade VCM, and uninstall VCM.
When you apply the VCM Change Restricted role to a user’s VCM login, they cannot perform the
following actions.
All VCM user accounts must have the following rights on the VCM Collector machine.
n
Ability to log on locally to access IIS
n
Read access to the System32 folder
n
Write access to the CMFiles$\Exported_Reports folder to export reports
n
If default permissions have been changed, read access to the C:\Program Files (x86)
\VMware\VCM\WebConsole directory and all subdirectories and files
Users who add machines to VCM using a file or the Available Machines Add Machines action must
have write access to CMFiles$\Discovery_Files.
Running VCM as Administrator on the Collector
By default for localhost, Internet Explorer on Windows Server 2008 R2 runs with Protected Mode enabled.
If you are logged in to VCM as an Administrator, because Protected Mode is enabled, problems can occur
with the SQLServer Reporting Service (SSRS) Web service interface components such as dashboards and
node summaries.
CAUTION Although you should not access VCM on the Collector using a Web console, to restore
the SSRS functionality you can run Internet Explorer as administrator or disable Protected Mode for
the zone of the Collector (localhost). If you perform this action, you must take additional precautions
to protect the Collector because of the increased exposure to attacks on the Collector through the
Web browser, such as cross-site scripting.
Log In to VCM
Access VCM from any physical or virtual machine in your network. The level of access is determined by
your VCM administrator.
Prerequisit es
n
Verify that the physical or virtual machines from which you are accessing VCM have a supported
version of Internet Explorer installed. For supported platforms, see the VCM Installation Guide.
n
Configure the Internet Explorer Pop-up Blocker settings to add your Collector to your list of allowed
Web sites, or disable Pop-up Blocker. Click Internet Explorer and select Tools > Pop-up Blocker > Pop-up Blocker Settings and then add the path for your Collector in the allowable address field.
12
VMware, Inc.
Procedu re
1. To connect to VCM from a physical or virtual machine on your network, open Internet Explorer and
type http://<name-or-IP-address-of-Collector-machine>/VCM.
2. Type your user network credentials.
3. (Optional) Select Automatically log on using this role to have VCM log you in.
4. Click Log On.
Your VCM user account can have multiple roles. If you selected the Automatically log on using this role
option, VCM will automatically log you on as the User Role displayed on the Logon screen. To change
roles, you must use the Logoff button in the top right corner of the Console. This action will return you to
the Logon screen so that you can use the drop-down menu to select a different role.
Getting Familiar with the Portal
The VCM Web Console provides access to all VCM features to manage your environment.
The Web Console uses a browser-based interface to run from any Windows machine that has access to the
server on which VCM is installed. The Windows machine must be running Internet Explorer or Mozilla
Firefox with the Internet Explorer tab plug-in installed.
The Web Console includes several major areas and controls.
Getting Started with VCM
General Information Bar
The general information bar displays the VCM Collector’s active SQL Server name, your VCM user name
and active Role, and the following buttons.
Log Out: Exits the Web Console. The Web Console closes and the VCM Logon screen appears.
n
About: Displays information about how to contact VMware Technical Support and version information
for VCM and all of its components. This information may be important when you contact VMware
Technical Support.
n
Help: Opens the online Help for the currently-active display.
Toolbar
The global toolbar provides you with easily-accessible options to enhance control of your environment
and data.
The left and right arrow buttons navigate to the previous or next page in the data
area.
The Jobs button opens the Jobs Running status window. This button provides
access to the Collector status and allows you to stop and restart the Collector
service.
The Collect button opens a wizard that allows you to define and initiate data
collections.
The Remote Commands button allows you to invoke the Remote Commands wizard
from the toolbar without having to access the node.
The Refresh data grid view button refreshes the data grid. Press F5 on the keyboard
as an alternative action.
The View row cells button displays a vertically scrolling view of a single row of
data, rather than the table-based data grid view in a separate window, and allows
you to move between records.
The Select all displayed data rows button selects all the rows in the data grid.
The Copy button copies information from the selected rows in the data grid to the
clipboard.
The Copy link to clipboard button copies the link of the content on-screen to the
clipboard.
The View data grid in separate window button displays the data grid in a separate
window.
The Export displayed d ata button exports data to a CSV formatted file. This file is
exported to
Reports
The Options button opens the User Options window. These s ettings pertain to the
User who is logged in to VCM. All VCM users can configure these settings to their
individual preferences.
\\<name_of_Collector_machine>\CMfiles$\Exported
.
14
VMware, Inc.
Getting Started with VCM
Sliders
The sliders on the left side of the Web Console include the items listed and described in the following table.
The individual items that you see in VCM will vary depending on the components that you have licensed.
n
Active Directory and AD objects based on your role.
n
Patching options are available based on your role.
n
Administration is visible only to users who have Administrative rights to VCM as part of their VCM
role.
For detailed instructions about any of these features, see the online Help.
SliderActio n
Console
Compliance
n
View, export, or print enterprise-wide, summary information.
n
Review or acknowledge current alert notifications.
n
Manage VCM discovered and non-VCM discovered hardware and software
assets.
n
Review changes that occurred from one collection to the next.
n
Create, edit, or run remote commands on a VCM managed Windows or UNIX
machine.
n
View information about VCM discovered domains.
n
Navigate and manage integrated service desk events.
n
Manage virtual machines.
n
View your Windows NT Domain and Active Directory related data.
n
View information for enterprise-level applications.
n
Review non-security related UNIX machine-specific information.
n
Review UNIX security data to ensure consistent security configurations across
your environment.
n
Create and manage Compliance rule groups and templates based on AD
objects or machine group data.
VMware, Inc.
Active
Directory
n
View, export, or print enterprise-wide, summary information for Active
Directory objects.
n
Review alert notifications for the selected AD location.
n
Review Active Directory-related changes that occurred from one collection to
the next.
n
View collected information about Active Directory objects such as Users,
Groups, Contacts, Computers, Printers, Shares, and Organizational Units.
n
Review Active Directory site lists, including Site Links, Site Link Bridges,
Subnets, Intersite Transports, Servers, Connections and Licensing.
n
View Active Directory Group Policy Container Settings.
View information about Active Directory Domains, DCs, and Trusts.
n
Track and display access control entries and security descriptor data on all
collected objects.
n
View Active Directory Schema information.
Reports
Patching
Administration
n
Run out-of-the-box reports against your collected data.
n
Write your own SQL and SSRS reports using VCM’s report wizard.
n
Review a list of bulletins available to VCM.
n
Create, run, or import VCM Patching templates to display the machines that
require the patches described in each bulletin.
n
Monitor VCM Patching jobs.
n
Deploy patches.
n
Manage basic configuration options for VCM.
n
Establish filters to limit the data you collect from machines in your
environment.
n
Review how your VCM licenses are being used.
n
Identify and manage your physical and virtual machines.
n
Manage VCM Logins and Roles.
n
Set options for assessment and deployment.
n
View the status of jobs that are currently running, scheduled to run, or
completed.
n
Configure VCM to notify you of certain conditions in your environment.
Customizing VCM for your Environment
Create a machine group structure that matches the organization of the machines in your environment.
With these machine groups, you can manage specific machines in your environment such as all SQL
Servers in a particular location. You can apply specific changes or create roles and rules for those machines
independently from other machines in your environment. This approach ensures that you can restrict
access to critical machines to the appropriate users with rights to VCM.
You can customize the following options for your environment.
n
Alerts: Define the objects and types of changes that you are alerted to when they are detected in VCM.
For example, you can set an alert to notify you if a registry setting changes in your environment.
n
Collection Filters and Filter Sets: Use collection filters to specify the data to collect from the VCM
managed machines. A default collection filter is provided for each data type. You can add custom
collection filters that are specific to your enterprise. You can apply filters during instant collections and
scheduled collections if the filters are included in a filter set. After you create collection filters, organize
them into filter sets. You can create specific filter sets or filter set groups for different machine groups.
You can apply filter sets during instant collections or scheduled collections.
16
VMware, Inc.
Getting Started with VCM
n
Compliance Templates and Rule Groups: Use compliance templates and rule groups to define specific
settings and verify whether the machines match those criteria. VCM provides prepackaged templates
and rules to check the compliance of your machines with regulatory, industry, and vendor standards.
VMware provides additional compliance packages that you can import into VCM.
n
Reports: Create and print tailored reports of information that does not appear in VCM. VCM provides
prepackaged reports that you can run after you collect data from your VCM managed machines.
n
Roles and Rules: VCM roles and access rules work together to control user access to VCM. For
example, you can create a role that allows a user to view all data, but not make changes to the
environment. You can create a role to run certain reports or a role that allows unlimited access to a
single machine group.
The VCM Change Restricted role limits users from making certain changes in your environment. See
"Understanding User Access" on page 11.
For information to import additional compliance packages into VCM, see Import/Export and Content
VCM Installation Manager installs several VCM components and tools on the Collector machine during
the installation.
This chapter includes the following topics:
Install the VCM Tools Only19
VCM Import/Export and Content Wizard Tools20
Run the Deployment Utility21
Package Studio22
Foundation Checker22
Install the VCM Tools Only
You can install the VCM tools on a non-Collector Windows machine.
If you plan to install VCMon the non-Collector Windows machine later, you must uninstall the tools and
then install VCM.
2
Prerequisit es
Perform the installation requirements for each tool in the Advanced Installation selection. For example,
you can install Import/Export (I/E) and Content Wizard only on a machine that is running VCM.
1. On the non-Collector Windows machine on which you want to install the tools, insert the installation
CD.
2. In Installation Manager, click Run Installation Manager.
During the installation, follow the installation requirements that Installation Manager reports when
Foundation Checker runs.
3. Complete the initial installation pages, and click Next on subsequent pages to access the Select
Installation Type page.
a. Clear the VMware vCenter Configuration Manager check box.
b. Select Tools.
c. To install a subset of tools, clear the Tools check box and select only the individual tools to install.
4. Click Next.
5. Complete the remaining instructions and click Next.
6. On the Installation Complete page, click Finish.
7. On the Installation Manager page, click Exit.
VCM Import/Export and Content Wizard Tools
Use the Import/Export Tool and the Content Wizard Tool to move or update VCM business objects.
These tools support the migration of any VCM Management Extension for Asset data that was added to
VCM manually, but does not import or export any collected data.
The Import/Export Tool supports the following scenarios.
n
Back up (export) and restore (import) business objects to the same machine.
n
Back up (export) and import (if needed) business objects during a VCM upgrade.
n
Export and migrate (import) business objects to additional machines in a multi-Collector environment
during setup or to move custom content.
n
Use the Content Wizard to download current Compliance Content from VMware and import it into an
existing database.
n
Using the Command Line Interface, automate the propagation of content to other machines in a multicollector environment with a “golden machine”.
n
Aid in disaster recovery by using the Command Line Interface to automate and schedule the backup of
VCM content and configuration parameters.
The Command Line Interface (CLI) is a powerful extension of the Import/Export graphic user interface
(GUI). In addition to supporting the scenarios noted above, the CLI allows content to be overwritten, as
opposed to “rename only”, and provides for automation through scripting suitable for customizations.
IMPORTANT Use of the CLI should be restricted to advanced users who exercise caution when testing
their scripts.
The Import/Export Tool and Content Wizard Tool were installed on your Collector machine during your
VCM installation.
20
VMware, Inc.
Installing and Getting Started with VCM Tools
Run the Import/Export Tool
Use the Import/Export Tool to back up your VCM database business objects and import them into a new
VCM database or into a recovered VCM database. This tool also supports the migration of any VCM
Management Extension for Asset data that was manually added to VCM.
Prerequisit es
Install the Import/Export Tool. See "Installing and Getting Started with VCM Tools" on page 19.
3. For importing and exporting procedures, click Help > Contents and use the online help.
Run the Content Wizard to Access Additional Compliance Content
Use the Content Wizard to import additional VMware content such as VCM Compliance Content
Packages. These packages are not available in VCM until you download and import them. Check the
VCM Compliance Content Packages to determine if you need to import them.
Prerequisit es
Install the Content Wizard. See "Installing and Getting Started with VCM Tools" on page 19.
3. In the Content Wizard, select Get Updates from the Internet and click Next.
4. After the wizard identifies available content, click Next.
5. Select the updates to install on your Collector and click Install.
When the installation is finished, the Event Log Results window appears.
6. On the Event Log Results window, click Save and specify a location to save the logs.
7. Click Close.
8. On the Content Wizard page, click Exit.
What to do next
View the imported data in VCM. For example, click Compliance and select Machine Group Compliance >
Templates. You can now run any imported compliance template against your collected data.
Run the Deployment Utility
The Deployment Utility for UNIX/Linux and ESX/vSphere copies files to multiple target machines when
you configure UNIX/Linux and ESX/vSphere machines for management in VCM.
1. On the Collector, navigate to C:\Program Files (x86)\VMware\VCM\Tools.
2. Copy the DeployUtility-<version>.zip file from the Collector to your Windows machine.
3. Extract the files.
4. Double-click DeployUtil.exe to start the application.
What to do next
In the Deployment Utility, click Help and review the procedure for the type of machine you are
configuring.
Package Studio
Use Package Studio to create software packages that can be installed by VCM. It is one component of
VCM Software Provisioning that includes the Software Repository for Windows and the Package
Manager.
For procedures to run the Package Studio, see the Software Provisioning Components Installation and User'sGuide.
Foundation Checker
Use the Foundation Checker tool to verify that a Windows machine designated as a VCM Collector meets
all of the prerequisites necessary to install VCM.
Installation Manager uses VCM Foundation Checker to check a machine’s viability for a successful VCM
deployment. Foundation Checker runs system checks that determine various conditions, settings, and
requirements, and displays a results file that displays the system checks that passed, failed, or generated
warnings.
If the checks run without error, you can install VCM. If the checks identify missing components or
incorrect configurations, Foundation Checker instructs you where to verify the component or
configuration and how to remedy the errors.
To run the Foundation Checker on a Windows machine on which you will install another instance of
VCM, see the Foundation Checker User's Guide.
22
VMware, Inc.
Configuring VMware Cloud Infrastructure
VCM collects information from your instances of vCenter Server, vCloud Director, and vShield Manager
so that you can then use the information to manage and maintain your virtual environment.
The collected data appears in the Console under the Virtual Environments node. The information is
organized in logical groupings based on the information sources, including vCenter Server, vCloud
Director, and vShield Manager.
Based on the collected virtual environments data, you can manage the objects and data at an enterprise
and individual level, including running compliance rules and reports; running actions, such as changing
settings and taking virtual machine snapshots; and managing the guest operating systems as fully
managed VCM machines.
This chapter includes the following topics:
Virtual Environments Configuration23
Configure Virtual Environments Collections25
Configure Managing Agent Machines26
Obtain the SSL Certificate Thumbprint29
Configure vCenter Server Data Collections30
Configure vCenter Server Virtual Machine Collections35
Configure vCloud Director Collections37
Configure vCloud Director vApp Virtual Machines Collections41
Configure vShield Manager Collections46
Configure ESX Service Console OS Collections50
Configure the vSphere Client VCM Plug-In56
3
Virtual Environments Configuration
To manage your virtual environments, you collect vCenter Server, vCloud Director, and vShield Manager
data. To collect the data, you use one or more Managing Agent machines.
After configuring your Managing Agent machines, you add and configure your vCenter Server, vCloud
Director, and vShield Manager instances in VCMto use the Managing Agent for communication. For a
diagram illustrating how the components are configured together, see Figure 3–1. Virtual Environments
The Managing Agent machines must have the 5.5 Agent or later installed. They must also be configured to
manage the secure communication between the vCenter Server, vCloud Director, and vShield Manager
instances and the Collector. Depending on the size of your Cloud Infrastructure environment, you can use
your Collector as a Managing Agent or you can use another Windows machine. If your individual vCenter
Server instances manage no more than 1–30 hosts and a maximum of 1000 guests, then you can use the
Collector as your Managing Agent. If any of your vCenter Server instances exceed this amount, you must
use a Windows machine that is not your Collector as a Managing Agent.
24
VMware, Inc.
Configuring VMware Cloud Infrastructure
CAUTION Do not use the Windows machines on which your vCenter Server instances are running
as Managing Agent machines.
Managing vCenter Server Instances, Hosts, and Guest Virtual Machines
You collect data from vCenter Server instances regarding resources managed by the vCenter Server, and
to identify and manage the host and guest machines. The host and guest machines are managed based on
configured vCenter Server instances. From VCM, you can run vCenter Server actions such as configuring
settings, turning the power on and off, or taking a snapshot. To fully manage the guest machines, install
the VCM Agent on the virtual machines and manage their operating system.
Managing Instances of vCloud Director and vApp Virtual Machines
You collect data from vCloud Director instances regarding their configurations, resources managed by
vCloud Director, and to identify and manage the vApp virtual machine guest operating systems. To fully
manage the guest machines, you install the VCM Agent on the virtual machines and manage their
operating system.
Managing vShield Manager Instances
You collect from vShield Manager instances to gather data regarding vShield App security groups. You
can run reports on the collected data.
Configure Virtual Environments Collections
To manage your virtual environments, configure your Managing Agent and then implement the
procedures that suit your environment.
Procedu re
1. "Configure Managing Agent Machines" on page 26
The Managing Agents are one or more physical or virtual machine running a supported Windows
operating system that manages the communication between the Collector and your instances of
vCenter Server, vCloud Director, and vShield Manager.
2. "Obtain the SSL Certificate Thumbprint" on page 29
When configuring the settings for your virtual environments systems, you can use an SSL certificate
thumbprint file to ensure secure communication between the Collector and your instances of vCenter
Server, vCloud Director, and vShield Manager.
3. "Configure vCenter Server Data Collections" on page 30
Collect data from your vCenter Server so that you can identify and manage your virtual
environments, including ESX and ESXi hosts, and guest virtual machines.
4. "Configure vCenter Server Virtual Machine Collections" on page 35
Configure virtual machine collections so that you can identify and manage the guest operating
systems on the vCenter Server virtual machines.
VMware, Inc.
5. "Configure vCloud Director Collections" on page 37
Configure collections from your vCloud Director instances so that you can run compliance and
reports, and identify your vApp virtual machines.
6. "Configure vCloud Director vApp Virtual Machines Collections" on page 41
Collect vCloud Director data so that you can identify and manage the guest operating systems of the
vApp virtual machines.
7. "Configure vShield Manager Collections" on page 46
Configure collections from your vShield Manager instances so that you can run reports on the
collected data.
8. "Configure ESX Service Console OS Collections" on page 50
The ESX Service Console OS Linux data type data and the ESXlogs are collected directly from the ESX
operating systems, not from vCenter Server. Configure the ESX servers so that you can collect the
Linux data type and ESX log data from the ESX service console operating system.
9. "Configure the vSphere Client VCM Plug-In" on page 56
The vSphere Client VCM Plug-In provides contextual access to VCM change, compliance, and
management functions. It also provides direct access to collected vCenter Server, virtual machine host,
and virtual machine guest data.
Configure Managing Agent Machines
The Managing Agents are one or more physical or virtual machine running a supported Windows
operating system that manages the communication between the Collector and your instances of vCenter
Server, vCloud Director, and vShield Manager.
The Managing Agent machines must have the 5.5 Agent or later installed. They must also be configured to
manage the secure communication between the vCenter Server, vCloud Director, and vShield Manager
instances and the Collector. Depending on the size of your Cloud Infrastructure environment, you can use
your Collector as a Managing Agent or you can use another Windows machine. If your individual vCenter
Server instances manage no more than 1–30 hosts and a maximum of 1000 guests, then you can use the
Collector as your Managing Agent. If any of your vCenter Server instances exceed this amount, you must
use a Windows machine that is not your Collector as a Managing Agent.
CAUTION Do not use the Windows machines on which your vCenter Server instances are running
as Managing Agent machines.
Procedu re
1. "Collect Machines Data From the Managing Agent Machines" on page 27
Collect data from your Managing Agent machines to ensure that VCM identifies the Windows
machines as licensed and that the 5.5 Agent or later is installed.
2. "Set the Trust Status for Managing Agent Machines" on page 27
You set the trusted status is on machines where you verify that the connection is legitimate. When you
set the trust status, you are marking the Agent certificate as trusted.
3. "Configure HTTPS Bypass Setting" on page 28
If your Collector is not configured to use HTTPS, you must configure the Collector to allow HTTP
communication when entering sensitive parameter values.
4. "Enable Managing Agent Machines" on page 28
Managing Agent machines must be enabled to perform the necessary communication with your
instances of vCenter Server, vCloud Director, and vShield Manager.
26
VMware, Inc.
Configuring VMware Cloud Infrastructure
Collect Machines Data From the Managing Agent Machines
Collect data from your Managing Agent machines to ensure that VCM identifies the Windows machines
as licensed and that the 5.5 Agent or later is installed.
The Managing Agent is the Agent used to collect data from your instances of vCenter Server, vCloud
Director and vShield Manager.
Prerequisit es
Verify that the Windows machine that you designated as the Managing Agent is licensed and that it has
the VCM Agent 5.5 or later installed. See "Configure Windows Machines" on page 87.
3. Select the Managing Agent machines and click Collect on the VCM toolbar.
4. On the Collection Type page, select Machine Data and click OK.
5. On the Machines page, verify that the Selected list includes the Managing Agent machine and click
Next.
6. On the Data Types page, expand Windows.
7. Select Machines, and click Next.
8. On the Important page, resolve any conflicts and click Finish.
9. When the job finishes, verify that the Agent Version value in the data grid is 5.5 or later.
What to do next
Configure the trust status for the Managing Agents. See "Set the Trust Status for Managing Agent
Machines" on page 27.
Set the Trust Status for Managing Agent Machines
You set the trusted status is on machines where you verify that the connection is legitimate. When you set
the trust status, you are marking the Agent certificate as trusted.
When you transmit sensitive information, such as credentials, between the Collector and physical or
virtual machines on which the Managing Agent is installed, the Agent certificate, including the Agent
certificate on the Collector, must be trusted.
If you do not use this level of security, you can set the Allow sensitive parameters to be passedto agents not verified as Trusted option to Yes. To override the setting, click Administration
and select Settings > General Settings > Collector.
Prerequisit es
Ensure that you collected the Machines data type from the Windows machines you are using as Managing
Agents. See "Collect Machines Data From the Managing Agent Machines" on page 27.
3. Select the Managing Agent machines and click Change Trust Status.
4. Add any additional machines to trust to the lower data grid.
5. Select Check to trust or uncheck to untrust the selected machines and click Next.
6. Review the number of machines affected and click Finish.
What to do next
n
If your Collector is not configured to use HTTPS, set the HTTPS bypass. See "Configure HTTPS Bypass
Setting" on page 28.
n
Identify the Windows machines as Managing Agents. See "Enable Managing Agent Machines" on page
28.
Configure HTTPS Bypass Setting
If your Collector is not configured to use HTTPS, you must configure the Collector to allow HTTP
communication when entering sensitive parameter values.
If your Collector is configured to use HTTPS, you do not need to modify this setting.
Procedu re
1. Click Administration.
2. Select Settings > General Settings > Collector.
3. Select Allow HTTP communication (HTTPS bypass) when entering sensitive parameter values and
click Edit Settings.
4. Select Yes and click Next.
5. Review the summary and click Finish.
What to do next
Identify the Windows machines as Managing Agents. See "Enable Managing Agent Machines" on page 28.
Enable Managing Agent Machines
Managing Agent machines must be enabled to perform the necessary communication with your instances
of vCenter Server, vCloud Director, and vShield Manager.
Prerequisit es
n
Ensure that the Managing Agent machines are trusted machines. See "Set the Trust Status for Managing
Agent Machines" on page 27.
n
If your Collector is not configured to use HTTPS, set the HTTPS bypass. See "Configure HTTPS Bypass
3. Select the Managing Agent machines and click Change Managing Agent Status.
4. Add any additional machines to the lower data grid.
5. Select Enable - allow the selected machines to be used as managing agents and click Next.
6. Review the number of machines affected and click Finish.
What to do next
n
To maintain secure communication, you need the SSLcertificates from your instances of vCenter
Server, vCloud Director, and vShield Manager. See "Obtain the SSL Certificate Thumbprint" on page 29.
n
Configure the collections from your instances of vCenter Server, vCloud Director, and vShield
Manager.
n
See "Configure vCenter Server Data Collections" on page 30.
n
See "Configure vCloud Director Collections" on page 37.
n
See "Configure vShield Manager Collections" on page 46.
Obtain the SSL Certificate Thumbprint
When configuring the settings for your virtual environments systems, you can use an SSL certificate
thumbprint file to ensure secure communication between the Collector and your instances of vCenter
Server, vCloud Director, and vShield Manager.
You can use this procedure to copy and save the thumbprint in advance of configuring the settings, or you
can follow the process while you are using the wizard.
This procedure applies when your certificates are not properly trusted. If your certificates are configured
and trusted, you must log onto the target machine to retrieve the thumbprint from the certificate store.
Prerequisit es
Ensure that you have network access to the target instances of vCenter Server, vCloud Director, and
vShield Manager from which you need the thumbprint string.
Procedu re
1. Open Internet Explorer.
2. In the address bar, type https:\\<your vcenter server, vcloud director, or vshieldmanager instance>.
3. On the certificate error page, click Continue to this website.
4. On the address bar, click Certificate Error and select View Certificates.
5. Click the Details tab.
VMware, Inc.
6. In the list, select Thumbprint.
7. Copy the thumbprint string to your clipboard or to a file so that you can access it when needed.
Collect data from your vCenter Server so that you can identify and manage your virtual environments,
including ESX and ESXi hosts, and guest virtual machines.
Prerequist es
n
Configure your Managing Agent machines. See "Configure Managing Agent Machines" on page 26.
n
To maintain secure communication, you need the SSLcertificates from your instances of vCenter
Server. See "Obtain the SSL Certificate Thumbprint" on page 29.
Procedu re
1. "Add vCenter Server Instances" on page 30
Add the vCenter Server instances to VCM so that you can license and collect vCenter Server data
using the Managing Agent.
2. "Configure the vCenter Server Settings" on page 31
Configure the Managing Agent, communication, and vCenter Server access options so that VCM can
collect host and guest data from the vCenter Server instances.
3. "Collect vCenter Server Data" on page 32
Collect the vCenter Server, host, and guest data from the vCenter Server instances. The data is
displayed by detailed data type and appears in the VCM Console.
The collectedvCenter Server data appears in the Console in the Virtual Environments node. The collected
vCenter Server data helps you identify and manage vCenter Server, host, and guest objects. See " vCenter
Server Collection Results" on page 33.
Add vCenter Server Instances
Add the vCenter Server instances to VCM so that you can license and collect vCenter Server data using
the Managing Agent.
In addition to adding the vCenter Server instances, and you can also add the Windows machine on which
the vCenter Server is installed and manage the underlying Windows operating system.
Prerequisit es
Know the names and domain information for the vCenter Server instances in your environment.
Procedu re
1. Click Administration.
2. Select Machines Manager > Available Machines.
3. Click Add Machines.
4. On the Add Machines page, select Basic: Name, Domain, Type, Automatically license machines, and
click Next.
5. On the Manually Add Machines - Basic page, configure these options to identify the vCenter Server
instances.
30
VMware, Inc.
Configuring VMware Cloud Infrastructure
OptionDescription
MachineName of the vCenter Server.
DomainDomain to which the vCenter Server belongs.
TypeDomain type.
Machine TypeSelect vCenter (Windows).
6. Click Add.
The machine information is added to the list.
7. (Optional) Add other vCenter Server instances as needed.
8. When all your vCenter Server are added to the list, click Next.
9. On the Information page, review the summary and click Finish.
What to do next
n
Configure the vCenter Server settings. See "Configure the vCenter Server Settings" on page 31.
n
Manage the Windows operating systems on which vCenter Server instances are running. See
"Configure Windows Machines" on page 87.
Configure the vCenter Server Settings
Configure the Managing Agent, communication, and vCenter Server access options so that VCM can
collect host and guest data from the vCenter Server instances.
Prerequisit es
n
Collect Machines data from the Windows machine that you designated as your Managing Agent. See
"Collect Machines Data From the Managing Agent Machines" on page 27.
n
If you are using SSL Certificates to maintain secure communication, you must provide the certificate
thumbprint from the target system when configuring the settings. See "Obtain the SSL Certificate
3. Select the vCenter Server instances and click Configure Settings.
4. On the Virtual Environment page, verify that the vCenter Server instances appear in the lower pane
and click Next.
5. On the Managing Agent and Communication Settings page, configure the settings that are applied to
all selected vCenter Server instances and click Next.
OptionDescription
VMware, Inc.
Managing AgentSelect the Windows machine to manage
communication between the Collector and the
vCenter Server instances.
PortType the port used by the VMware Infrastructure
User IDType a vCenter Server instance user name.
PasswordType the password for the vCenter Server
Confirm PasswordType the password again.
Ignore untrusted SSL CertificateSelect one of the following certificate options.
or later installed.
You can use the Collector as your managing
agent.
SDK on the vCenter Server instances.
The default value is 443.
The user must have a vCenter Server
administrative role or an unrestricted read only
role.
instance user ID.
n
Yes: Ignores the requirement for a valid signed
certificate.
n
No: Requires a valid signed certificate.
6. If you selected No on the Managing Agent and Communication Settings page, you must type or paste
the thumbprint string in the text box and click Next.
7. On the Important page, click Finish.
What to do next
Collect vCenter Server data. See "Collect vCenter Server Data" on page 32.
Collect vCenter Server Data
Collect the vCenter Server, host, and guest data from the vCenter Server instances. The data is displayed
by detailed data type and appears in the VCM Console.
Prerequisit es
Configure the vCenter Server settings. See "Configure the vCenter Server Settings" on page 31.
3. Select the vCenter Server instances and click Collect on the VCM toolbar.
4. On the Collection Type page, select Machine Data and click OK.
5. On the Machines page, verify that the Selected list includes all the vCenter Server instances from which
you are collecting and click Next.
6. On the Data Types page, select the Virtualization vCenter Server data types that you want to collect
from the vCenter Server instances and click Next.
7. On the Important page, resolve any conflicts and click Finish.
32
VMware, Inc.
Configuring VMware Cloud Infrastructure
What to do next
n
Review the collected virtualization data. Click Console and select Virtual Environments > vCenter.
n
(Optional) Schedule vCenter Server collections. See "Configure vCenter Server Scheduled Collections"
on page 33.
vCenter Server Collection Results
The collectedvCenter Server data appears in the Console in the Virtual Environments node. The collected
vCenter Server data helps you identify and manage vCenter Server, host, and guest objects.
OptionDescription
ConsoleView the Virtual Environments dashboards. Click Click Console and select
Dashboards > Virtual Environments.
View the collected vCenter Server data. Click Console and select Virtual
Environments > vCenter to access the collected data.
View the change logs for the virtual environments. Click Console and select
Change Management to access the collected data.
ComplianceAccess compliance rules that you create based on the collected vCenter Server
data using the Virtual Environment Compliance node. You cannot create
enforceable compliance rules for vCenter Server data.
The compliance rules for the virtual machines you license and on which you
install the Agent are managed in the Machine Group Compliance node.
ReportsRun configured Virtual Environments reports, including a vCenter Summary
report. Click Reports and select Machine Group Reports > VirtualEnvironments.
Create reports based collected vCloud Director objects. Click Reports and
select Virtual Object Reports.
AdministrationDisplays managed vCenter Server instances from which you are collecting
data.
Click Administration and select Machines Manager > Licensed Machines >Licensed Virtual Environments to view licensed vCenter Server instances.
Administration >
Machine Groups
Dynamic machine groups based on vCenter Server objects. These objects
include instances, hosts, and guest machines, and are used to limit the
displayed data.
Configure vCenter Server Scheduled Collections
Configure VCM to regularly collect vCenter Server data from your vCenter Server machine groups to
ensure that you are using current results when you are viewing the data and when running reports or
compliance.
This action is not required, but scheduling your collections improves your configuration management
efficiency.
1. "Create a vCenter Server Machine Group" on page 34
Create a Windows machine group that contains your vCenter Server instances so that you can run
collections on the member machines.
2. "Schedule vCenter Server Collections" on page 34
Schedule the collection job to run against your vCenter Server machine group with the the Default
filter set applied so that you regularly collect the vCenter Server and Windows data from the vCenter
Server instances.
Create a vCenter Server Machine Group
Create a Windows machine group that contains your vCenter Server instances so that you can run
collections on the member machines.
Procedu re
1. Click Administration.
2. Select Machines Manager > Machine/Virtual Object Groups > All Windows Machines.
3. Click Add Group.
4. Type the name and description of the machine group and click Next.
For example, type the name vCenter Server Instances.
5. Select Static and click Next.
6. Add the Windows machines that are running vCenter Server to the Selected list and click Next.
7. Click Finish.
The group is added to the All Windows Machine list.
What to do next
Schedule the collection of the vCenter Server data types from the vCenter Server instances. See "Schedule
vCenter Server Collections" on page 34.
Schedule vCenter Server Collections
Schedule the collection job to run against your vCenter Server machine group with the the Default filter
set applied so that you regularly collect the vCenter Server and Windows data from the vCenter Server
instances.
Prerequisit es
Create a Windows machine groups that includes the machines that are running vCenter Server. See
"Create a vCenter Server Machine Group" on page 34.
34
VMware, Inc.
Procedu re
1. Click Administration.
2. Select Job Manager > Scheduled.
3. Click Add.
4. Select Collection and click Next.
5. Type a job name and description and click Next.
For example, vCenter Server Collections.
6. Select Default filter set and click Next.
7. Select your vCenter Server machine group and click Next.
For example, vCenter Server Instances.
8. Configure when the collection job runs and click Next.
For example, every four hours starting today.
9. Resolve any conflicts and click Finish.
The collection job is added to your Scheduled Jobs list.
Configuring VMware Cloud Infrastructure
What to do next
After a scheduled run time, verify that the job ran. The information is available in Job Manager history for
scheduled collections. Select the time and review the general status and success. View the machine detail
status if the collection was not 100% successful.
Configure vCenter Server Virtual Machine Collections
Configure virtual machine collections so that you can identify and manage the guest operating systems on
the vCenter Server virtual machines.
VCM manages virtual machines as guest machines and as Windows, Linux, or UNIX machines. To manage
the virtual machines as guest machines, you collect vCenter Guests data from your vCenter Server. To
manage the virtual machines based on operating system, you license, install the VCM Agent, and collect
data directly from the managed machines.
You can identify the virtual machines in your environment two ways.
n
Collect vCenter Guests data from you vCenter Servers and manage the virtual Windows, Linux, or
UNIX machines. See "Collect vCenter Server Virtual Machines Data" on page 35.
n
Manually discover Windows Machines or add Linux or UNIX machines. For Windows machines, see
"Discover Windows Machines" on page 89. For Linux or UNIX machines, see "Add UNIX/Linux
Machines" on page 122.
Collect vCenter Server Virtual Machines Data
Identify and license your virtual machines that are identified based on collected vCenter Guests data.
Prerequisit es
Manage your vCenter Servers in VCM. See "Configure vCenter Server Data Collections" on page 30.
3. Select the vCenter Servers and click Collect on the VCM toolbar.
4. On the Collection Type page, select Machine Data and click OK.
5. On the Machines page, verify that the Selected list includes all the vCenter Servers from which you are
collecting and click Next.
6. On the Data Types page select Virtualization > vCenter Guests and click Next.
7. On the Important page, resolve any conflicts and click Finish.
What to do next
License your virtual machines. See "Manage vCenter Server Virtual Machines " on page 36.
Manage vCenter Server Virtual Machines
Add and license the virtual machines identified based on a vCenter Guests collection from your vCenter
Servers. If you are managing Windows virtual machines, you can also install the VCM Agent.
Using the Manage Guests wizard, you can add the virtual machines to the appropriate Available Machines
data grid based on operating system, license the virtual machine based on operating system, or, for
Windows machines, license and install the Agent.
Prerequisit es
Collect vCenter Guests data from your vCenter Servers. See "Collect vCenter Server Virtual Machines
3. Select either your Windows virtual machines or your UNIX/Linux virtual machines and click ManageGuests.
4. On the Default Domain page, configure the options and click Next.
a. Specify the Domain in which the machines are running.
b. Select the Domain Type.
5. On the Edit VMGuest Machine Info page, review the list and update or remove virtual machines, and
click Next.
6. On the License VMGuests page, configure the options and click Next.
a. Select License the selected machines.
b. (Windows machines only) Select Install VCMagents for the selected Windows machines, and
click Next.
7. On the Confirm Your Changes page, review the changes and click Finish.
36
VMware, Inc.
What to do next
n
For Windows operating system guest machines on which you installed the Agent, collect from the
Windows virtual machines. See "Collect Windows Data" on page 97. If you did not install the Agent, see
"Install the VCM Windows Agent on Your Windows Machines" on page 91.
n
For UNIX/Linux operating system guest machines you must install the Agent. See "Install the Agent on
UNIX/Linux Machines" on page 124.
Configure vCloud Director Collections
Configure collections from your vCloud Director instances so that you can run compliance and reports,
and identify your vApp virtual machines.
Prerequist es
n
Configure your Managing Agent machines. See "Configure Managing Agent Machines" on page 26.
n
To maintain secure communication, you need the SSLcertificates from your instances of vCloud
Director. See "Obtain the SSL Certificate Thumbprint" on page 29.
Procedu re
1. "Add vCloud Director Instances" on page 37
Configuring VMware Cloud Infrastructure
Add the instances of vCloud Director to VCM so that you can license and collect vCloud Director data
using the Managing Agent.
2. "Configure the vCloud Director Settings" on page 38
Configure the Managing Agent, communication, and vCloud Director access options so that VCM can
collect virtual machine data from your instances of vCloud Director.
3. "Collect vCloud Director Data" on page 39
Collect the data from the instances of vCloud Director. The data is displayed by detailed data type and
appears in the VCM Console.
The collected vCloud Director data appears in the Console in the Virtual Environments node. The data
helps you identify and manage vApp virtual machines. See "vCloud Director Collection Results" on page
40.
Add vCloud Director Instances
Add the instances of vCloud Director to VCM so that you can license and collect vCloud Director data
using the Managing Agent.
In addition to adding the instances of vCloud Director, and you can also add the Red Hat machine on
which the vCloud Director instance is installed and manage the underlying Red Hat operating system.
Prerequisit es
Know the names and domain information for the instances of vCloud Director in your environment.
4. On the Add Machines page, select Basic: Name, Domain, Type, Automatically license machines, and
click Next.
5. On the Manually Add Machines - Basic page, configure these options to identify the instances of
vCloud Director.
OptionDescription
MachineName of the vCloud Director instance.
DomainDomain to which the vCloud Director instance belongs.
TypeDomain type.
Machine TypeSelect vCloud Director.
6. Click Add.
The machine information is added to the list.
7. (Optional) Add other instances of vCloud Director as needed.
8. When all your instances of vCloud Director are added to the list, click Next.
9. On the Information page, review the summary and click Finish.
What to do next
n
Configure the vCloud Director settings. See "Configure the vCloud Director Settings" on page 38.
n
Manage the Red Hat operating systems on which your vCloud Director instances are running. See
"Configure Linux and UNIX Machines" on page 121.
Configure the vCloud Director Settings
Configure the Managing Agent, communication, and vCloud Director access options so that VCM can
collect virtual machine data from your instances of vCloud Director.
Prerequisit es
n
Collect Machines data from the Windows machine that you designated as your Managing Agent. See
"Collect Machines Data From the Managing Agent Machines" on page 27.
n
If you are using SSL Certificates to maintain secure communication, you must provide the certificate
thumbprint from the target system when configuring the settings. See "Obtain the SSL Certificate
3. Select the vCloud Director instances and click Configure Settings.
4. On the Virtual Environment page, verify that the vCloud Director instances appear in the lower pane
and click Next.
5. On the Managing Agent and Communication Settings page, configure the settings that are applied to
all selected vCloud Director instances and click Next.
OptionDescription
Managing AgentSelect the Windows machine to manage
communication between the Collector and the
vCloud Director instances.
This Windows machine must have the 5.5 Agent
or later installed.
You can use the Collector as your managing
agent.
PortType the port used by the API on the vCloud
Director instance.
The default value is 443.
User IDType a vCloud Director instance user name.
The user must have a vCloud Director
administrative role or an unrestricted read only
role. Use a full vCloud Director administrative
user, such as administrator@system.
PasswordType the password for the vCloud Director
instance user ID.
Confirm PasswordType the password again.
Ignore untrusted SSL CertificateSelect one of the following certificate options.
n
Yes: Ignores the requirement for a valid signed
certificate.
n
No: Requires a valid signed certificate.
6. If you selected No on the Managing Agent and Communication Settings page, you must type or paste
the thumbprint string in the text box and click Next.
7. On the Important page, click Finish.
What to do next
Collect vCloud Director data. See "Collect vCloud Director Data" on page 39.
Collect vCloud Director Data
Collect the data from the instances of vCloud Director. The data is displayed by detailed data type and
appears in the VCM Console.
3. Select the vCloud Director instances and click Collect on the VCM toolbar.
4. On the Collection Type page, select Machine Data and click OK.
5. On the Machines page, verify that the Selected list includes all the vCloud Director instances from
which you are collecting and click Next.
6. On the Data Types page, select the Virtualization vCloud Director data type that you want to collect
from the vCloud Director instances and click Next.
7. On the Important page, resolve any conflicts and click Finish.
What to do next
Review the collected virtualization data. Click Console and select Virtual Environments > vCloud
Director.
Discover the vApp virtual machines created by the vCloud Director and make them available in VCM. See
"Discover vCloud Director vApp Virtual Machines" on page 43.
vCloud Director Collection Results
The collected vCloud Director data appears in the Console. The discovered virtual machines appear on
Administration. After you license the virtual machines and install the Agent, you manage them based on
their operating system.
The displayed data is only as current as the last time you collected data from your vCloud Director
instances and from your managed machines.
OptionDescription
ConsoleView collected vCloud Director instance data. Click Console and
selectVirtual Environments > vCloud Director.
View the change logs for the virtual environments. Click Console and
select Change Management to access the collected data.
ComplianceAccess compliance rules that you create based on the collected vCloud
Director data using the Virtual Environment Compliance node. You
cannot create enforceable compliance rules for vCloud Director data.
The compliance rules for the virtual machines that you license and on
which you install the Agent are managed in the Machine Group
Compliance node.
ReportsRun a configured vCloud Director report. Click Reports and select
Machine Group Reports > Virtual Environments > vCloud Director
Managed VMs. The report includes the vCloud Director Instance,
Organization, Organization virtual datacenter, vApp Name, the VC
Machine Name, and the related networking data.
Create reports based collected vCloud Director objects. Click Reports
and select Virtual Object Reports.
40
VMware, Inc.
Configuring VMware Cloud Infrastructure
OptionDescription
AdministrationDisplays managed vCloud Director instances from which you are
Displays the discovered virtual machines with a machine name that is
based on your configuration options in the discovery rule.
For example, OrgName:vAppName:VirtualMachineName.
Click Administration and select Machines Manager.
n
If the machines are not licensed and the Agent is not installed, the
machines appear in the Available Machines data grid based on the
operating system.
n
If the machines are licensed and the Agent is installed, the machines
appear in the Licensed Machines data grid based on the operating
system.
Administration >
Machine Groups
Dynamic machine groups based on vCloud Director objects, including
instances and guest machines, are used to limit the displayed data.
Configure vCloud Director vApp Virtual Machines Collections
Collect vCloud Director data so that you can identify and manage the guest operating systems of the
vApp virtual machines.
To accommodate how vCloud Director manages vApps, which can include duplicate names, IP addresses,
and MAC addresses, VCM collects and displays internal and external IP address information, internal
machine name information, and vCenter machine name information collected directly from vCloud
Director. Based on the collected data, you determine how VCM constructs a unique virtual machine name
and specify which IP address to use based on the network address translation (NAT) mapping level.
To identify the vCloud Director virtual machines, you configure discovery rules that analyze data collected
from the vCloud Director REST API and use the vApp virtual machine information to add new virtual
machines to VCM. After installing the Agent and licensing the virtual machines, you manage the new
machines based on their operating systems. The machines appear in VCM based on your configured
naming convention.
Network Address Translation and vCloud Director vApp Discovery Rules
To configure the connection string when creating a vCloud Director virtual machines discovery rule, you
must know how network address translation (NAT) is implemented in your vCloud Director instances.
The vCloud Director administrator configures the NATmapping. How the virtual machines are
configured with NATand where VCM is in the network determines the connection string that VCM uses
to communicate with the virtual machines.
vCloud Director 1.0 and 1.5 support a variety of vApp network configurations. VCM supports these
scenarios.
VCM is located in the vApp with the virtual machines that it is managing.
n
The vApp has a direct connection to the org network.
n
The vApp has a direct connection to the external network.
n
The vApp has a one-to-one IP address NAT connection to the organization network with direct
connection to the external network.
n
The vApp has a one-to-one IP address NAT connection to the organization network with a one one-toone IP address NAT connection to the external network.
n
The vApp has a direct connection to the organization network with one IP address to one IP address
NAT connection to the external network.
VCM does not support one to many IP addresses NAT mapping for vCloud Director vApp virtual
machines.
To determine the connection string to use when discovering the vCloud Director virtual machines, you
must know where VCM is located in the network and how NAT is implemented.
Table 3–1. Determining the Connection String Based on Network Configuration
Location of
VCM or the
Proxy Server
on the
Network
External NetworkOrganization NetworkDiscovery
Rule
Con nection
String
In the
NANAInternal IP
managed
vApp
On Org
Network
NADirect connection.None (use
DNS) or
Internal IP
On Org
Network
On External
NANATat vApp level.vApp
External IP
Direct ConnectionNot connected or direct connection.Internal IP
Network
On External
Network
On External
Network
Direct from
NAT at vApp level.vApp
Organization
NAT at Org levelThe vApp level IPis collected from
vCloud Director, but it is not used for
External IP
Org External
IP
the VCM connection.
After you collect the vCloud Director data, you can view the internal and external IP addresses in network
information for the virtual machines.
Best Practice
VCM cannot use DCOM to communicate with vCloud Director vApp virtual machines across NAT
mapped networks.
42
VMware, Inc.
Configuring VMware Cloud Infrastructure
In a NATmapped network environment, your best practice is to install the Agent on the vApp template
machines. You must manually install the Agent with the HTTP mode enabled, but you must not collect
data from these template machines. Collecting from the template machines generates machine-specific
information that will cause the virtual machines created from the template to run incomplete collections.
If you discovered NAT mapped vApp virtual machines that do not have the Agent preinstalled on the
templates from which they were created, you must manually install the Agent. The Agent must be
installed with the HTTP protocol enabled. See "Manually Install the VCM Windows Agent" on page 93.
Discover vCloud Director vApp Virtual Machines
To begin managing the vCloud Director vApp virtual machines, create and run a VCM discovery rule.
The rule runs against the collected vCloud Director data in the VCM database.
Prerequisit es
n
Collect vCloud Director data. You can run the discovery only on the collected data. See "Collect vCloud
Director Data" on page 39.
n
Determine how NATis used in your vCloud Director network and where VCM is located in
relationship to the network. See "Network Address Translation and vCloud Director vApp Discovery
Rules" on page 41.
Procedu re
1. Click Administration.
2. Select Machines Manager > Discovery Rules.
3. On the data grid toolbar, click Add.
4. On the Discovery Rules page, type a Name and Description, and click Next.
5. On the Discovery Method page, select By DB Discovery and click Next.
6. On the Discovery Query page, in the Discovery Query drop-down menu, select vCloud DirectorManaged VMs and click Next.
7. On the Discovery Query Parameters page, configure the options to use when discovering and adding
the data to VCM and click Next.
OptionDescription
Machine
Name
Format
Select the format used to display the virtual machine name.
You can select the vCenter name for the virtual machine or select a combination
of names for the virtual machine that includes the vApp that contains the virtual
machine, the vCloud Director organization, and the vCloud Director instance.
With these formats, you can easily sort, group, and display the data in VCM.
The composite name is limited to 128 characters.
n
VCName: Name of the virtual machinein vCenter. vCloud Director creates the
virtual machine and generates the name of the virtual machine, which includes
the machine's host name and the 10-digit identification number of the virtual
machinein vCenter. This name is unique in a single vCloud Director instance.
VMware, Inc.
n
vApp:VCName: Name of the vApp that contains the virtual machine and the
name of the virtual machinein vCenter.
n
vDC:vApp:VCName: Name of the virtual datacenter with the vApp name and
Org:vDC:vApp:VCName: Name of the vCloud Director organization with the
virtual datacenter name, the name of the vApp that contains the virtual
machine, and the name of the virtual machinein vCenter.
n
Cloud:Org:vDC:vApp:VCName: Name of the vCloud Director instance with
the name of the vCloud Director organization, the virtual datacenter name, the
name of the vApp that contains the virtual machine, and the name of the
virtual machinein vCenter.
Machine
Name
Select a character to separate the elements of the vCloud Director hierarchy that
you use as the machine name.
Delimiter
Domain
Type or select the domain in which you are managing the virtual machines.
Name
Domain
Select the type of domain to which you are adding the virtual machines.
Type
ProtocolSelect the protocol by which the Collector will communicate with the Agent.
If the virtual machines in the vApp uses NAT mapping, you must select HTTP. If
the virtual machines do not use NAT, you can use HTTP or DCOM.
HTTPPortIf you selected the HTTP protocol, you must specify the port used to communicate
with the Collector.
Uses the HTTP Listener on the target machine. The listener is configured to listen
on the designated port. Port 26542 is the default setting. Accepted port values
range from 1–65535. Other applications should not use this port.
Use a
proxy
server
Select Yes if you use a proxy server for communication between the Collector and
the Agents on the virtual Windows machines.
Select No if you do not use a proxy server or if you are managing UNIX/Linux
machines.
If the machines you add are Windows machines, you can select a proxy server for
communication between the Collector and the Agents on managed machines that
are located on the other side of a proxy server. The proxy server routes requests
from the Collector to the Agents on managed machines. A proxy server can only
be used with Windows HTTP agents.
Connection
String
Select the IP address to use when communicating with the virtual machines.
This address can differ from the address that resolves by machine name from
DNS or other name resolution systems. Use this address when VCM must contact
a vApp virtual machine through a Network Address Translation (NAT) address,
or when DNS available to the Collector cannot resolve the vApp virtual machines.
If the virtual machines that appear in the console as part of your vCloud Director
collections are not added as part of your database discovery of vCloud Director
data, ensure that the internal or external connection string is valid for the virtual
machines. If the connection string is set to External IP, you will discover only
machines with external IP addresses.
44
VMware, Inc.
OptionDescription
The connection string depends on the type and level at which NAT mapping is
configured.
n
None (use DNS): The Collector resolves the IP address to the virtual machine
based on the configured name resolution mechanisms. For example, DNS or
Hosts.
n
Internal IP: The IP address that the virtual machine has in the vApp.
n
vApp External IP: The IP address external to the vApp addresses of the virtual
machines that are configured with NAT at the vApp level.
n
Org External IP: The IP address external to the organization addresses of the
virtual machines that are configured with NAT at the organization level or at
the organization and vApp level. If NATis implemented at the vApp and
organization level, select this option.
Configuring VMware Cloud Infrastructure
Cloud
Name
Filter
Org Name
Filter
vDC Name
Filter
vApp
Name
Filter
VM Name
Filter
Network
Name
Filter
To run the query against all system resources in a vCloud Director instance, type
the name of the vCloud Director instance.
SQL wildcard expressions are allowed.
Discovers all virtual machines managed by the vCloud Director instance.
To run the query against an organization in a vCloud Director instance, type the
name of the organization.
SQL wildcard expressions are allowed.
Discovers all virtual machines in the organization.
To run the query against a virtual datacenter in a vCloud Director instance, type
the name of the virtual datacenter.
SQL wildcard expressions are allowed.
Discovers all virtual machines in the virtual datacenter.
To run the query against a vApp, type the name of the vApp.
SQL wildcard expressions are allowed.
Discovers all virtual machines in the vApp.
To run the query to add a specific virtual machine, type the name of the machine.
SQL wildcard expressions are allowed.
Discovers the virtual machine.
To run the query against resources on a particular network, type the name of the
network.
SQL wildcard expressions are allowed.
Discovers all virtual machines on the network.
VMware, Inc.
IP Address
Filter
To run the query to add virtual machines with a particular IP address, type the
address.
SQL wildcard expressions are allowed.
Discovers all virtual machines with that IPaddress.
IncludeSelect Yes to include the properties of this discovery rule to update the connection
string information for the discovered machines when new vCloud Director data is
collected.
Select No to not update the connection string information.
8. On the Important page, select the options and click Finish.
OptionDescription
Would you like to run this
Select Yes.
Discovery Rule now?
License and Install Agent on
Discovered Machines
If you do not use NAT mapping, select the option to install
the Agent.
If you use NATmapping, you must manually install the
Agent on the discovered machines.
What to do next
n
Review the discovery jobs to determine if your job finished. Click Administration and select Job
Manager > History > Other Jobs.
n
Review the collected vCloud Director vApp virtual machine data. Click Administration and select
Machines Manager. In Available Machines and Licensed Machines, select the operating system type
and review the list for the added virtual machines.
n
If the discovered machines are listed only in the Available Machines list and the virtual machines use
NAT mapping, you must manually install the Agent appropriate for the operating system. For
Windows operating systems, see "Manually Install the VCM Windows Agent" on page 93. For Linux or
UNIX operating systems, see "Install the Agent on UNIX/Linux Machines" on page 124.
Configure vShield Manager Collections
Configure collections from your vShield Manager instances so that you can run reports on the collected
data.
Prerequist es
n
Configure your Managing Agent machines. See "Configure Managing Agent Machines" on page 26.
n
To maintain secure communication, you need the SSLcertificates from your instances of vShield
Manager. See "Obtain the SSL Certificate Thumbprint" on page 29.
Procedu re
1. "Add vShield Manager Instances" on page 47
Add the instances of vShield Manager to VCM so that you can license and collect vShield Manager data
using the Managing Agent.
2. "Configure the vShield Manager Settings" on page 47
Configure the Managing Agent, communication, and vShield Manager access options so that VCM can
collect group and group member data from your instances of vShield Manager.
"Collect vShield Manager Data" on page 49
3.
Collect the data from the instances of vShield Manager. The data is displayed by detailed data type and
appears in the VCM Console.
46
VMware, Inc.
Configuring VMware Cloud Infrastructure
The collected vShield Manager data appears in the Console in the Virtual Environments node. See "vShield
Manager Collection Results" on page 49.
Add vShield Manager Instances
Add the instances of vShield Manager to VCM so that you can license and collect vShield Manager data
using the Managing Agent.
Most vShield Manager instances are discovered, added, and licensed. Use this procedure if they are not
added to VCM.
Prerequisit es
n
Ensure that the vCenter Server that each instance of vShield Manager is managing is added to VCM.
See "Add vCenter Server Instances" on page 30.
n
Know the names and domain information for the instances of vShield Manager in your environment.
Procedu re
1. Click Administration.
2. Select Machines Manager > Available Machines.
3. Click Add Machines.
4. On the Add Machines page, select Basic: Name, Domain, Type, Automatically license machines, and
click Next.
5. On the Manually Add Machines - Basic page, configure these options to identify the instances of
vShield Manager.
OptionDescription
MachineName of the instance of vShield Manager.
DomainDomain to which the instance of vShield Manager belongs.
TypeDomain type.
Machine TypeSelect vShield.
6. Click Add.
The machine information is added to the list.
7. (Optional) Add other instances of vShield Manager as needed.
8. When all your instances of vShield Manager are added to the list, click Next.
9. On the Information page, review the summary and click Finish.
What to do next
Configure the vShield Manager settings. See "Configure the vShield Manager Settings" on page 47.
Configure the vShield Manager Settings
Configure the Managing Agent, communication, and vShield Manager access options so that VCM can
collect group and group member data from your instances of vShield Manager.
Collect Machines data from the Windows machine that you designated as your Managing Agent. See
"Collect Machines Data From the Managing Agent Machines" on page 27.
n
If you are using SSL Certificates to maintain secure communication, you must provide the certificate
thumbprint from the target system when configuring the settings. See "Obtain the SSL Certificate
3. Select the instances of vShield Manager and click Configure Settings.
4. On the Virtual Environment page, verify that the vShield Manager instances appear in the lower pane
and click Next.
5. On the Managing Agent and Communication Settings page, configure the settings that are applied to
all selected vShield Manager instances and click Next.
OptionDescription
Managing AgentSelect the Windows machine to manage
communication between the Collector and the
vShield Manager instances.
This Windows machine must have the 5.5 Agent
or later installed.
You can use the Collector as your managing
agent.
PortType the port used by the API on the vShield
Manager instances.
The default value is 443.
User IDType a vShield Manager instance user name.
The user must have a vShield Manager
administrative role or an unrestricted read only
role.
PasswordType the password for the vShield Manager
instance user ID.
Confirm PasswordType the password again.
Ignore untrusted SSL CertificateSelect one of the following certificate options.
n
Yes: Ignores the requirement for a valid signed
certificate.
n
No: Requires a valid signed certificate.
Select vCenter for vShieldSelect the vCenter Server instance managed by this
vShield Manager instance.
48
VMware, Inc.
Configuring VMware Cloud Infrastructure
6. If you selected No on the Managing Agent and Communication Settings page, you must type or paste
the thumbprint string in the text box and click Next.
7. On the Important page, click Finish.
What to do next
Collect vCloud Director data. See "Collect vShield Manager Data" on page 49.
Collect vShield Manager Data
Collect the data from the instances of vShield Manager. The data is displayed by detailed data type and
appears in the VCM Console.
Prerequisit es
Configure the vShield Manager settings. See "Configure the vShield Manager Settings" on page 47.
Dynamic machine groups based on vShield App instances security group
membership and are used to limit the displayed data.
Configure ESX Service Console OS Collections
The ESX Service Console OS Linux data type data and the ESXlogs are collected directly from the ESX
operating systems, not from vCenter Server. Configure the ESX servers so that you can collect the Linux
data type and ESX log data from the ESX service console operating system.
To collect the data, VCM uses an Agent Proxy rather than a VCM Agent installed directly on the ESX and
ESXi machines. To support the Agent Proxy, you must copy required files and certificates on the ESX and
ESXi servers to manage the data collection from those machines.
Perform the required tasks first for ESX servers, and then for ESXi servers.
1. "Configure the Collector as an Agent Proxy" on page 50
The Agent Proxy machine is a Windows machine configured to communicate with ESX and ESXi
servers and to remotely collect data from those servers. The Collector automatically meets the Agent
Proxy requirements. You license the Collector and then collect the Machines data type.
2. "Configure Virtual Machine Hosts" on page 51
License virtual machine hosts to generate a file containing machine names and settings. You use the
generated file to configure the ESX machines for management in VCM.
3. "Copy Files to the ESX/ESXi Servers" on page 53
To import target machine information and copy the required files from VCM, you use the
UNIX/ESX/vSphere Deployment Utility on your Agent Proxy machines.
4. "Collect ESX Logs Data" on page 55
An initial collection of Virtual Environments data identifies your virtual machine hosts and their guest
machines.
You have several options for reviewing and using ESX Logs data in VCM. The data used is only as current
as the last collection, and the amount of time it takes for the data to display is based on the volume or
complexity of the data requested. See "Virtualization Collection Results" on page 55.
Configure the Collector as an Agent Proxy
The Agent Proxy machine is a Windows machine configured to communicate with ESX and ESXi servers
and to remotely collect data from those servers. The Collector automatically meets the Agent Proxy
requirements. You license the Collector and then collect the Machines data type.
NOTE If you manage more than fifty host machines, you must use a separate Windows machine as your
Agent Proxy. Moving the Agent Proxy activity to the separate machine optimizes performance. See
"Configuring Standalone Agent Proxy Machines" in the online Help.
3. Determine whether the Collector machine name appears in the data grid.
If it is listed in the data grid, the machine is licensed. If it is not listed, continue with the licensing
process.
4. License the Collector.
a. Select Machines Manager > Available Machines.
b. Select the Collector in the data grid and click License
c. On the Machines page of the Available Machines License wizard, verify that the Collector machine
name appears in the Selected list and click Next.
d. Review the Product License Details page and click Next.
e. Review the Important page and click Finish.
f. Select Administration > Machines Manager > Licensed Machines > Licensed Windows Machines
to verify that the Collector is now licensed.
g. Click Refresh on the Console toolbar to update the data.
5. Run a collection for machines data to identify the Collector as an available Windows machine.
a. Select Machines Manager > Licensed Windows Machines, select the Collector in the data grid, and
click Collect on the Console toolbar.
b. On the Collection Type page, click Machine Data and click OK.
c. On the Machines page, verify that the Collector machine name appears in the Selected list.
d. Click Select Data Types to collect from these machines and click Next.
e. On the Data Types page, expand the Windows tree and select Machines.
f. Select Use default filters and click Next.
g. Review the Important page and click Finish.
The collection job starts. You can use the Job Manager to determine when the collection is finished.
What to do next
n
When the collection is completed, verify that the Collector machine Agent Proxy State equals Current
Agent. Click Administration and select Machines Manager > Agent Proxies and review the data grid.
n
License and configure the target virtual machine hosts. See "Configure Virtual Machine Hosts" on page
51.
Configure Virtual Machine Hosts
License virtual machine hosts to generate a file containing machine names and settings. You use the
generated file to configure the ESX machines for management in VCM.
All Virtualization data types are collected through Web Services communication except for the VM Logs,
which are collected through SSH and only from ESX machines.
3. Select the ESX host and click Configure Settings.
4. Add the machines to be configured to the lower grid and click Next.
The selected machines will use the same Agent Proxy and the same SSHand Web Services settings.
52
VMware, Inc.
Configuring VMware Cloud Infrastructure
5. Configure the settings on the Agent Proxy and Communication Setting page.
OptionDescription
Agent
Proxy
SSH
Settings
Web
Services
Settings
The configured Agent Proxy used to manage the selected virtual machine host
machines.
This option is required when you are licensing host machines, but it is optional if you
are modifying the settings.
Select the check box to configure the settings for your ESX machines. Configure these
settings so that you can collect ESX Logs data from the managed host machines.
n
Port: Used by VMware Web Services SDK for the ESX server on which SSH
listening. The Agent Proxy communicates with the ESX server using this port. The
default port (22) is set to the default value for SSH on ESX.
n
User ID: Used by the Agent Proxy to communicate with the ESX server through
SSH. This account must have certain permissions, for example, sudoers, defined
in the installation process. Authentication for this account uses public key
cryptography that was setup during the installation process.
(Optional) Select the check box to configure the settings for your ESX and ESXi
machines. Configure the settings to collect virtual environment data from a host
machine.
n
Port: The port on the ESXserver used by the Agent Proxy to communicate with
the VMware web services interface.
n
User ID: The account that has access to the VMware Web services interface. If you
are using ESX, this account must have Administrator access to Web services on the
ESX server. This user ID may be different from the user ID for SSH
communication, depending on whether you created different accounts during the
ESX installation process.
n
Password: The password for the Web services User ID specified above. This
password is encrypted in the VCM database.
n
Confirm Password: Retype the password.
n
Ignore untrusted SSL Certificate: Connection allowed even when certificates are
not verified as trusted.
6. On the Important page, record the .xml file name.
The file is saved to the location configured for CMFiles$\VMHosts_Config. The default location is\Program Files (x86)\VMware\VCM\WebConsole\L1033\Files\VMHosts_Config.
7. Click Finish.
What to do next
Copy the copy SSH public key file, the csiprep.py file, and the csiprep.config file to the target ESX
machines. See "Copy Files to the ESX/ESXi Servers" on page 53.
Copy Files to the ESX/ESXi Servers
To import target machine information and copy the required files from VCM, you use the
UNIX/ESX/vSphere Deployment Utility on your Agent Proxy machines.
For ESX machines, you import target machine information from VCM and copy the SSH public key file,
the csiprep.py file, and the csiprep.config file to the target ESX machines.
For ESXi machines, you import machine information and copy the necessary Web Services settings to the
target machines.
Prerequisit es
n
License the ESX and ESXi machines. See "Configure Virtual Machine Hosts" on page 51.
n
Locate the UNIX/ESX/vSphere Deployment Utility file in C:\Program Files (x86)
\VMware\VCM\Tools\DeployUtility-<version number>. Consult the Deployment Utility online
help when using the tool.
Procedu re
1. Copy the UNIX/ESX/vSphere Deployment Utility file to the Agent Proxy machine, either a standalone
Windows machine or the Collector, and unzip the file.
2. Double-click DeployUtil.exe to start the Deployment Utility.
3. Click the ESX/vSphere Configuration tab.
4. Click File > Open.
5. Browse to the location of the virtual machine hosts configuration file generated when you licensed and
configured the virtual machine hosts.
The default location on the Collector is \Program Files (x86)\VMware\VCM\WebConsole\L1033\Files\VMHosts_Config.
6. Select the .xml file and click Open.
The machine information in the .xml file is imported into the ESX Server Settings table on the
ESX/vSphere Configuration tab with the settings that you defined in VCM.
7. Select a configuration option.
OptionDescriptio n
Configure ESX 3.x
Servers
Configure ESXiServers Passes the Web Services to the target ESXmachines
Configures the SSH certificate, the csiprep.py file, the csiprep.config
file, and passes the SSH and Web Services user information to the target ESX
machines.
8. (Optional) Configure the default server location.
The following settings are automatically configured to the default server locations. If you need to
change the paths, click the ellipsis button.
n
SSH Public Key file (ESX 3.x only)
n
Log Files Location
n
csiprep.py File (ESX 3.x only)
n
csiprep.config File (ESX 3.x only)
9. (Optional) Configure the VCM user name and password.
To modify the settings in VCM, use the following options or manually change the values in the ESX
Server Settings table. For more information about the settings, see the Deployment Utility online Help.
54
VMware, Inc.
Configuring VMware Cloud Infrastructure
n
Use the same user name for both SSH and Web Services collections (ESX 3.x only).
n
Use the same password for all WebServices users.
n
Apply the same user names and passwords to all ESX servers.
10. Click Configure.
All the machines where the Configure check box is selected now have the same version of the files
copied to the location specified in the Remote Path field in the table. If no path is specified, the files are
copied to the /tmp directory.
What to do next
Collect data from the target virtual machine hosts. See "Collect ESX Logs Data" on page 55.
Collect ESX Logs Data
An initial collection of Virtual Environments data identifies your virtual machine hosts and their guest
machines.
Procedu re
1. On the Portal toolbar, click Collect.
2. Select your ESX Servers.
To avoid configuration conflicts, do not select both for one action. The selected machines appear in the
Selected list.
3. Click Select Data Types to collect from these machines and click Next.
4. Expand the UNIX node and select the Machines - General data type.
5. Expand the Virtualization node and select the ESX Logs data types.
6. Click Use default filters and click Next.
7. Click Finish.
Monitor the collection job in Job Manager. When the collection is completed, the data appears is available
for reports and compliance assessments.
What to do next
Review the collected data in the Console, run reports, configure alerts, and use the machine groups. See
"Virtualization Collection Results" on page 55.
Virtualization Collection Results
You have several options for reviewing and using ESX Logs data in VCM. The data used is only as current
as the last collection, and the amount of time it takes for the data to display is based on the volume or
complexity of the data requested.
OptionDescription
VMware, Inc.
ConsoleView ESX logs.
Click Console and select Virtual Environments > ESX Logs.
The vSphere Client VCM Plug-In provides contextual access to VCM change, compliance, and
management functions. It also provides direct access to collected vCenter Server, virtual machine host, and
virtual machine guest data.
When using the vSphere Client VCM Plug-In, the virtual machine host name in vCenter must match the
virtual machine host name in VCM.
CAUTION Anyone accessing VCM and the vSphere Client must have a unique login. Do not share
vSphere Client logins between VCM users. Do not share vSphere Client logins between VCM users
and non-VCM users.
Procedure
1. "Register the vSphere Client VCM Plug-In" on page 56
The registration process configures the URL in the VMware vSphere Client to the VCM Collector and
makes the VCM Summary and VCM Actions tabs available in the vSphere Client.
2. "Configuring the vSphere Client VCM Plug-In Integration Settings" on page 57
Configure integration settings in VCM for your vSphere Client VCM Plug-In users. The settings
enable users to view the VCM reports.
3. "Manage Machines from the vSphere Client" on page 58
vSphere Client-managed machines are available in the vSphere Client VCM Plug-In when they
licensed and have the VCM Agent installed. The available actions include collecting new data and
running compliance, patching, and reports for the selected machines.
Register the vSphere Client VCM Plug-In
The registration process configures the URL in the VMware vSphere Client to the VCM Collector and
makes the VCM Summary and VCM Actions tabs available in the vSphere Client.
The plug-in is installed with VCM. To unregister a previous version of the plug-in, see the online Help.
IMPORTANT The account that you use to register the vSphere Client VCM Plug-In should be a local
administrator on the vSphere instance. The account must connect to a machine that has a valid SSL
certificate or must register an invalid certificate (for example, a development certificate) when that user
logs into the vSphere Client.
Prerequsit es
n
Verify that you are using VMware vCenter 4 Server.
n
Verify that the VMware vSphere Client is installed.
n
Verify that the VMware Tools is installed on the virtual machines.
56
VMware, Inc.
Configuring VMware Cloud Infrastructure
Procedu re
1. On the VCM Collector, browse to [path]\VMware\VCM\Tools\vSphere Client VCM
Plugin\bin and double-click VCVPInstaller.exe.
2. In the VCVP Plug-in Registration dialog box, configure the following options.
OptionDescription
RegisterSelect the option to register the URL for the plug-in.
Select Unregister only if you are discontinuing the use
of the plug-in on the target vSphere Client.
Server URLType the http or https path, where <server> is your
vSphere Client server.
Administrator User NameType the name of a user with Administrator privileges
in the vSphere Client.
Administrator PasswordType the associated password.
URLto vSphereClientVCMPlugin.xml Type the http path, where <VCMserver> is the name or
IP address for the VCM Collector. The xml file is
located in
\VMware\VCM\WebConsole\L1033\VCVPAnon\Xml\
vSphereClientVCMPlugin.xml
3. Click OK.
4. Start VCM.
5. On the login screen, select the role that you are using to log into the vSphere Client VCM Plug-In.
6. Select the Automatically log in using this role check box.
7. Start the vSphere Client.
8. Select a Guest machine.
What to do next
n
Confirm that you can access the VCM Summary and VCM Actions tabs.
n
Configure the vSphere Client VCM Plug-In integration settings in VCM. See "Configuring the vSphere
Client VCM Plug-In Integration Settings" on page 57.
Configuring the vSphere Client VCM Plug-In Integration Settings
Configure integration settings in VCM for your vSphere Client VCM Plug-In users. The settings enable
users to view the VCM reports.
Prerequisit es
Verify that the vSphere Client VCM Plug-In is registered. See "Register the vSphere Client VCM Plug-In"
2. Select the setting that you want to configure and click Edit Settings.
3. On the Settings Wizard page for each setting, configure the options.
OptionDescription
Machine group against which the external
reports will be run
Type the name of the machine group.
The default value is All Machines.
Role to use for external report accessType the name of the user role to be used to
access the reports.
The default value is Read-Only. Users other
than Admin must have the role selected
here in order to see reports in the vSphere
Client.
User name to use for assessmentsType the name of the user who will be
running assessments to obtain data for
generating reports.
4. Click Next.
5. Verify your settings and click Finish.
What to do next
You manage machines by running compliance, patching, and reports. See "Manage Machines from the
vSphere Client" on page 58.
Manage Machines from the vSphere Client
vSphere Client-managed machines are available in the vSphere Client VCM Plug-In when they licensed
and have the VCM Agent installed. The available actions include collecting new data and running
compliance, patching, and reports for the selected machines.
Prerequisit es
n
License Windows and UNIX\Linux virtual machines. See "License Windows Machines" on page 90 and
"License UNIX/Linux Machines" on page 123.
n
Install the Agent on the virtual machine. See "Install the VCM Windows Agent on Your Windows
Machines" on page 91 and "Install the Agent on UNIX/Linux Machines" on page 124.
n
Verify that the integration settings are configured. See "Configuring the vSphere Client VCM Plug-In
Integration Settings" on page 57.
Procedu re
1. Start the vSphere Client.
2. Click the VCM Actions tab.
What to do next
Click help on the VCMActions tab for more information about the actions.
Troubleshooting the vSphere Client VCM Plug-In Registration
With the vSphere Client VCM Plug-In, you can view and run certain VCM actions in the vSphere Client.
58
VMware, Inc.
Configuring VMware Cloud Infrastructure
You can use troubleshooting options to identify and resolve any problems.
Invalid Certificate on a vSphere Client
The vSphere Client connects to the vCenter Server using the SSL certificate and displays the datacenters,
hosts, and any clusters.
Problem
When logging into a vSphere Client for the first time, if the certificate is not valid, a security warning about
the SSL certificate appears.
Cause
The certificate is not valid.
Solution
1. Select the Install this certificate and do not display any security warnings for <vCenter_Server_
Instance> option.
2. Click Ignore.
HTTPS/SSL Is Not Configured on the Collector
If the VCM Summary and VCM Actions tabs are not displayed, the settings are improperly configured.
Problem
In the vSphere Client, you cannot see the VCM Summary or VCM Actions tabs.
Cause
If Use SSL was selected during VCM installation, the https/SSL is not properly configured on the Collector.
Solution
1. Open the .xml file specified during the registration.
2. Edit the file to reflect the configured connection method, either http or https.
vSphere Client VCM Plug-In Is Not Enabled
If the VCM Summary and VCM Actions tabs are not displayed, the plug-in is not properly configured.
Problem
In the vSphere Client, you cannot see the VCM Summary or VCM Actions tabs.
Cause
The plug-in is not enabled in the vSphere Client.
Solution
When the tabs appear, you are ready to use the vSphere Client VCM Plug-In.
VMware, Inc.
1. In the vSphere Client, select Plug-ins > Manage Plug-ins.
2. In the Installed Plug-ins area, right-click the vCenter Configuration Manager Extension plug-in, and
select Enable.
Running Compliance for the VMware
Cloud Infrastructure
Compliance templates evaluate the virtual environment object data to determine if the objects meets the
criteria in the rules. If the property values on an object do not meet the criteria, and if there is no exception
defined, then the object is flagged as noncompliant. When an object is non compliant, the template results
provide the details of the settings or configurations that do not match the rules. You can use this
information to resolve the issue.
Compliance templates include the following components:
n
Rule Groups: The rule groups comprise rules and filters.
n
Rules: The rules define the optimal configuration standard.
n
Filters: The filters limit the objects on which the template runs to only the objects that meet the filter
criteria. If filters are not defined, the rules are run against all objects in the virtual objects group.
n
Exceptions: The exceptions are optional temporary or permanent exceptions to the template results.
The defined exception indicates that a specific result is compliant or noncompliant even though it does
not match the requirements of the rules.
After you configure your compliance templates, you can optimize how VCM monitors the compliance of
objects in your environment using alerts and scheduling regular compliance template runs on your
collected virtual environment data.
4
This chapter includes the following topics:
Create and Run Virtual Environment Compliance Templates61
Configure Alerts and Schedule Virtual Environment Compliance Runs69
Create and Run Virtual Environment Compliance Templates
Create compliance templates that evaluate your virtual environment object data to determine if the
objects meet the criteria in the rules that define objects as compliant or noncompliant.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisit es
Collect virtual environments data. See "Configure Virtual Environments Collections" on page 25.
Procedu re
1. "Create Virtual Environment Compliance Rule Groups" on page 62
Create rule groups so that you can add rules and filters.
2. "Create and Test Virtual Environment Compliance Rules" on page 63
Create rules that define the ideal value that objects should have to be considered compliant.
3. "Create and Test Virtual Environment Compliance Filters" on page 64
Create filters that limit the objects on which the templates run to only the objects that meet the filter
criteria.
4. "Preview Virtual Environment Compliance Rule Groups" on page 64
Preview the rule group to ensure that your combination of rules and filters are returning the expected
results. Use the rules preview action, with the filters turned off and then turned on to determine if a
rule group is returning the expected results.
5. "Create Virtual Environment Compliance Templates" on page 65
Create compliance templates that include one or more rule groups configured to assess your selected
object group to determine which objects are compliant and noncompliant.
6. "Run Virtual Environment Compliance Templates" on page 66
Run templates against your collected data to determine which objects are compliant or noncompliant.
7. "Resolve Noncompliant Virtual Environments Template Results" on page 67
The results for the compliance templates indicate whether the rule was compliant or noncompliant,
and whether you can enforce noncompliant results manually or using VCM, or you can add an
exception for expected noncompliant results.
Create Virtual Environment Compliance Rule Groups
Create rule groups so that you can add rules and filters.
Templates can include one or more rule groups. Rule groups comprise rules and filters.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
4. Type the Rule Group Name and Description in the text boxes and click OK.
For example, Guest Tools Running and a description.
What to do next
Add a rule to the rule group. See "Create and Test Virtual Environment Compliance Rules" on page 63.
62
VMware, Inc.
Running C ompliance for the VMware Cloud Infrastructure
Create and Test Virtual Environment Compliance Rules
Create rules that define the ideal value that objects should have to be considered compliant.
The data types correspond to the collected virtual environments data that is displayed in the Console. To
identify the values you are configuring for compliance, review the data grids so that you can locate the
correct data type in the rule wizard.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisit es
Create a rule group. See "Create Virtual Environment Compliance Rule Groups" on page 62.
Procedu re
1. Click Compliance.
2. Select Virtual Environment Compliance > Rule Groups > rule group name > Rules.
Guest Tools Running is the rule group in this example.
3. Click Add.
4. Type the Name and Description in the text boxes and click Next.
Create and Test Virtual Environment Compliance Filters
Create filters that limit the objects on which the templates run to only the objects that meet the filter
criteria. If filters are not defined, the rules are run against all objects in the selected virtual objects group.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisit es
n
Create a rule group. See "Create Virtual Environment Compliance Rule Groups" on page 62.
n
Create a rule. See "Create and Test Virtual Environment Compliance Rules" on page 63.
Procedu re
1. Click Compliance.
2. Select Virtual Environment Compliance > Rule Groups > rule group name > Filters.
Guest Tools Running is the rule group in this example.
3. Click Add.
4. Type the Name and Description in the text boxes and click Next.
The collected guest summary data includes vCenter names.
6. Select Basic and click Next.
7. Click Add and configure the filter with the values to limit assessed objects or to exclude objects from
assessment.
n
In the properties drop-down menu, select vCenter.
n
Select <> as the filter operator.
n
Click the ellipsis and select vCenter_Dev and click OK.
n
Click Next.
8. Review the changes and click Finish.
The filter is added to the data grid.
9. Select your new filter and click Preview.
10. Review the data in the Machines window to verify that your filter is behaving as expected.
What to do next
Test your rule and filter together. See "Preview Virtual Environment Compliance Rule Groups" on page
64.
Preview Virtual Environment Compliance Rule Groups
Preview the rule group to ensure that your combination of rules and filters are returning the expected
results. Use the rules preview action, with the filters turned off and then turned on to determine if a rule
group is returning the expected results.
64
VMware, Inc.
Running C ompliance for the VMware Cloud Infrastructure
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisit es
n
Create a rule group. See "Create Virtual Environment Compliance Rule Groups" on page 62.
n
Create a rule. See "Create and Test Virtual Environment Compliance Rules" on page 63.
n
Create compliance filters. See "Create and Test Virtual Environment Compliance Filters" on page 64.
Guest Tools Running is the rule group in this example.
3. Select your new rule group and click Preview.
4. Select Do not apply machine filters to preview and click OK.
When you test a rule, test first without the filter to ensure that the rule returns the expected results.
5. Review the data in the Non-compliant results window to verify that your rule is behaving as expected.
6. Close the window.
7. Select your new rule group and click Preview.
8. Select Apply machine filters to preview and click OK.
9. Review the data in the Non-compliant results window to verify that your rule is behaving as expected.
If the results are incorrect, adjust your rules and filters until they work correctly when you preview
them.
What to do next
n
If you have more than one rule that you must run in a particular order, set the order. The Set Order
option is located on the toolbar.
n
Create a template. See "Create Virtual Environment Compliance Templates" on page 65.
Create Virtual Environment Compliance Templates
Create compliance templates that include one or more rule groups configured to assess your selected
object group to determine which objects are compliant and noncompliant.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
4. Type the Name and Description in the text boxes and click Next.
For example, Tools Running Not vCenter_Dev and a description.
5. Move the rule group, for this example, Guest Tools Running, to the list on the right and click Next.
6. Select Return both compliant and non-compliant and click Next.
Returning complaint and noncompliant results will help you determine whether your template is
returning the correct results.
7. Review your changes and click Finish.
What to do next
Run the template. See "Run Virtual Environment Compliance Templates" on page 66.
Run Virtual Environment Compliance Templates
Run templates against your collected data to determine which objects are compliant or noncompliant.
When a compliance template is run, the results appear in a report format and a data grid format.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
Prerequisit es
Create a template. See "Create Virtual Environment Compliance Templates" on page 65.
3. Select your template in the data grid and click Run.
In this example, select Tools Running Not vCenter_Dev.
4. Click OK.
5. When the template run is finished, click Close.
6. Double-click the template name in the data grid.
Unless you turned off the summary view, the Virtual Environments Compliance Results report
appears. The report includes the number of objects that are compliant and the number that are
noncompliant.
7. To view the results in the data grid, click View data grid.
66
VMware, Inc.
Running C ompliance for the VMware Cloud Infrastructure
What to do next
n
If you find results that you want to temporarily make compliant or noncompliant, create an exception.
See "Create Virtual Environment Compliance Exceptions" on page 68.
n
Evaluate the results and resolve any issues on the noncompliant objects.
The results for the compliance templates indicate whether the rule was compliant or noncompliant, and
whether you can enforce noncompliant results manually or using VCM, or you can add an exception for
expected noncompliant results.
These procedures provide a variety of examples that apply to virtual environments compliance.
Procedu re
n
"Enforce Compliance Template Results Using VCM Actions" on page 67
Resolve noncompliant results using VCM actions on the data grids to change settings when the action is
not available for enforceable compliance.
n
"Manually Enforce Compliance Template Results" on page 68
Resolve noncompliant results by directly accessing the physical or virtual machine, or by accessing the
object in vCenter Server, to change the noncompliant configuration setting.
n
"Create Virtual Environment Compliance Exceptions" on page 68
Rather than resolve noncompliant results, exceptions are the method you use to temporarily or
permanently override the specific template results.
Enforce Compliance Template Results Using VCM Actions
Resolve noncompliant results using VCM actions on the data grids to change settings when the action is
not available for enforceable compliance.
For this example, a template includes a rule that requires virtual machines to be powered on. If a virtual
machine is powered off, the object is noncompliant. The compliance remediation action is to power it on.
3. In the Status column, identify the rule results that are noncompliant.
4. Identify the affected physical or virtual machines or virtual objects, and determine the expected value
of the property.
For example, click and drag the Status column heading and the Rule column heading to the filter.
Expand the noncompliant results and the rule related to the power state. The noncompliant object
appears in the object column.
5. To resolve the noncompliant results, click Console and select Virtual Environments or the Windowstab or UNIX tab, and browse to the data grid where the action is available.
VMware, Inc.
For example, click Console and select Virtual Environments > vCenter > Guests > Summary.
6. Select the machines or objects that you identified as noncompliant and click the applicable action
button on the data grid.
For example, select the virtual machines that are powered off that should be powered on to be
compliant and click Power VM On.
7. Follow the prompts to configure the options, select Run action now, and click Finish.
What to do next
Collect the appropriate data from the physical or virtual machines or objects and run compliance against
the collected data. The objects should now be compliant.
Manually Enforce Compliance Template Results
Resolve noncompliant results by directly accessing the physical or virtual machine, or by accessing the
object in vCenter Server, to change the noncompliant configuration setting.
Procedu re
Using the allowed methods, change the noncompliant setting value on the machine or object to the
required compliant value.
What to do next
Collect the appropriate data from the physical or virtual machines or objects and run compliance against
the collected data. The objects should now be compliant.
Create Virtual Environment Compliance Exceptions
Rather than resolve noncompliant results, exceptions are the method you use to temporarily or
permanently override the specific template results.
The exceptions are defined against the template results and indicate that a specific result is compliant or
noncompliant even though it does not match the requirements of the rules.
You can add exceptions only to existing templates.
The example used in this procedure is whether VMware Tools is running on guest virtual machines on all
vCenter Server instances, but excluding vCenter_Dev.
To create an exception in this example, a virtual machine, RHEL_60_ProdDev, is approved to be excluded
from the noncompliant results because you never require VMware Tools to be running on this machine.
Prerequisit es
Create a template. See "Create Virtual Environment Compliance Templates" on page 65.
3. Select the noncompliant result on which you are basing the exception and click Add Exception.
In this example, the noncompliant result is the RHEL_60_ProdDev guest machine.
4. Type the Name, Short Description, Description, and Sponsor in the text boxes and click Next.
5. Select the template to which you are applying the exception in the drop-down menu and click Next.
For this example, select Tools Running Not vCenter_Dev.
6. Select the object group to which you are applying the exception and click Next.
68
VMware, Inc.
Running C ompliance for the VMware Cloud Infrastructure
For this example, select All Virtual Objects.
7. Select the override options and the expiration date.
a. Select Override non-compliant results to compliant.
b. Select No Expiration.
c. Click Next.
8. To define the exception values, modify, delete, or add to the properties, operators, and values for the
selected results.
In this example, you are specifying the RHEL_60_ProdDev as the exception.
a. Click Add.
b. In the properties drop-down menu, select Object.
c. Select = as the rule operator.
d. Click the ellipsis button and select RHEL_60_ProdDev in the property values dialog box and click
OK.
9. Click Finish.
What to do next
n
Run the template. See "Run Virtual Environment Compliance Templates" on page 66.
n
Create alerts and schedule regular runs of your compliance templates. See "Configure Alerts and
Schedule Virtual Environment Compliance Runs" on page 69
Configure Alerts and Schedule Virtual Environment Compliance Runs
To optimize how VCM monitors the compliance of objects in your environment, configure alerts and
schedule regular compliance template runs on your collected virtual environment data.
Prerequisit es
Create at least on virtual environments compliance template. See "Create and Run Virtual Environment
Compliance Templates" on page 61.
Procedu re
1. "Create Virtual Environment Compliance Alert Rules" on page 70
Alert rules are the conditions you define that determine when an alert is generated. Virtual
environment alert rules are based on virtual environment compliance templates.
2. "Create Virtual Environments Compliance Alert Configurations" on page 70
Virtual environment compliance alert configurations are created for virtual objects groups to generate
alerts when a virtual environment compliance template returns non-compliant results during
scheduled runs of the template.
VMware, Inc.
3. "Schedule Virtual Environments Compliance Template Runs" on page 71
Schedule a regular run of your virtual environments compliance templates to ensure that the collected
data is regularly assessed for adherence to the defined compliance rules.
Alert rules are the conditions you define that determine when an alert is generated. Virtual environment
alert rules are based on virtual environment compliance templates.
Prerequisit es
Verify that you have virtual environment compliance templates. See "Create and Run Virtual
Environment Compliance Templates" on page 61.
Procedu re
1. Click Administration.
2. Select Alerts > Rules.
3. Click Add.
4. Type the alert name and description in the text boxes and clickNext.
5. Select VE Compliance Results Data and click Next.
6. Select a compliance template and click Next.
7. Review the configured actions and click Finish.
What to do next
Create a virtual environments configuration that includes this rule. See "Create Virtual Environments
Virtual environment compliance alert configurations are created for virtual objects groups to generate
alerts when a virtual environment compliance template returns non-compliant results during scheduled
runs of the template.
You must have at least one unused rule to add to the alert configuration parameters.
Prerequisit es
Verify that you have virtual environment alert rules. See"Create Virtual Environment Compliance Alert
Rules" on page 70.
When you configure the automated responses, see the online help for configuration details.
3. In the middle pane, select the virtual objects group for which you want to generate an alert if one or
more rules in the template fail.
4. Click Add.
5. Select a virtual environments compliance results alert rule and click Next.
6. Select the alert severity and click Next.
You can select Critical, Important, Moderate, or Low.
7. Select and configure one or more automated responses that are performed when an alert is generated
and click Next.
8. Review the alert configuration and click Finish.
70
VMware, Inc.
Running C ompliance for the VMware Cloud Infrastructure
What to do next
Schedule a job to run your the virtual environments compliance templates on a timetable of your
choosing. See "Schedule Virtual Environments Compliance Template Runs" on page 71.
Schedule a regular run of your virtual environments compliance templates to ensure that the collected
data is regularly assessed for adherence to the defined compliance rules.
Compliance templates are run against collected data, so you should also schedule collections for the data
types and virtual objects that you are assessing.
Prerequisit es
n
Schedule a regular collection of the virtual environments data types for the virtual object groups
against which you are running the virtual environments compliance templates.
n
Create Virtual Environments Compliance Template. See "Create and Run Virtual Environment
5. Type a name and description in the text boxes and click Next.
6. Select the virtual environment template and click Next.
7. Select the virtual objects against which to run the template assessment and click Next.
8. Configure frequency, time of day, and duration for the job and click Finish.
9. To test whether the job is producing the expected results, click Run Now on the data grid toolbar.
The job runs at the scheduled time.
What to do next
If you a configured virtual environments compliance alert for this template and non-compliant rules were
found, you can review any alerts in the Alerts node in the Console.
Integration of VCM with vCenter Operations Manager reports VCM configuration change events and
standard compliance results in vCenter Operations Manager.
Configure the data types to report to vCenter Operations Manager as change events and the threshold
reporting level used to roll up the configuration changes. VCM records configuration changes in the
change log regardless of whether you report the data in vCenter Operations Manager. From vCenter
Operations Manager, you can navigate to VCM to view the details.
You can report on UNIX and Windows configuration change data and VCM initiated reboot changes.
VCM reports change data to vCenter Operations Manager. vCenter Operations Manager polls VCM for
configuration changes every five minutes.
5
For example, you can configure VCM to report a UNIXdata type to vCenter Operations Manager and set
the threshold reporting level to roll up a defined number of configuration changes into a single reporting
icon to report the changes in the vCenter Operations Manager console.
3. Configure VCM to report a UNIXdata type, such as UNIX Patch Assessment, to vCenter Operations
Manager.
a. Select UNIXPatch Assessment - Report to vCenter Operations Manager, and click Edit Setting.
b. Click Yes to report the data.
c. Click Next and click Finish.
4. Set the threshold reporting level to roll up the configuration changes in the vCenter Operations
Manager console.
a. Select UNIXPatch Assessment - Rollup Threshold, and click Edit Setting.
b. Type the number of configuration changes for the collection to roll up to a single reporting icon to
report in vCenter Operations Manager.
c. Click Next and click Finish.
For details about the reporting settings, see the VCM online help.
Standards Compliance for vCenter Operations Manager
The integration between vCenter Operations Manager and VCM includes using the VCM compliance
template results to contribute to the Risk badge score in vCenter Operations Manager.
The compliance templates are included in badge mappings that are run in VCM against objects in vCenter
Server instances that are managed by both VCM and vCenter Operations Manager. These objects include
virtual machines, host systems, clusters, vCenter Server instances, and data stores. The compliance
mapping results determine the compliance score. vCenter Operations Manager then pulls the scores into
the formulas used to calculate the Risk badge scores.
When you review the standards compliance in vCenter Operations Manager, you can navigate back to
VCM to view the detailed results and identify any configuration changes that you must make to bring an
object that is noncompliant back to compliance.
The correct correlation of the scores requires the following conditions:
n
VCM is configured to collect data from the same vCenter Server instances that are managed by
vCenter Operations Manager. See "Configure vCenter Server Data Collections" on page 30.
n
You must collect the required virtualization data types from the shared vCenter Server instances. The
data types are vCenter Guests, vCenter Hosts, vCenter Inventory, and vCenter Settings. See "Collect
Create vCenter Operations ManagerCompliance badge scores that are based on the results of VCM
compliance template mapping runs. The badge scores are values that appear in vCenter Operations
Manager for vCenter Server instances, datacenters, clusters, virtual machine hosts, and virtual machines
managed by your vCenter Operations Manager and VCM.
Verify that VCM is configured to collect data from the same vCenter Serverinstances thatvCenter
Operations Managermanages. See "Configure vCenter Server Data Collections" on page 30.
n
Collect the required virtualization data types from the shared vCenter Server instances. The data types
are vCenter Guests, vCenter Hosts, vCenter Inventory, vCenter Settings. See "Collect vCenter Server
Virtual Machines Data" on page 35.
n
Create compliance templates to include in the mappings. You can use Machine Group Compliance
templates and Virtual Environments Compliance templates. See "Create and Run Virtual Environment
Compliance Templates" on page 61.
n
Review how the badge scores are calculated based on your compliance badge settings and compliance
mapping options. See "Scoring Badges for vCenter Operations Manager Standards Compliance" on
page 79.
Procedu re
1. "Create Compliance Badge Mappings" on page 75
Create badge mappings that contribute to the Risk badge score in vCenter Operations Manager. When
you configure the mappings, you specify the templates to include, the badge to which it is assigned,
and how the score is calculated.
2. "Run Compliance Badge Mappings " on page 77
When you run the compliance badge mapping, the included templates are run against the collected
data and a score is calculated based on the selected options and settings for the badge to which it is
assigned.
3. "Review Mapping Scores in the Dashboard Report" on page 78
The roll up scores appear in the Compliance Badge Rollup dashboard. Review the dashboard to ensure
that the scores are calculated as expected.
4. "Schedule Compliance Badge Mapping Runs" on page 78
Schedule the compliance badge mapping runs so that you have consistently current scores that are
pulled into vCenter Operations Manager.
5. "View Compliance Badges in vCenter Operations Manager" on page 79
The standards compliance score in VCM contributes a compliance score to the Risk badge score in
vCenter Operations Manager. If the Risk score indicates distress for the object, you can view the
compliance breakdown to determine which of the noncompliant templates are contributing to the
score and determine what action to take to resolve the noncompliant results.
Create Compliance Badge Mappings
Create badge mappings that contribute to the Risk badge score in vCenter Operations Manager. When
you configure the mappings, you specify the templates to include, the badge to which it is assigned, and
how the score is calculated.
Use the Content Wizard tool to download compliance templates created by VMware,for example, the
vSphere Hardening Guides and other standards. The Content Wizard is available from the Start menu
on the Collector machine.
n
Create compliance templates that are specific to your environment to include in the mappings. The
template names should not include the | character. You can use Machine Group Compliance templates
and Virtual Environments Compliance templates. See "Create and Run Virtual Environment
Compliance Templates" on page 61.
n
Review how the scores are calculated before configuring the mappings. See "Scoring Badges for
vCenter Operations Manager Standards Compliance" on page 79.
4. Configure the basic settings for the mapping, select the machine group or virtual objects group
context, and click Next.
OptionDescription
NameMapping name.
Do not use the | character in the mapping name.
DescriptionMapping description
BadgeSelect the badge to which the mapping applies.
n
Risk - Compliance: Mapped to the vCenter Operations Manager Risk badge.
n
VCM Only: Not mapped to a vCenter Operations Manager badge.
This option allows you to test mapping configurations before assigning them
to vCenter Operations Manager. Does not appear in vCenter Operations
Manager.
Roll Up Type Select the method used to calculate how the score for the templates in a
mapping is determined. Scores are always between 0 and 100. A score of 0
indicates the that all the rules are noncompliant. A score of 100 indicates that all
the rules are compliant.
n
Simple Percentage: Percentage of the template results that are compliant.
n
Weighted Percentage: Percentage of the template results that are compliant
where the Critical severity rule results are weighted more heavily than the
Low severity rules results.
n
Simple Rule Percentage: Percentage of compliance rules in the templates that
passed as compliant. If any of the results are non-compliant, the rule is
noncompliant.
n
Weighted Rule Percentage: Percentage of the compliance rules in the
templates where the Critical severity rule results are weighted more heavily
than the Low severity rules results.
Select compliance template context for which you are creating this mapping.
n
Machine Group Compliance: Select this option to add machine group
templates to the mapping. The virtual machines and host machines must also
be managed as virtual objects in VCM in order for the machine object IDs to
correlate to the objects in vCenter Operations Manager.
n
Virtual Object Group Compliance:Select this option to add virtual
environments templates to the mapping.
5. Select the Machine Group or Virtual Objects Group from which to build the mapping and click Next.
6. Select one or more templates to include in the mapping and click Next.
The list of available templates is based on the selected machine or virtual object group. Templates used
in compliance mappings should not include the | character.
7. Click Finish.
What to do next
Run the compliance badge mappings to determine if they are scoring as expected. See "Run Compliance
Badge Mappings " on page 77.
Run Compliance Badge Mappings
When you run the compliance badge mapping, the included templates are run against the collected data
and a score is calculated based on the selected options and settings for the badge to which it is assigned.
Prerequisit es
n
Collect the data from the machine or virtual object groups. Ensure that you collect the vCenter Guests,
vCenter Hosts, vCenter Inventory, and vCenter Settings from your vCenter Server instances. See
"Collect vCenter Server Data" on page 32.
n
Create compliance badge mappings that include one or more templates. See "Create Compliance Badge
All templates included in the mapping are run and the score calculated. The template results are in the
individual template results data grid and the score is available in the vCenter Operations Manager
Compliance Rollup dashboard.
What to do next
Review the scores in the vCenter Operations Manager Compliance Rollup dashboard. See "Review
Mapping Scores in the Dashboard Report" on page 78.
3. Review the scores and modify the settings as needed.
What to do next
n
To ensure that the scores that are pulled into vCenter Operations Manager are always current, schedule
the mappings to run at a regular time. See "Schedule Compliance Badge Mapping Runs" on page 78.
n
(Optional) To change how the mappings are scored, modify the Standards Compliance Settings. Do not
modify the scores unless you understand how the scores are calculated. See "Scoring Badges for
vCenter Operations Manager Standards Compliance" on page 79.
Schedule Compliance Badge Mapping Runs
Schedule the compliance badge mapping runs so that you have consistently current scores that are pulled
into vCenter Operations Manager.
Prerequisit es
Schedule the collections for the vCenter Server instances on which you are running templates to complete
the collections before you run the compliance mappings against the collected data. See "Configure vCenter
Server Scheduled Collections" on page 33.
Procedu re
1. Click Administration.
2. Select Job Manager > Scheduled and click Add.
3. Select vCenter Operations Manager Compliance Badge Mapping Run and click Next.
4. Type a name and description and click Next.
5. Select one mapping and click Next.
6. Use the scheduling options to schedule when the mapping runs.
Schedule the job to run at the frequency at which you want refreshed results to be available to pull into
vCenter Operations Manager. Schedule the compliance badge mapping to run after your scheduled
collection.
View the mapped badges in vCenter Operations Manager. See "View Compliance Badges in vCenter
Operations Manager" on page 79.
View Compliance Badges in vCenter Operations Manager
The standards compliance score in VCM contributes a compliance score to the Risk badge score in vCenter
Operations Manager. If the Risk score indicates distress for the object, you can view the compliance
breakdown to determine which of the noncompliant templates are contributing to the score and
determine what action to take to resolve the noncompliant results.
Prerequisit es
Verify the following requirements.
n
VCM adapter is installed.
n
VCM adapter is registered.
n
Internet Explorer is installed.
n
You have a vCenter Operations Manager user name and password from the vCenter Operations
Manager administrator.
Procedu re
1. In vCenter Operations Manager, select an object in the inventory pane.
2. Click Dashboard.
3. Click Why is Risk {score}? and review the Compliance score.
4. Click the Compliance badge to view the template scores associated with the overall score.
5. On the Views tab, the score for each template appears in the Details section.
6. To view the template results in VCM, click View details in VCM for the template you are
investigating.
7. If necessary, copy the URL provided in the Info dialog box into the Internet Explorer address bar.
The template results appear in VCM.
What to do next
Resolve the noncompliant results. See "Resolve Noncompliant Virtual Environments Template Results" on
page 67.
Scoring Badges for vCenter Operations Manager Standards Compliance
Badge scores are values that appear in a vCenter Operations Manager Compliance badge, and which also
contribute to the dashboard values for the Risk badge.
The badge score pulled into vCenter Operations Manager is a calculated value that is based on your
compliance mapping options and on the compliance badge settings configured in VCM and run against
collected VCM data.
A compliance mapping is one or more compliance templates that run against a machine group or virtual
object group and calculate scores based on the selected options and the defined settings. When the VCM
adapter is configured in vCenter Operations Manager, the score appears as a Compliance badge for the
Risk badge.
The badge calculations are based on mapping options and standards compliance settings. The options and
the settings interact in the following workflow:
n
Scoring based on mapping options.
n
Select the compliance standard badge to which the mapping contributes a score.
n
Select the roll up type that determines the initial score calculation. If you select weighted
percentages, the weight values are configured in the standards compliance settings.
n
Setting detail level aggregation of scores based on the standards compliance options.
n
Refining the badge scores as they appear in vCenter Operations Manager using the midpoint and
magnitude settings.
n
Scoring the Risk badge in vCenter Operations Manager.
Scoring Based on Mapping Options
You specify the badge name and the roll up types for each mapping you create in VCM.
Standards Co mpliance Badges
When you create a mapping in VCM, you select the vCenter Operations Manager badge with which it is
associated.
The Compliance subbadges are aligned with the following vCenter Operations Manager badge and VCMonly roll up.
n
Risk - Compliance scores are included in the Risk badge.
The Risk badge indicates potential problems that might eventually degrade the performance of the
managed environment. Risk does not necessarily imply a current problem. Risk indicates problems that
might require your attention in the near future, but not immediately. The overall Risk score for an
object ranges between 0 (no risk) to 100 (serious risk).
Compliance mappings should include templates that evaluate your environment in a way that helps to
identify performance issues. For example, you have an object setting that should be addressed if it is
found to be noncompliant from the configuration standard, but it does not require immediate
attention.
n
VCM Only scores are available only in VCM.
The VCM Only mapping scores are not pulled into vCenter Operations Manager. The scores are
intended to provide mapping of multiple templates and scores only in VCM. For example, you can use
this mapping to test a new mapping in VCMbefore you begin reporting the scores in vCenter
Operations Manager.
The roll up type calculations for each badge determine the initial score.
Roll Up Types
The roll up types determine how the template results are initially scored.
When you create a compliance template, each template includes one or more rules, and you assign each
rule a severity level of Low, Moderate, Important, and Critical. Each rule includes one or more individual
checks that return one or more results for each check. The results for the individual checks that are made
on the target machine or object determine if the object is compliant or noncompliant.
For the Weighted Percentage and Weighted Rule Percentage roll up types, you can apply a weighted
value. The weighting is the value by which the result or rule is multiplied to give the different severity
levels more or less weight when calculating the scores. The weighting of the severity levels is configured in
the Standards Compliance Settings. The default values are Low=1, Moderate=2, Important=4, and
Critical=8.
Simple Percentage is the percentage of the template results that are compliant. This option does not weight
the results based on severity. For example, the simple percentage score for the results is 73. This score is
calculated based on 11 compliant results out of a total of 15 results.
Table 5–1. Simple Percentage Template Results
SeverityCompliant ResultsNon complian t Resu lts
Critical14
Important20
Moderate30
Low50
Total114
Weighted Percentage is the percentage of the template results that are compliant where the Critical
severity rule results are weighted more heavily than the Low severity rules results. For example, the
weighted percentage score for the results is 46. This score is calculated based on a weighted value of 27
compliant results out of a total of 59 results.
Table 5–2. Weighted Percentage Template Results
Severity Severity
Weight
Critical818*1=8848*4=3232
Important 424*2=8804*0=00
Moderate 232*3=6602*0=00
Low151*5=5501*0=00
Total2732
Compliant
Results
Weighting
Calculations
Weighted
Compliant
Results
Non complian t
Results
Weighting
Calculations
Weighted
Non complian t
Results
Simple Rule Percentage is the percentage of compliance rules in the templates that passed as compliant. If
any of the results are non-compliant, the rule is non-compliant. This option does not weight the rules
based on severity. For example, the simple rule percentage is 40. This score is calculated based on two
compliant rules out of a total of five rules.
Table 5–3. Simple Rule Percentage Based on Template Rules
You might choose scoring by rule rather than by results when some rule groups return significantly more
rules than other rules in the same rule group. For example, a rule that checks user accounts returns one
result per user account on an object, but a rule that checks a password policy returns only one result for an
entire system.
Weighted Rule Percentage is the percentage of the compliance rules in the templates where the Critical
severity rule are weighted more heavily than the Low severity rules. For example, the weighted rule
percentage is 53. This score is calculated based on a weighted value of 10 compliant rules out of a total of
19 rules.
Table 5–4. Weighted Rule Percentage Based on Template Rules
Rule/
Severity
Severity
Weight
Compliant
Results
Non Compliant
Results
Simple
Compliant
Rule
Simple
Non complian t
Rule
Weighted
Compliant
Rule Value
Weighted
Non Compliant
Rule Value
Rule 1/
Critical
Rule 2/
Important
Rule 3/
Important
Rule 4/
Moderate
Rule 5/
Low
Total109
81018
45614
415114
21012
10911
Detail Level Score Aggregation
After the initial scoring, the Standards Compliance Settings determine the badge scores that are calculated
for the vCenter Operations Manager badges, based first on the Detail Level aggregation, and then on the
midpoint and magnitude.
The level from which to roll up the badge scores that are generated for each mapping.
Use the Standards Compliance badge settings to select the level of detail at which to roll up the scores, and
the midpoint and magnitude used to adjust the scores that are reported in vCenter Operations Manager.
Table 5–5. Detail Level Score Aggregation Example Values
Templates in Mapp ingsScoreResults
Mapping 1 Template 18010,000
Mapping 1 Template 2505
Mapping 1 Template 31001
Mapping 2 Template 430100
Mapping 2 Template 575500
n
Compliance Result: To roll up at the compliance result level means that the scores for the templates
assigned to the mapping, times the number of compliance results for each score divided by the total
number of compliance results.
For example, Mapping 1 has three templates using the scores and results provided in the Scoring table.
The scoring is calculated as (80*10,000)+(50*5)+(100*1)/(10,000+5+1)=80, where 80 is the score.
Template: To roll up at the template level means that each template's scores are averaged when rolled
up to the badge level.
For example, Mapping 1 has three templates using the scores provided in the Scoring table. The score is
calculated as (80+50+100)/3=77, where 77 is the score.
n
Mapping: To roll up at the mapping level means that the score for each mapping associated with a
badge is averaged when rolled up to the badge level.
For example, Mapping 1 and Mapping 2 are assigned to the same badge. The score is calculated as
(77+53)/2=65, where 77 is the Mapping 1 average, 53 is the Mapping 2 average, and 65 is the average of
the two mappings included in the badge.
Midpoint and Magnitude Score Calculations
Use midpoint and magnitude to refine how the badge scores are ultimately calculated for vCenter
Operations Manager.
n
Midpoint: The score that triggers the magnitude to increase or decrease the returned score.
n
Magnitude: The percentage by which any score that is above or below the midpoint is calculated.
The calculation is {detail level score}-{midpoint}={difference}; {difference}*{magnitude}={adjusted
magnitude factor}; {detail level score}+{adjusted magnitude factor}={adjusted score}.
Detail level scores can differ even where the midpoint and magnitude remain the same.
The adjusted score is the score that is pulled by the vCenter Operations Manager VCM Adapter and
appears as part of the Risk badge score.
You modify the midpoint and magnitude to give the Compliance subbadge scores a stronger or weaker
influence on the Risk parent badge. For example, if the compliance mappings score is configured so that it
normally scores 100 and you want any deviation to clearly degrade the score, you can set the midpoint to
99 and the magnitude to a high value. The resulting adjusted score lowers the value of the compliance
score and the Risk score when any noncompliance is found.
If you do not want to apply midpoint and magnitude calculations, set the magnitude to 0.
Scoring the in vCenter Operations Manager
The standards compliance scores are pulled from VCM into vCenter Operations Manager and added to
the Risk badge score using the following calculation:
The VCM Auditing capability tracks all changes in the security aspects of VCM. Security-related events are
written to the Windows Event Log, which is stored on the Collector, and is independent of the VCM
application. The format of the event log prohibits any modifications to the recorded entries, which makes
it a secure and tamper-proof auditing record of changes in security.
When you perform an action in VCM that affects security, and the auditing setting that corresponds to
that change is enabled, the event is written to the event log.
Prerequisit e
Be logged in as a user who has the Admin role assigned.
Procedu re
1. To view the VCM Auditing settings, click Administration.
2. Select Settings > General Settings > Auditing.
3. To change an auditing setting, highlight a setting and click Edit Setting.
6
When you change an auditing setting, the VCM Auditing data grid displays the user’s name in the Last
Modified By column.
What to do next
For details about the Auditing settings and the Windows Event Log, see the online help.
To manage your virtual and physical Windows machines, you must verify domains and accounts, discover
and license those machines, install the VCM Agent, and collect Windows data from those machines. You
can also collect Windows Custom Information.
This chapter includes the following topics:
Verify Available Domains88
Check the Network Authority88
Assign Network Authority Accounts89
Discover Windows Machines89
License Windows Machines90
Install the VCM Windows Agent on Your Windows Machines91
Collect Windows Data97
Windows Collection Results98
Getting Started with Windows Custom Information99
7
Configure Windows Machines
To manage Windows machines, you must configure the environmental components and machine options
in VCM.
Procedu re
1. Verify Available Domains
Allow VCM access to each domain so that the VCM Collector can interact with the Windows machines
in your environment.
2. Check the Network Authority
Verify that at least one domain account with administrator privileges is available to act as a network
authority account for VCM.
3. Assign Network Authority Accounts
Select and assign the network authority account that you identified for VCM access to the Windows
machines.
4. Discover Windows Machines
In your network, identify the Windows machines that you are managing with VCM.
To manage Windows machines, you must license them in VCM.
6. Install the VCM Windows Agent on Your Windows Machines
Install the VCM Windows Agent on each Windows machine so that you can collect data and manage
the virtual or physical machines.
7. Collect Windows Data
Start managing the Windows machines by performing an initial collection, which adds Windows
machine data to VCM.
Continuous Windows machine management is based on the latest data you collect from target machines.
You can view data and run actions, such as reports or compliance, based on the collected data. See
"Windows Collection Results" on page 98.
Verify Available Domains
Allow VCM access to each domain so that the VCM Collector can interact with the Windows machines in
your environment.
During installation, VCM discovered all domains to which the network authority account had access. If the
Windows machines belong to a domain that is not listed, you must add that domain manually.
Prerequisit es
Verify that you have the fully-qualified names of the domains to manage.
Procedu re
1. Click Administration.
2. Select Settings > Network Authority > Available Domains.
3. If the domain does not appear Available Domains view, add the domain.
a. Click Add.
b. Type the domain name and select the domain type as NetBios or AD, depending on your domain.
c. Click OK.
4. Verify that the domain appears in the data grid.
What to do next
Verify that a network authority account is available and create other necessary domain accounts. See
"Check the Network Authority" on page 88.
Check the Network Authority
Verify that at least one domain account with administrator privileges is available to act as a network
authority account for VCM.
Although you specified an initial default network authority account when you installed VCM, you can add
different administrator accounts if you do not assign the default account.
Prerequisit es
Verify the presence of domains. See "Verify Available Domains" on page 88.
88
VMware, Inc.
Procedu re
1. Click Administration.
2. Select Settings > Network Authority > Available Accounts.
3. To add a new domain account, click Add.
4. Type the domain name, user name, and password, and click Next.
5. Click Finish to add the account.
What to do next
Assign the network authority account to the domain so that VCM can access the Windows machines in the
domain. See "Assign Network Authority Accounts" on page 89.
Assign Network Authority Accounts
Select and assign the network authority account that you identified for VCM access to the Windows
machines.
You can assign a single account to all domains and machine groups, or assign a unique account or multiple
accounts to each domain and machine group.
Configuring Windows Machines
In this procedure, NetBios is used as the example.
Prerequisit es
Verify or add the necessary network authority account. See "Check the Network Authority" on page 88.
5. Select the account to receive authority to the domain and click Next.
6. Confirm the accounts to include in the authority list for the domain and click Finish.
What to do next
Discover the Windows machines in your environment. See "Discover Windows Machines" on page 89.
Discover Windows Machines
In your network, identify the Windows machines that you are managing with VCM.
To discover the available Windows machines, VCM uses general discovery rules to identify many
Windows machines or uses specific discovery rules to identify particular Windows machines.
The time required to perform an initial discovery depends on the size and composition of your network. If
all Windows machines are not available during initial discovery, such as systems that are disconnected
from the network, the first discovery will not find all Windows machines. If the discovery does not
identify all Windows machines, you might need to run additional discoveries after the other Windows
machines become available.
NOTE You can use the Discovered Machines Import Tool (DMIT), which imports machines discovered by
the Network Mapper (Nmap), to import many physical and virtual machines at one time into the VCM
database. Download DMIT from the VMware Web site.
The following procedure is based on Active Directory.
Prerequisit es
Assign a Network Authority Account that VCM can use for access. See "Assign Network Authority
Accounts" on page 89.
Procedu re
1. Click Administration.
2. Select Machines Manager > Discovery Rules.
3. Click Add to create a discovery rule.
4. On the Discovery Rules page, type a name and description and click Next.
5. On the Discovery Method page, select By Active Directory and click Next.
6. On the AD Domain page, specify the AD Domain, select Discover machines only from the selecteddomain, and click Next.
7. On the Discovery Filters page, select Discover all machines in <domain_name> Domain.
8. (Optional) Create a filter to discover Windows machines based on a limited criteria and click Next.
9. On the Important page, click Yes and click Finish.
To avoid exceeding your license count, do not select License and Install Agent on DiscoveredMachines.
10. On the toolbar, click Jobs to track current discovery job status.
What to do next
n
Verify that jobs have finished running. Click Administration and select Job Manager > History >
Other Jobs > Past 24 Hours.
n
Verify that the Windows machines are available. Click Administration and select Machines Manager >
Available Machines.
n
License the Windows machines in your environment. See "License Windows Machines" on page 90.
License Windows Machines
To manage Windows machines, you must license them in VCM.
The number of discovered Windows, UNIX, or Linux machines might exceed the number of your
available licenses. If that happens, the number available goes negative and appears in red to indicate that
you do not have enough licenses.
For servers and workstations, exceeding the limit on your license key produces warnings but does not
restrict VCM operation. License key counts that are over the limit are recorded and maintained for
auditing purposes. Suite license keys support unlimited licenses, provided that the suite edition includes
VCM and the component that you are managing is part of the suite. If a component is not part of the suite,
it counts against the nonsuite server or workstation key.
90
VMware, Inc.
Configuring Windows Machines
Prerequisit es
Verify that the Windows machines you license are listed with a machine type of workstation or server in
the Available Machines node. If the discovered or added type is not workstation or server, VCM cannot
license the machines.
Procedu re
1. Click Administration.
2. Select Machines Manager > Available Machines.
3. Select the Windows machines to license.
4. Click License.
5. Verify that the Windows machines to license appear in the Selected list.
Use the arrows to move the Windows machines.
6. Click Next to view your Product License Details.
The licensed Windows machine count increases by the number of licensed machines.
7. Click Next.
VCM confirms that the licenses you requested will be applied to the selected Windows machines.
8. Click Finish.
What to do next
Install the VCM Windows Agent on Your Windows Machines
Install the VCM Windows Agent on each Windows machine so that you can collect data and manage the
virtual or physical machines.
Before you can collect data from Windows machines, you must install the VCM Windows Agent on the
licensed Windows machines in your environment to enable communication between the Collector and the
target machines.
You can use VCM to install the Agent or you can install the Agent manually. When you install a VCM
Collector, the VCM Windows Agent is also installed. The Collector Agent is locked and cannot be
unlocked, uninstalled, or upgraded.
Standardized Windows configurations such as Federal Desktop Core Configuration (FDCC) or United
States Government Configuration Baseline (USGCB) include strict security group policy settings. The
Windows Firewall: Do not Allow Exceptions group policy configures Windows Firewall to block all
unsolicited incoming messages, including configured exceptions. This setting overrides all configured
exceptions. For VCM to communicate properly with the VCM Agent on managed machines in strict,
secure environments, disable the Windows Firewall: Do not Allow Exceptions group policy on the
managed machines. For more information, see support.microsoft.com.
Prerequisit es
n
n
VMware, Inc.
License the Windows machines on which you install the Agent. See "License Windows Machines" on
page 90.
Verify that you know the communication protocols and ports that are used by the Collector and the
Agents.
3. In the data grid, select one or more Windows machines on which to install the Agent and click Install.
4. On the Machines page, verify that the target machines appear in the Selected list and click Next.
5. On the Install Options page, select the installation options and click Next.
OptionDescription
ShareLocation to install the Agent. The default location is ADMIN$.
PathPath for the Agent files. The default path includes CMAgent.
Install FromVCM Collector from which to install the Agent.
DCOMCommunication protocol for the Agent. The default setting is
HTTPSecure communication protocol for the Agent. Use HTTP, which
DCOM.
installs the HTTP Listener on the target machine and configures it
to listen on the designated port.
PortDesignated port for the HTTP Listener.
Install using a proxy serverFor Windows Proxies and Windows Agents only. If the target
machine is separated from the Collector by a proxy server, this
option instructs the installation process to check for available
proxy servers.
Lock the machine after
installation
Ensures that VCMwill not uninstall the Agent or replace it with a
different version.
Reinstall AgentOverwrites an installed Agent.
6. On the Schedule page, select Run Action now and click Next.
You can schedule subsequent Agent installations to run later.
7. Review the summary information and click Finish.
What to do next
n
Verify that jobs have finished running. Click Administration and select Job Manager > History >
Other Jobs > Past 24 Hours.
n
Collect Windows data from VCM managed machines in your environment. See "Collect Windows
Data" on page 97.
Locate the Enterprise Certificate
Locate the Enterprise Certificate before you install the VCM Agent on the managed Windows machine.
VCM must access the Enterprise Certificate during the Agent installation.
If your Collector is operating in a full Public Key Infrastructure (PKI), and the target machine can validate
the Collector root certificate (Enterprise Certificate), the .pem file is not required.
92
VMware, Inc.
Configuring Windows Machines
Procedu re
1. Locate the Enterprise Certificate .pem file in the Collector's c:\Program Files (x86)
\VMware\VCM\CollectorData folder.
2. If the certificate files are not in the default location, you must confirm the path to the files.
a. Click Administration.
b. Select Settings > General Settings > Collector.
c. Select Root directory for all collector files.
d. Confirm the file path in the Value column.
Manually Install the VCM Windows Agent
You can manually install the Windows Agent on the VCM managed machine by using the executable
(EXE) file or the Microsoft Installer (MSI) file that is supplied with VCM.
n
You use the EXE file to install the Agent in unattended, silent mode. EXE files detect an existing
software version and provide the option to uninstall the existing version.
n
You use the MSI file to install the Agent in unattended, silent mode. MSI files are database files. The
Windows msiexec.exe executable file reads the data in the MSI file, and then installs the Agent.
The MSI file uninstalls any existing, non-MSI Agent without sending a request. If you run the MSI
installer again, the removal option is available.
If you use a new MSI file to upgrade an MSI-installed Agent, the old Agent is uninstalled.
The VCM Enterprise Certificate is installed when you initially installed VCM. During the Agent installation
process, if you select HTTP, VCM installs the Enterprise Certificate in the certificate store on the VCM
managed machine.
The Collector root certificate authenticates Collector requests on the managed machine before it processes
a collection or change request. The authentication process uses the Collector Certificate and established
trust to the Enterprise Certificate.
Use the EXE File to Install the Agent
You can use the EXE file to manually install the VCM Windows Agent on a target machine. The directories
in this procedure are default locations.
CAUTION For Vista, Windows 7, and Windows 2008 only: If you set the compatibility mode on an
Agent executable file to a previous version of Windows, VCM might report the compatible
operating system instead of the actual operating system. For example, on a Windows 7 machine, if
you set the Agent to run in compatibility mode for Windows XP, the Agent will report that the
machine is a Windows XP machine.
Prerequisit es
Locate the Enterprise Certificate before you install the VCM Agent. See "Locate the Enterprise Certificate"
1. On your VCM Collector, open Windows Explorer and navigate to the Agent files directory at
C:\Program Files (x86)\VMware\VCM\AgentFiles.
2. Copy the CMAgentInstall.exe file from the Collector to the target machine or a shared network
location.
The CMAgentInstall.exe file is located in the path relative to the installed software on the Collector.
3. On the target machine, use Windows Explorer and run the installation in either normal or silent mode.
n
For normal mode, run CMAgentInstall.exe.
n
For silent mode, run CMAgentInstall.exe /s INSTALLPATH=%Systemroot%\CMAgent
PORT=26542 CERT=C:\<folder_without_spaces>\vcm_cert.pem.
The %Systemroot% environment variable specifies the directory where Windows is installed, which is
typically \WINNT or \WINDOWS.
Use the following options for the installation.
OptionAction
CMAgentInstall.exeExecutable file used to install the Agent.
/sIndicates a silent install. When you run CMAgentInstall.exe
from the command line, VMware recommends that you install
the Agent in silent mode.
To use the silent mode, you must unlock the Agent before you
can proceed with the installation. To unlock the Agent, use the UNLOCK option.
The syntax is CMAgentInstall.exe /s
INSTALLPATH=%Systemroot%\CMAgent PORT=26542
CERT=C:\<folder_without_spaces>\vcm_cert.pem.
To relock your managed machine, you must submit a lock
request from the VCM Collector. To submit the lock request,
click Administration and select Settings > General Settings >Installer. Edit the Lock Agent after it is installed? setting to lock
the managed machine.
INSTALLPATHLocation to install the Agent files.
PORT
Port number used for HTTP Agents.
The default value is 26542.
If you do not include the PORT parameter, VCM uses DCOM and
does not install the communication socket listener service. The
certificate is not required.
CERT
Indicates the certificate that you generated or specified on the
Collector during the Collector installation. The location of the
certificate file is in the fully qualified path, local to the relative to
the installed software on the Collector. By default the path is
C:\Program Files (x86)\VMware\VCM\CollectorData\
[certificate name].pem.
If you include PORT, but do not use a certificate, you must use
94
VMware, Inc.
Configuring Windows Machines
OptionAction
the CERT=SKIP parameter to allow an HTTP Agent to operate
without a valid CERT path.
The CERT path cannot contain spaces, even when enclosed in
quotes, so enter an 8.3 compatible path as in the preceding silent
mode example.
4. On the target machine, in Windows Explorer run CMAgentInstall.exe.
What to do next
n
To confirm that the job finished running, click Administration and select Job Manager > History >
Other Jobs > Past 24 Hours.
n
Collect Windows data from VCM managed machines. See "Collect Windows Data" on page 97.
Use the MSI File to Install the Agent
You can use the MSI file to manually install the VCM Windows Agent on a target machine. The directories
specified in this procedure are default locations.
Prerequisit es
Locate the Enterprise Certificate before you install the VCM Agent. See "Locate the Enterprise Certificate"
on page 92.
Procedu re
1. On your VCM Collector, open Windows Explorer and navigate to the Agent files directory at
c:\Program Files (x86)\VMware\VCM\AgentFiles.
2. Copy the CMAgent[version].msi file to the target machine or a shared network location.
The CMAgent[version].msi file is located in the path relative to the installed software on the
Collector.
3. Locate the CMAgent[Version].msi file.
4. If the file does not exist, you must copy CMAgent[Version].msi to the target machine, or install it
from a network share onto the target machine.
5. Copy the Enterprise Certificate .pem file to the target machine.
6. On the target machine, in Windows Explorer, run CMAgent[Version].msi using the following
syntax:
When you include an option with CMAgent[Version].msi,
you must follow these conventions:
n
Include optional parameters in any combination and
order.
n
After the required /i parameter, use uppercase letters for
optional parameters.
n
Use quotation marks when a path includes spaces in the
source file location and the INSTALLDIR parameter.
To see details about the options, select Start > Run >msiexec.
%Systemroot%
Environment variable that specifies the directory where
Windows is installed, which is typically \WINNT or
\WINDOWS.
/qbRuns the command in a basic user interface and displays the
progress and error messages.
/qnRuns the command in quiet mode without user interaction.
/iRuns the command as an installation.
/xRuns the command as an uninstall process.
PORTNUMBER
Installs the Windows Agent on the port number specified,
and uses HTTP instead of DCOM. For HTTP installations
where you include PORTNUMBER, you must include an
Enterprise Certificate by using the following syntax:
CERTIFICATEFILE="<drive>:\[mypath]\
[mycert].pem"
For example:
msiexec.exe /qn /i "C:\temp\CMAgent
[VersionNumber].msi" PORTNUMBER=2666
CERTIFICATEFILE=”x:\mypath\mycert.pem”
If you include PORTNUMBER, you must either include the path
to the certificate file, or supplement the CERTIFICATEFILE
parameter with the SKIP parameter .
INSTALLDIRLocation to install the Agent. Use to change the default root
directory specification, which is %SystemRoot%\CMAgent.
For example:
msiexec.exe /qn /i "C:\temp\CMAgent
[VersionNumber].msi" INSTALLDIR="C:\VCM"
CERTIFICATEFILE
Includes the Enterprise Certificate with either the path or the
SKIP parameter.
For example:
96
VMware, Inc.
Configuring Windows Machines
OptionAction
CERTIFICATEFILE="x:\[mypath]\[mycert].pem" or
CERTIFICATEFILE=”SKIP”
What to do next
n
To confirm that the job finished running, click Administration and select Job Manager > History >
Other Jobs > Past 24 Hours.
n
Collect Windows data from VCM managed machines. See "Collect Windows Data" on page 97.
Manually Uninstall the VCM Windows Agent
When you no longer manage a Windows machine with VCM, you uninstall the Agent from that target
machine. If you used VCM to install the Agent, you must use VCM to uninstall the Agent.
To keep historical data, do not remove the Windows machine from VCM. After you remove the Windows
Agent and remove the managed Windows machine from the list of licensed machines, VCM no longer
manages the Windows machine and you can no longer collect data from it.
The Windows Agent uninstall executable file exists on the VCM managed machine if you installed the
Agent manually using CMAgentInstall.exe or CMAgentInstall.msi. Use this manual process to
uninstall the Agent only if you used either of these commands to install the Agent.
This path displays the default location. The EXE file is located in the path relative to the installed
software on the Collector.
Collect Windows Data
Start managing the Windows machines by performing an initial collection, which adds Windows machine
data to VCM.
Use the default filter set to collect a general view of the Windows machines in your environment. The first
time that you use the default filter to collect data, the Windows Agent returns all of the data specified in
the filter and stores the data in the VCM database. All subsequent collections will return a delta against the
data previously collected.
A delta collection includes only the differences between the data on the target machine and the data stored
in the VCM database. If you need a full collection, you can specify that VCM collect all data again. A full
collection can take a significant amount of time depending on the number of VCM managed Windows
machines from which you are collecting.
When you perform a full collection from your entire environment, run the collection during nonworking
hours so that users do not notice any performance impact on managed machines. After the initial
collection is finished, subsequent delta collections will most likely not impact performance.
Collect the Accounts and Groups data types from the primary domain controller (PDC) in each domain
to increase the performance of initial collections that require a SID lookup.
n
To collect data from Windows XP SP2 or Vista machines that use DCOM communication, you must
enable ICMP pings in the firewall settings or disable ICMP pings in VCM.
n
Verify that DCOM is enabled on the managed machine. Run dcomcnfg and select Enable Distributed
COM on this computer.
Procedu re
1. On the VCM toolbar, click Collect.
2. On the Collection Type page, select Machine Data and click OK.
3. On the Machines page, select the Windows machines from which to collect data and click Next.
To move all visible Windows machines to the selection window, 500 at a time, use the double arrow.
4. On the Data Types page, select the Select All checkbox.
5. Select Use default filters and click Next.
6. On the Important page, resolve any conflicts and click Finish.
What to do next
n
Verify that jobs have finished running. Click Administration and select Job Manager > History >
Other Jobs > Past 24 Hours.
n
Review the collection results. See "Windows Collection Results" on page 98.
Windows Collection Results
Continuous Windows machine management is based on the latest data that you collect from target
machines. You can view data and run actions, such as reports or compliance, based on the collected data.
Windows data appears in VCM and is available for several management actions, including Console
dashboards and reports, Compliance views, and VCMPatching. The displayed data is only as current as
the last time you collected the data.
After the initial discovery is finished, perform a weekly discovery to update the list of available Windows
machines. To schedule a VCM discovery job, click Administration, select Job Manager > Scheduled, and
follow the wizard.
OptionDescription
ConsoleDisplays dashboards and reports based on collected data. Use the Console to view
data that is relevant to day-to-day operations, troubleshooting, and analysis.
n
To view the dashboards, click Console and select Dashboards > Windows >
Operating Systems.
n
To view the summary reports, click Console and select Windows > Operating
System > Machines. You can view the data in a summary report or data grid
format.
ComplianceDetermines if the data collected from VCM managed Windows machines meets
specified compliance values, and allows you to run compliance remediation
actions.
98
VMware, Inc.
OptionDescription
n
To run a compliance check, click Compliance and select Machine Group
Compliance.
n
To create rule groups, rules, filters, and templates, see the online help.
ReportsRuns preconfigured reports or you can create custom reports. VCM runs reports
against the latest collected data. Depending on the data volume or complexity of
the requested report, it might take time to generate the report. You can also
schedule and disseminate reports.
n
To use the reporting options, click Reports and select Machine Group Reports
> Windows.
PatchingAssesses target machines to determine if the patching status of the Windows
machines is up-to-date. You can install the latest patches on target machines.
n
To assess and patch Windows machines, click Patching and select Windows.
n
To run assessments and patch your Windows machines, see the online help.
Getting Started with Windows Custom Information
Configuring Windows Machines
Windows Custom Information (WCI) is data collected from VCM managed machines that is created by
PowerShell scripts. WCI supplements and extends the data collected by VCM from managed Windows
machines using other VCM data types.
You can create or modify WCI scripts to collect almost any data type that is accessible from VCM
managed machines. VCM supports PowerShell scripting and XML output to collect Windows Custom
Information.
Figure 7–1. Windows Custom Information Collection Process
To extend the data collected by VCM from managed Windows machines using other VCM data types,
collect Windows Custom Information. Configure the prerequisites and create and validate your
PowerShell script.
Prerequisit es
n
To collect Windows Custom Information from VCM managed machines, you must configure the
prerequisites. See "Prerequisites to Collect Windows Custom Information" on page 100.
Procedu re
1. "Collecting Windows Custom Information" on page 112
To collect Windows Custom Information (WCI) using script-based filters, you create and verify your
custom PowerShell scripts, install PowerShell on the VCM managed machines, and use VCM to collect
the WCI data.
Prerequisites to Collect Windows Custom Information
To collect Windows Custom Information from VCM managed machines, you must configure the
prerequisites.
100
VMware, Inc.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.