You use a single script to install the Java Runtime Environment, guest agent, and Software bootstrap agent on a Windows reference machine. From the reference machine, you can create a template for cloning, a snapshot, or an Amazon machine image that supports Software components.

Software supports scripting with Windows CMD and PowerShell 2.0.

Important:

The startup process must not be interrupted. Configure the virtual machine so that nothing pauses the virtual machine startup process before reaching the login prompt. For example, verify that no processes or scripts prompt for user interaction while the virtual machine starts.

Prerequisites

  • Identify or create a Windows reference machine.

  • Establish secure trust between the reference machine and your IaaS Manager Service host. See Configuring the Guest Agent to Trust a Server.

  • If you plan to remotely access the machine for troubleshooting or other reasons, install Remote Desktop Services (RDS).

  • Remove network configuration artifacts from the network configuration files.

Procedure

  1. Log in to the Windows reference server as an administrator.
  2. Open a browser to the software download page on the vRealize Automation appliance.

    https://vrealize-automation-appliance-FQDN/software

  3. Save the template ZIP to the Windows server.

    prepare_vra_template_windows.zip

  4. Extract the ZIP contents to a folder, and run the batch file.

    .\prepare_vra_template.bat

  5. Follow the prompts.
  6. When finished, shut down the Windows virtual machine.

Results

The script removes any previous guest or Software bootstrap agents, and installs the supported versions of the Java Runtime Environment, the guest agent, and the Software bootstrap agent.

What to do next

Convert the reference machine into a template for cloning, a snapshot, or an Amazon machine image. Each supports Software components, and infrastructure architects can use them when creating blueprints.