To create custom virtual machine templates to use in vCloud Application Director, verify that certain software and virtualization requirements are met and that certain Linux and Windows commands are available.

Virtual Machine Requirements for Custom Templates

Requirement

Description

Operating system

Use one of the following operating systems:

Supported operating systems with 32-bit Red Hat Enterprise Linux 6.4 and CentOS 6.3

Supported operating systems with 64-bit Red Hat Enterprise Linux 6.4, CentOS 6.3, and Windows Server 2008 R2 Enterprise with Service Pack 1

JRE

JRE 1.7.0 must be installed. The preferred and supported JRE can be installed from one of these packages, which are available in the vCloud Application Director virtual appliance:

JRE for Windows

http://Application_Director_IP/agent/jre-1.7.0_45-win64.zip. See Prepare vCenter Server Windows Virtual Machine Templates.

JRE for Linux

http://Application_Director_IP/agent/jre-1.7.0_45-lin32.zip

http://Application_Director_IP/agent/jre-1.7.0_45-lin64.zip

To install JRE on an RPM-based virtual machine template, see Prepare vCenter Server Linux Virtual Machine Templates.

Linux agent bootstrap service

Download the Linux agent bootstrap package vmware-appdirector-agent-service-vcac from the VMware product download site at http://vmware.com/web/vmware/downloads. Install the Linux agent bootstrap script from one of the following packages:

http://Application_Director_IP/agent/vmware-appdirector-agent-service-vcac_6.0.0.0-0_x86_64.rpm

http://Application_Director_IP/agent/vmware-appdirector-agent-service-vcac_6.0.0.0-0_i386.rpm

To install the agent bootstrap service on an RPM-based virtual machine template, see Prepare vCenter Server Linux Virtual Machine Templates.

Windows agent bootstrap service

Download the http://Application_Director_IP/agent/vmware-appdirector-agent-bootstrap-windows_6.0.0.0.zip file from the vCloud Application Director virtual appliance.

To install the agent bootstrap service on a Windows-based virtual machine template, see Prepare vCenter Server Windows Virtual Machine Templates.

vCloud Automation Center guest agent

Download the vCAC-vCAC_Version-Installation ZIP file from the VMware product download site at http://vmware.com/web/vmware/downloads. The installation file includes the vCloud Automation Center guest agent for Windows and Linux.

To install the Windows and Linux guest agent in a template, see Prepare vCenter Server Windows Virtual Machine Templates and Prepare vCenter Server Linux Virtual Machine Templates.

Supported Windows scripting

vCloud Application Director supports scripting with Windows CMD, PowerShell 2.0, and BeanShell 1.3.0.

Supported Linux scripting

vCloud Application Director supports scripting with Bash and BeanShell 1.3.0.

Linux commands

The following Linux commands must be available on the virtual machine:

wget

md5sum

grep

sed

setsid

awk

ifconfig

apt-get

yum

Optional services

If you plan to remotely access the virtual machine using Linux ssh logging or Windows remote desktop for troubleshooting or for other reasons, the OpenSSH server and client for Linux or Remote Desktop Services (RDS) for Windows must be installed and running properly.

Important

Because the boot process must not be interrupted, configure the virtual machine so that nothing causes the virtual machine's boot process to pause before reaching the final operating system login prompt. For example, verify that no processes or scripts prompt for user interaction when the virtual machine starts. This requirement applies only to virtual machine templates created for the vCloud Application Director catalog.