Installation guide

Table Of Contents
What to do next
Add a rule to the rule group. See "Create and Test Virtual Environment Compliance Rules" on page 61.
Create and Test Virtual Environment Compliance Rules
You create rules that define the ideal values 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.
Prerequisites
Create a rule group. See "Create Virtual Environment Compliance Rule Groups" on page 60.
Procedure
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.
For example, Tools Running.
5. Expand Virtualization, select vCenter - Guests - Summary, and click Next.
The collected guest summary data includes whether the VMware Tools is installed and running on the
guest virtual machines.
6. Select Basic and click Next.
7. Click Add and configure the rules with the ideal values.
n
In the properties drop-down menu, select Tools Running Status.
n
Select = as the rule operator.
n
Click the ellipsis button and select guestToolsRunning and click OK.
n
Click Next.
8. Select the Severity of a failure in the drop-down menu and click Next.
9. Review the changes and click Finish.
The rule is added to the data grid.
10. Select your new rule and click Preview.
11. 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.
12. Review the data in the Non-compliant results window to verify that your rule is behaving as expected.
What to do next
Add a filter to the rule group. See "Create and Test Virtual Environment Compliance Filters" on page 62.
Running Compliance for the VMware Cloud Infrastructure
VMware, Inc.
61