Prepare Windows for vRA software deployment
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.
Scroll down to Windows Software Installers.
Right click on prepare_vra_template.ps1 and Save As.
Go to your download folder and right-click prepare_vra_template and select Properties.
Unblock the file.
Before proceeding with the bootstrap agent installation first check if .NET Framework 3.5 is available on your system.
Start a PowerShell console and run the prepare_vra_template.ps1 script.
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.
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.
After filling in all the required input, the script downloads the necessary software from the vRealize Automation Appliance and installs it on the host.
Validate your installation by checking the newly created directories for the vRealize Automation Guest- and Bootstrap agent plus installed Services for both agents.
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.
That’s all. Happy software deployment!
Other articles in the series vRealize Automation:
- Setup provisioning of vCloud Air workloads
- Setup a vCloud Air Endpoint in vRealize Automation
- Setup Postgres database high availability for vRealize Automation
- Setup vRealize Automation Cost profiles & currency
- Speed up vRealize Automation life cycle updates
- Configure vRealize Automation not to delete virtual machines
- Track infrastructure changes with vRealize Automation Data Collection
- MS SQL high availability support for vRealize Automation
- Setup the vRealize Automation prerequisites for IaaS
- vRealize Automation: How to …
- Downgrade the vRealize Automation license
- vRealize Automation 7 – New Architecture & Installation
- vRealize Automation 7 – Improved Authentication
- vRealize Automation 7 – Converged Blueprints
- vRealize Automation 7 – LifeCycle Extensibility
- How to transfer vRealize Automation payload to Orchestrator
- Automation is not difficult with vRealize Automation 7
- vRA custom host name using Orchestrator and Event Broker
- How to deliver Database-as-a-Service with vRealize Automation
- Prepare Windows for vRA software deployment
- Create a new database user using vRealize Automation XaaS
- Setup the vRealize Automation prerequisites for IaaS by Erik Scholten
- vRealize Automation 7 – New Architecture &… by Erik Scholten
- Configure vRealize Automation not to delete virtual machines by Erik Scholten
- vRealize Operations: Adding an OS Monitor Script by Martijn Smit
- Installing the Windows agent for Log Insight by Anne Jan Elsinga