7.1

Table Of Contents
Scenario: Add Active Directory Cleanup to Your CentOS Blueprint
As an IaaS architect, you want to congure vRealize Automation to clean up your Active Directory
environment whenever provisioned machines are removed from your hypervisors. So you edit your existing
vSphere CentOS blueprint to congure the Active Directory cleanup plugin.
Using the Active Directory Cleanup Plugin, you can specify the following Active Directory account actions
to occur when a machine is deleted from a hypervisor:
n
Delete the AD account
n
Disable the AD account
n
Rename AD account
n
Move the AD account to another AD organizational unit (OU)
Prerequisites
N This information does not apply to Amazon Web Services.
n
Log in to the vRealize Automation console as an infrastructure architect.
n
Gather the following information about your Active Directory environment:
n
An Active Directory account user name and password with sucient rights to delete, disable,
rename, or move AD accounts. The user name must be in domain\username format.
n
(Optional) The name of the OU to which to move destroyed machines.
n
(Optional) The prex to aach to destroyed machines.
n
Create a machine blueprint. See “Scenario: Create a vSphere CentOS Blueprint for Cloning in
Rainpole,” on page 268.
Procedure
1 Select Design > Blueprints.
2 Point to your Centos on vSphere blueprint and click Edit.
3 Select the machine component on your canvas to bring up the details tab.
4 Click the Properties tab.
5 Click the Custom properties tab to congure the Active Directory Cleanup Plugin.
a Click New Property.
b Type Plugin.AdMachineCleanup.Execute in the Name text box.
c Type true in the Value text box.
d
Click the Save icon ( ).
6 Congure the Active Directory Cleanup Plugin by adding custom properties.
Option Description and Value
Plugin.AdMachineCleanup.UserNam
e
Enter the Active Directory account user name in the Value text box. This
user must have sucient privileges to delete, disable, move, and rename
Active Directory accounts. The user name must be in the format
domain\username.
Plugin.AdMachineCleanup.Passwor
d
Enter the password for the Active Directory account user name in the
Value text box.
Chapter 4 Providing On-Demand Services to Users
VMware, Inc. 275