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

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

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

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

Verify that the vCenter Server virtual machine meets the vCloud Application Director virtual machine requirements. See Virtual Machine Requirements for Creating vCloud Automation Center Custom Templates.

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 Linux virtual machine.

2

Log in the virtual machine with root privileges and open a terminal.

3

If you have an existing vCloud Application Director agent bootstrap service, uninstall the service.

a

Check whether the agent_bootstrap.sh service is running.

ps -ef | grep agent_bootstrap
b

Stop the process

c

Run the Shell file to remove the agent bootstrap service.

/opt/vmware-appdirector/agent-bootstrap/agent_reset.sh
d

Uninstall the agent bootstrap service.

rpm --e vmware-appdirector-agent-service-vcac
4

Download and install the supported JRE packages with the YUM package management tool or APT-GET packaging tool.

If you have the supported JRE packages installed, skip this step.

a

Download the JRE package from http://Application_Director_IP/agent/jre-1.7.0_45-lin-ArchitectureName.zip, where the ArchitectureName is 32 or 64.

b

Create an /opt/vmware-jre directory.

c

Unzip the JRE package.

unzip -d /opt/vmware-jre

d

Type /opt/vmware-jre/bin/java -version to verify the installation

The installed version of Java appears.

5

Download and install the vCloud Automation Center guest agent.

a

From the VMware product download site http://vmware.com/web/vmware/downloads, search for vCloud Automation Center.

b

In the vCloud Automation Center download page, select the supported product version and click View Download.

c

Download and unzip the vCAC-vCAC_Version-Installation.zip file.

d

In the terminal, type rpm -i gugent-6.0.0-2026.ArchitectureName.rpm to install the guest agent, where the ArchitectureName is i386 for 32-bit and x86_64 for 64-bit.

6

Download and install the vCloud Application Director agent bootstrap service.

a

Download the agent bootstrap from http://Application_Director_IP/agent/vmware-appdirector-agent-service-vcac_6.0.0.0-0_ArchitectureName.rpm to the /tmp/ folder, where the ArchitectureName is i386 for 32-bit and x86_64 for 64-bit.

b

In the terminal, type rpm -i vmware-appdirector-agent-service-vcac_6.0.0.0-0_ArchitectureName.rpm to install the service.

7

Register the vCloud Automation Center guest agent to the vCloud Automation Center server.

a

For a vCloud Automation Center server that requires an SSL connection, type this command.

/opt/vmware-appdirector/agent-bootstrap/vcac-register.sh
-r vCAC_Port -s IaaS_Server_FQDN

The default vCloud Automation Center port number is 443.

b

For a vCloud Automation Center server that does not require an SSL connection, type this command.

/opt/vmware-appdirector/agent-bootstrap/vcac-register.sh
-r vCAC_Port  -n -s vCloud_Automation_Center_Server_Name

The default vCloud Automation Center port number is 80.

8

For Red Hat Enterprise Linux 6.4-based virtual machines, verify that the vrm-agent service is available.

chkconfig --list | grep vrm-agent

The service vrm-agent 0:off 1:off 2:off 3:on 4:off 5:on 6:off appears.

9

For CentOS 6.3-based virtual machines, verify that the demidecode package is installed.

rpm -qa | grep dmidecode
10

(Optional) Install the demidecode package if it is not available.

rpm -i dmidecode-2.11-2.el6.ArchitectureName.rpm

The ArchitectureName is i686 for 32-bit and x86_64 for 64-bit.

11

Verify that the vmware-appdirector-agent-service-vcac service is available in the Linux virtual machine.

rpm -qa | grep vmware-appdirector-agent-service-vcac
12

Open the cd /usr/share/gugent folder and run the verification command.

./rungugent

The verification passes without any error messages.

13

(Optional) Run the agent_reset.sh Shell file to remove any runtime log files generated if you manually started the vmware_appdirector_agent or vrm-agent services for verification.

14

Shut down the Linux virtual machine.

15

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

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