Prepare a Linux Reference Machine to Support Software

<

You use a single script to install the Java Runtime Environment, guest agent, and Software bootstrap agent on your Linux 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 Bash.

Important:

The boot process must not be interrupted. Configure the virtual machine so that nothing pauses the virtual machine boot 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 Linux reference machine.

Verify that the following commands are available, depending on your Linux system:

yum or apt-get

wget or curl

python

dmidecode as required by cloud providers

Common requirements such as sed, awk, perl, chkconfig, unzip, and grep depending on your Linux distribution

You might also use an editor to inspect the downloaded prepare_vra_template.sh script, which exposes the commands that it uses.

If you plan to remotely access the machine for troubleshooting or other reasons, install OpenSSH.

In the untar output, find the installer script, and make it executable.

chmod +x prepare_vra_template.sh

Run the installer script.

./prepare_vra_template.sh

If you need information about non-interactive options and expected values, see the script help.

./prepare_vra_template.sh --help

Follow the prompts.

A confirmation appears when installation succeeds. If errors and logs appear, resolve the errors and rerun the script.

When finished, shut down the Linux 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

On your hypervisor or cloud provider, turn 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.