Sam Perrin TIL Blog

vRealize Automation - Install vRA Agents on CentOS virtual machine

October 01, 2019

Ensure wget is install and change to the tmp directory for when we download the agent installer

yum install wget -y
cd /tmp

Download and extract the installer and make the script executable

wget --no-check-certificate https://acvra01.automationcore.xtravirt.com/software/download/prepare_vra_template_linux.tar.gz
tar -xvf prepare_vra_template_linux.tar.gz
cd prepare_vra_template_linux
chmod +x prepare_vra_template.sh

Execute the script and follow the prompts. You will need to know the FQDN for the vRA and IaaS boxes.

./prepare_vra_template.sh

Remove udev persistence rules.

/bin/rm -f /etc/udev/rules.d/70*

Enable machines cloned from this template to have their own unique identifiers

/bin/sed -i '/^\(HWADDR\|UUID\)=/d' /etc/sysconfig/network-scripts/ifcfg-eth0

If you rebooted or reconfigured the reference machine after installing the software bootstrap agent, reset the agent and follow the steps.

/opt/vmware-appdirector/agent-bootstrap/agent_reset.sh

Power down the VM

shutdown -h now


Sam Perrin

Written by Sam Perrin who loves all things Automation related! You should follow him on Twitter