You must prepare vCenter Server Windows virtual machine templates for vCloud Automation Center blueprints to create clone deployments. Application Services uses the vCloud Automation Center blueprints to deploy Windows-based applications and services to the vSphere environment.

Verify that vCenter Server 5, 5.1, or 5.5 is installed and configured.

Verify that a vSphere Windows virtual machine is available. See Virtual Machine Requirements for Creating vCloud Automation Center Custom Templates.

The supported operating systems are Windows Server 2008 R2 Enterprise with Service Pack 1 and Windows Server 2012.

Verify that the vSphere Windows virtual machine does not have an older version of either a vCloud Automation Center 5.2 or 6.0 guest agent or Application Services agent bootstrap installed. See vSphere documentation.

Familiarize yourself with how to convert to a template and create a customization specification for an operating system. See vSphere documentation.

Remove the existing vCloud Automation Center agent service and Application Services agent bootstrap service. See Updating Existing Virtual Machine Templates in vCloud Automation Center.

Verify that all of the network configuration artifacts are removed from the network configuration files.

1

Log in to the vSphere client and open a Windows virtual machine.

2

Enter the Windows Administrator credentials and open a command prompt.

3

Download and install the supported Java SE 7 Runtime Environment from http://Application_Director_IP/agent/jre-1.7.0_51-win64.zip.

a

Create a \opt\vmware-jre folder and unzip the JRE file to the folder.

b

Open a PowerShell command window and enter type \opt\vmware-jre\bin\java -version to verify the installation.

The installed version of Java appears.

4

To install the vCloud Automation Center 6.1 guest agent.

a

Change directory to C:\.

b

Download the file GugentZip.zip for 32-bit platforms or GugentZip_64.zip for 64-bit platforms from the vCloud Automation Center Appliance management console installation page at https://vcac-va-hostname_or_IPaddress:5480/installer/.

c

Right-click the downloaded ZIP file and select Unblock from the pop-up menu.

The selection unblocks the contents of the ZIP file.

d

Unzip the installation file to C:\.

For example, C:\VRMGuestAgent\WinService.exe.

5

Download the Application Services agent bootstrap file from http://Application_Director_IP/agent/vmware-appdirector-agent-bootstrap-windows_VersionNumber.zip.

a

Right-click the downloaded ZIP file and select Unblock from the pop-up menu.

Important

If you do not disable this Windows security feature, you cannot use the Application Services agent bootstrap file.

b

Unzip the vmware-appdirector-agent-bootstrap-windows_6.0.0.0.zip file to the \temp folder.

c

Run the rktools.exe utility and add the NTRights.exe utility to the \temp folder.

The NTRights.exe utility is used in the install.bat script to configure the agent bootstrap service to run in the darwin user account. The utility is included in the Windows Server 2003 Resource Kit Tools (rktools.exe), which you can download from the Microsoft download Web site.

d

(Optional) If the NTRights.exe utility is not available, manually configure the agent bootstrap service to run in a specific user account after you run the install.bat script.

6

To install the agent bootstrap service for vCloud Automation Center 6.1, complete the following steps.

a

Open a Windows CMD console and navigate to the \temp folder.

b

Enter the command to install the agent bootstrap.

install.bat password=Password cloudProvider=vcac vcacServer=IaaS_Server_FQDN httpsMode=true

The install.bat script creates a user account called darwin for the agent bootstrap service and uses the password you set. The Password must meet the Windows password requirements.

7

Verify that the user darwin_user exists.

a

Enter lusrmgr.msc at a command prompt.

b

Verify that the user darwin_user exists and belongs to the administrator group.

c

Set the password to never expire.

The setting ensures that the template remains usable after 30 days.

If the user is not available, verify that the Windows server password is accurate.

8

Verify that the VMware Application Services and VRM Agent services are installed.

9

Shut down the Windows virtual machine.

10

Create a customization specification for the Windows virtual machine.

A customization specification lets you change Windows operating system properties such as the host name, network settings, and license settings. Customizing guest operating systems can help prevent problems that can result if virtual machines with identical settings are deployed with duplicate host names.

a

Select Home > Customization Specifications Manager.

b

Click New to create a customization specification.

c

In the vSphere Client Windows Guest Customization wizard, specify the customization specification name.

d

In the NetBIOS section click Use the virtual machine name and in the Administrator Password section, enter the administrator password of the Windows operating system.

e

Accept the default settings and click Finish.

A Windows-based vCloud Automation Center blueprint uses this customization specification information to create a clone or linked deployment.

11

In the inventory, right-click the Windows virtual machine and select Template > Convert to Template.

vCenter Server marks the virtual machine as a template and displays the task in the Recent Tasks pane.