Install Accelerator on the VM

Install the Accelerator on the virtual machine and configure the VM per your site's environment.

Log into the VM using the default user "opc" and the private SSH key of the user account provided during the creation of the VM. For more information see Accessing an Instance from UNIX and UNIX-Like Systems.

A startup script is provided during the creation of the cloud environment. This script (cloud-init script) is executed after a cloud node is deployed and is used to set up the system environment so that nodes deployed in the cloud can communicate with the workload manager. A service specifically designed for cloud instance initialization is cloud-init and is utilized by NavOps when booting cloud nodes, therefore it must be installed on the VM. For more information about installing cloud-init, refer to the Cloudinit Documentation.

  1. SSH into the virtual machine using the default user "opc", the private SSH key of the user account provided during the creation of the VM and the External IP assigned to the VM.
    ssh -i PRIVATE_KEY_PATH opc@PUBLIC_IP_ADDR
    Where PRIVATE_KEY_PATH is the path to the file that contains the private SSH key of the user account provided during the creation of the VM and PUBLIC_IP_ADDR is the public IP address of the VM.
    Figure 1. Bursting Virtual Machine

    Bursting Virtual Machine
  2. Enter the command:
    sudo -i
  3. Copy the Accelerator installation package to the VM.
  4. Using the Accelerator Software Installation Guide, install and configure the system. Make the path same as the one on the Head Node. The scaling process uses a lot of data from the server, this make it easier to run the cloud-init and create the environment.
  5. Configure the VM for your site's environment such as mounting file systems, connecting it to the authentication service, installing any applications, etc.
  6. Check if cloud-init is installed. For example:
    yum list installed | grep cloud
  7. If cloud-init is not present, install it. For example:
    yum install cloud-init
  8. Submit a job and test to ensure it is working as expected.
  9. Get the NATS packages from:
    https://github.com/nats-io/natscli/releases
    nats-0.0.35-amd64.deb
    nats-0.0.35-amd64.rpm
  10. Install NATS CLI. For example:
    sudo rpm -i nats-0.0.35-amd64.rpm
  11. To validate NATS installation, type nats and you should see the help text for NATS. This validates that NATS is installed and will meet our requirements.