How to Create an APPD 6 Linux Template

In this example I am configuring a Linux Template for APPD and vCAC 6 using vSphere. NOTE: The installation will be slightly different for Amazon EC2 deployments

Step 1: First you will need to download and install the JRE. This can be obtained from the APPD server. Download the JRE for your operating system by going to the APPD server /agent/jre name

NOTE: a list of the JRE’s in that directory provided below


Step2 : Use WINSCP to copy this up to your Linux Server (Download WINSCP free from the link below)


Step 3: Now SSH into your Linux template using Putty (You can also download Putty client for free at the link below)


Step 4: Type mkdir /opt/vmware-jre to make a new directory for the Java JRE we downloaded earlier


Step 5: Type unzip /tmp/ -d /opt/vmware-jre nd press enter to unzip the JRE into the new directory


Step 6: Now type /opt/vmware-jre/bin/java -version to verify it was unzipped successfully


Step 7: You will need to go back to a web browser and download the vCAC APPD agent RPM from FQDN-of-APPD-Server/agent/yourOSRPM (See list below)


Step 8: Now let’s use WINSCP again to copy this to the Linux Server


Step 9: We will also need the vCAC guest agent installed. Download the Linux Guest agents from https://FQND-of-vCACappliance:5480/installer/


Step 10: Unzip the Linux guest agents zip file to a folder on your hard drive and use WINSCP to transfer the correct agent to your Linux Server


Step 11: Now go back to the SSH PUTTY session and change to the /tmp directory


Step 12: Now install the Application director agent by typing the following rpm -i vmware-appdirector-agent-service-vcac_6.0.0.0-0_x86_64.rpm


Step 13: Now the same for the vCAC Guest agent rpm -i gugent-6.0.0-2026.x86_64.rpm


Step 14: Now we will need to register the agent with the vCAC IaaS Windows Server change directory to /opt/vmware-appdirector/agent-bootstrap and type ./ -r vCAC_Port -s IaaS_Server_FQDN



Step 15: Type cd /usr/share/gugent and press enter


Step 16: Type:

./ yourvcacWindowsServer ssl

and press enter, for example ./ vcac-w8-01a.corp.local ssl


Step 17: type ./ to test the installation









Note the vCAC Endpoint should be listed as https://vcac-w8-01a.corp.local


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.

For CentOS 6.3-based virtual machines, verify that the demidecode package is installed.
rpm -qa | grep dmidecode

(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.

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

Open the cd /usr/share/gugent folder and run the verification command.
The verification passes without any error messages.

(Optional) Run the Shell file located in /opt/ vmware-appdirector/agent-bootstrap to remove any runtime log files generated if you manually
started the vmware_appdirector_agent or vrm-agent services for verification.

Step 18: Application Director deployments require SELinux to be disabled change directory to /etc/sysconfig and edit the selinux file


Step 19: Change the following line to disabled and save the file


Step 20: Shutdown your Linux Server by typing shutdown now and press enter


You can now create a template or make a vCenter Snapshot to create a linked clone in vCAC

2 Replies to “How to Create an APPD 6 Linux Template”

  1. Pingback: How to install APPD 6 Part 2 – Adding vCAC 6 Cloud Provider |

  2. Pingback: Installing the AppD/vCloud Automation Center Agent – repost from VMtoCloud – | Cloud Relevant

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.