In Part 2 of this blog series, we will be looking at automating the installation of the vRA IaaS Management Agent which needs run on a Microsoft Windows system. The IaaS Management Agent installer is provided through the vRA Appliance which you can downloaded by opening a browser to the following URL:

https://[VRA_APPLIANCE_HOSTNAME]:5480/installer/download/vCAC-IaaSManagementAgent-Setup.msi

When installing the agent, you will need to provide information about the vRA Appliance that you wish to register the IaaS Management Agent with. The following Powershell script called installvRAIaaSAgent.ps1 will automatically download the vRA Iaas Management Agent from the vRA Appliance and then perform a silent installation. There are 5 mandatory variables that you will need to edit before running the script and the table below describes each of their functions:

Variable Description VRA_APPLIANCE_HOSTNAME Hostname or IP of vRA Appliance VRA_APPLIANCE_USERNAME Username of vRA Appliance (default: root) VRA_APPLIANCE_PASSWORD Password of vRA Appliance VRA_APPLIANCE_AGENT_DOWNLOAD_PATH Path to store vRA Agent (optional) VRA_APPLIANCE_AGENT_INSTALL_LOG Path to store vRA Agent install logs (optional) VRA_IAAS_SERVICE_USERNAME OS username to the vRA IaaS Windows System VRA_IAAS_SERVICE_PASSWORD OS password to the vRA IaaS Windows System

Here is an example of running the script on my vRA IaaS Windows system:



In the final part of this series we will take a look at automating the configuration of both the vRA Appliance which includes Horizon SSO and the vRA IaaS Windows system which includes the various IaaS components.