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
jre-1.7.0_45-lin32.zip
jre-1.7.0_45-lin64.zip
jre-1.7.0_45-win64.zip
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 5: Type unzip /tmp/jre-1.7.0_45-lin64.zip -d /opt/vmware-jre nd press enter to unzip the JRE into the new directory
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)
vmware-appdirector-agent-bootstrap-windows_6.0.0.0.zip vmware-appdirector-agent-service-ec2_6.0.0.0-0_i386.rpm vmware-appdirector-agent-service-ec2_6.0.0.0-0_x86_64.rpm vmware-appdirector-agent-service-vcac_6.0.0.0-0_amd64.deb vmware-appdirector-agent-service-vcac_6.0.0.0-0_i386.deb vmware-appdirector-agent-service-vcac_6.0.0.0-0_i386.rpm vmware-appdirector-agent-service-vcac_6.0.0.0-0_x86_64.rpm vmware-appdirector-agent-service_6.0.0.0-0_amd64.deb vmware-appdirector-agent-service_6.0.0.0-0_i386.deb vmware-appdirector-agent-service_6.0.0.0-0_i386.rpm vmware-appdirector-agent-service_6.0.0.0-0_x86_64.rpm
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 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 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 ./vcac-register.sh -r vCAC_Port -s IaaS_Server_FQDN
Step 16: Type:
./installgugent.sh yourvcacWindowsServer ssl
and press enter, for example ./installgugent.sh vcac-w8-01a.corp.local ssl
Step 17: type ./rungugent.sh 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.
./rungugent.sh
The verification passes without any error messages.
(Optional) Run the agent_reset.sh 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
Pingback: How to install APPD 6 Part 2 – Adding vCAC 6 Cloud Provider | VMtoCloud.com
Pingback: Installing the AppD/vCloud Automation Center Agent – repost from VMtoCloud – | Cloud Relevant