User`s guide

Table Of Contents
Create Compliance Rules Containing Software Provisioning Remediation
Actions
When configuring a Compliance rule, you can configure the rule to perform a remediation based on a
software provisioning action -- Install Package, Remove Package, Add Source, Remove Source.
In this example, you want to determine if a software application named XSoftware is correctly installed. If
the software is installed correctly, a service named XService should be running. Configure a Compliance
rule to determine if XService service is running. If it is not running, install the XSoftware package.
Procedure
1. Click Compliance.
2. Select Machine Group Compliance > Rule Groups.
3. Expand your rule group, and then select Rules.
4. On the Rules data grid, click Add.
5. On the Rule and Name page, type a Name and Description for your rule and click Next.
6. On the Data Type page, expand Windows and select the data type on which you are basing the rule
and click Next.
The data type does not need to be software based. In this example, select Services.
7. On the Rule Type for Services page, select Conditional (if/then) and click Next.
8. On the Conditional Data properties page, configure the options and click Next.
a. In the IF section, click Add.
b. Select Services Name = XService.
c. Select Must Exist.
d. In the THEN section, click Add.
e. Select State = Running.
9. On the Options page, configure the options.
a. Select a Severity in the drop-down list.
b. Select Make available for enforcement where possible.
c. Select Software Provisioning action.
d. Select Install Package in the drop-down list, and then click Define Action. The Software
Provisioning Compliance Remediation page appears.
e. Select the XSoftware package to install if the rule you are configuring fails.
vCenter Configuration Manager Installation and Getting Started Guide
232 VMware, Inc.