With vRealize Automation you can install and configure software during deployment. For this to happen a Bootstrap agent has to be in place. This agent can be installed manual or in case of Linux with the help of a template script. In this article I will describe how to prepare a Windows host for vRA software deployment.

With the latest version of vRealize Automation, version 7.2, VMware now also offers a Bootstrap agent installation script for Windows based on PowerShell. This Windows script can easily be accessed from the main page by entering your vRealize Automation appliance URL in a browser.

Click on Guest and software agents page.

vRA software deployment

Scroll down to Windows Software Installers.

Right click on prepare_vra_template.ps1 and Save As.

vRA software deployment

Go to your download folder and right-click prepare_vra_template and select Properties.

Unblock the file.

vRA software deployment

Before proceeding with the bootstrap agent installation first check if .NET Framework 3.5 is available on your system.

vRA software deployment

Start a PowerShell console and run the prepare_vra_template.ps1 script.

vRA software deployment

Dependent on your existing policy the script will ask you to change the policy so you can run the script and proceed with the Bootstrap agent installation.

vRA software deployment

After this, the script will ask you to fill in your vRealize Automation Appliance- and vRealize Automation IAAS host address.

Than with which Cloud Provider the Bootstrap agent must communicate. The 7.2 agent supports vSphere, vCloud Air, vCloud Director and AWS EC2.

And finally, the script will ask under which User Type the agent must run. Local user is default which creates a Darwin user to run the agent. In my case I use the Local System account.

vRA software deployment

After filling in all the required input, the script downloads the necessary software from the vRealize Automation Appliance and installs it on the host.

vRA software deployment

Validate your installation by checking the newly created directories for the vRealize Automation Guest- and Bootstrap agent plus installed Services for both agents.

vRA software deployment

vRA software deployment

Shut down your Windows machine and create a template from it to be used by vRealize Automation.

If you, for any reason, want to uninstall the bootstrap agent start a Command line, go to the C:\opt\vmware-appdirector\agent-bootstrap\ directory and run the appd_bootstrap_removal batch file.

vRA software deployment

vRA software deployment

That’s all. Happy software deployment!


Other articles in the series vRealize Automation: