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

media_1389976861284.png

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)

media_1389977046178.png

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

media_1389977977425.png

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

media_1389977881175.png

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

media_1389978224658.png

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

media_1389978280060.png

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)

media_1389978520478.png
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 8: Now let’s use WINSCP again to copy this to the Linux Server

media_1389978654926.png

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

media_1389978854261.png

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

media_1389979722653.png

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

media_1389979379492.png

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

media_1389979552633.png

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

media_1389979915571.png

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

media_1389980138956.png

 

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

media_1390072399508.png

Step 16: Type:

./installgugent.sh yourvcacWindowsServer ssl

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

installgugent

Step 17: type ./rungugent.sh to test the installation

rungugent

 

 

 

 

 

 

 

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

media_1389983507412.png

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

media_1389983566827.png

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

media_1389980678361.png

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

Remember, sharing is caring ->Tweet about this on Twitter
Twitter
Share on Facebook
Facebook
0Share on LinkedIn
Linkedin
Email this to someone
email

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 | VMtoCloud.com

  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.