How to create a vCAC 6 Linux Guest Agent Template

In this example I am configuring a Linux Template that will be used to create a vCAC 6 Blueprint. This is using a vSphere 5.x VM. Start with a fresh build of Linux with VMware tools installed.

NOTE: You if you are using vCAC (vRA) with a Windows 2012 IaaS server you will need to disable TLS 1.2 on that server for the guest agent to work. http://support.microsoft.com/kb/245030

Start by downloading the Linux Guest agent packages from the vCAC appliance home page. Download the Linux Guest agents from https://FQND-of-vCACappliance:5480/installer/

media_1389978854261.png

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. You can download WINSCP for free at the link below

media_1389979722653.png

Now use PUTTY to open an SSH session, login as ROOT and change to the /tmp directory You can download Putty For free at the link below

media_1389979379492.png

Run the following command to install the vCAC Guest agent rpm -i gugent-6.0.0-2026.x86_64.rpm

media_1389979915571.png

rpm -i gugent-6.0.0-2026.x86_64.rpm

Now we need to make sure the SSL certificate is available on the Linux Template you are creating, open firefox to your FQDN of your vCAC IaaS box and login as your cloud admin for example https://vcac-w8-01a.corp.local

media_1391571624616.png

Click the Lock and then click more information

media_1391571740094.png

Now click View Certificate

media_1391571778876.png

On the next screen click the Details tab, then click export

media_1391571831840.png

Now click Export and save the file to your desktop, make sure to save as cert and type X.509 Certificate (PEM)

media_1391571875290.png

Now use WinSCP to copy the cert.crt file to your Linux template to the /usr/share/gugent directory

media_1391571949324.png

Now go back to your putty session of your Linux template and type cd /usr/share/gugent and press enter

media_1390072399508.png

Now run the command openssl x509 -in mycert.crt -out mycert.pem -outform PEM

media_1391572081303.png
openssl x509 -in cert.crt -out cert.pem -outform PEM

Now we are ready to register the Guest agent with your vCAC Windows Server type ./installgugent.sh FQDNofyourvcacIaaSWindowsServer ssl and press enter for example ./installgugent.sh vcac-w8-01a.corp.local:443 ssl

media_1391571304369.png
./installgugent.sh vcac-w8-01a.corp.local:443 ssl

type ./rungugent.sh to test the installation

Please NOTE: Verify that the vCAC endpoint is displayed as https://vcac-WindowsboxFQD/VMPS2 if not the agent will not function and provisioning will be stuck at CustomizeOS. See my example below.

media_1391571389931.png

./rungugent.sh

The Guest agent requires SELinux to be disabled change directory to /etc/sysconfig and edit the selinux file

media_1389983507412.png

Change the following line to disabled and save the file by pressing the ESC key then hold shift and type ZZ.

media_1389983566827.png
NOTE: If you are using RHEL/CENTOS 6.5 or higher you will also need to install the demicode package.
Type:
yum -y install dmidecode
Press enter

Shutdown your Linux Server by typing shutdown now and press enter

Important! If your vCAC/vRA IaaS box is running Windows Server 2012 you will need to apply the following patch to it or the Guest agent will not be able to communicate with vCAC/vRA. Click here!

You can now create a template or make a vCenter Snapshot to create a linked clone in vCAC Learn how to Create a Linked Clone Here

Remember sharing is caring!

21 Replies to “How to create a vCAC 6 Linux Guest Agent Template”

  1. Pingback: Self Service application Portal with vCAC 6 and Chef | VMtoCloud.com

  2. Is there a way to download/extract the vCAC guest agents, both Windows and Linux, without deploying vCAC?

  3. Pingback: Puppet Enterprise with vCAC – Part 1 Automatically install the PE agent | VMtoCloud.com

  4. Pingback: Docker as a Service in vCAC Part 1 | VMtoCloud.com

  5. Just for those who waste time on searching info about this error:

    Application: [Error] Failed to query machine for UUID
    Application: [Debug] Uninitializing subsystem: Logging Subsystem

    On CentOS 6.5 we’ve faced this issue due to dmidecode package which was not installed. After installing it, everything went fine.

    • extremely rated rel2cd&#8o30;Herlo currently around there, You’ve done an incredible work. I’ll without question delicious this along with personally suggest every single child my exclusive pals. I’m self-confident they’ll become benefited out on the internet web web website….

  6. Pingback: How to call vCAC (vRA) from command line to request VM’s and run scripts in the guest | VMtoCloud.com

  7. Is there any way to create DNS host and pointer records for Linux VMs deployed via VCAC?

    For Windows server VMs this happens automatically when they join domain but for Linux VMs it is still a manual process.

    Help would be appreciated!!

  8. Pingback: MaaS – Minecraft as a Service | Virtualise Me

    • Does one operate another website? This indicates to me which i acquired viewed the structure area, neevltheress the different ended up being with regards to something different. Nicely, through what I notice is often a web template produced in buy.

  9. Thanks so much for giving everyone such a splendid opportunity to read critical reviews from this blog. It’s always so enjoyable and as well , full of fun for me and my office fellow workers to search your web site nearly thrice in 7 days to study the new guidance you have. And of course, I am usually happy concerning the gorgeous tips and hints you give. Some 3 facts in this post are really the best we have all had.

    • Pss..ma asteptam la mai mult O ardeti toate asa trist, oobithele mele. Uauauauau si eu fac sex oral. Sa inteleg ca..daca..nu m-am at0ata&#823a;asa…l-cm stricat? Aia cu galeata e expresie, pisicute experimentate ce sunteti :*

  10. Had no idea that dogs had that bad fame in Afghanistan, as the author say, calling someone "dog" starts a fight, what a cultural shock.I LOVE my puppy and I cannot imagen how someone could hurt, no to mention kill, one of them.Really interesting article showing us the cultural diference between us.

  11. Mine just arrived today… I cannot wait to use it. Thank you bambootools.com. I think now that I have it I may take a stab at making the larger square one so that I can make deeper plates, dishes, etc.

  12. Thaís comentou em 7 de julho de 2012 às 00:42. Gostei! Achei que eu fosse a única a achar que babyliss de salão fca com cara de vovó! Ainda beeeem que a Júlia ensina pra gente!! ahahhaE Jana, adoreeei o ItPobrinha! ;D

  13. I’ve spent most of my 50 years overthinking things and the last 5-10 trying to stop, lol!Though it’s still a battle, I seem to sleep better now!Thank you for this, dear friend!alan

Leave a Reply to http://www./ Cancel 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.