Pre-requisites for Monitoring the Oracle VirtualBox in an Agent-based Manner

General Pre-requisites

Enable the eG agent to communicate with the eG manager port (default: 7077).

Pre-requisites for Auto-Discovering VMs and Obtaining their Outside View

  1. Ensure that the eG agent is able to connect to the target VirtualBox via SSH. 

  2. Make sure that the SSH port (default: 22) is opened for communication between the eG agent and the Oracle VirtualBox.

  3. Configure all the tests that the eG agent executes with the name and password of a user who has the right to access the target Oracle VirtualBox via SSH.

  4. To enable the eG agent to run VDA commands on the VirtualBox, install the sudo package on the VirtualBox. To install this package, do the following:

    • Login to the Solaris system hosting the VirtualBox as a root user.

    • To download the sudo package, connect to the URL: http://sysinfo.bascomp.org/solaris/installing-sudo-on-solaris/

    • If the Solaris processor is Intel based, download the file TCMsudo-1.8.2-i386.pkg.gz from the web site mentioned above. On the other hand, if the Solaris host uses a SPARC processor instead, download the file TCMsudo-1.8.2-sparc.pkg.gzfrom the web site.

    • Download the chosen file to any location on the VirtualBox host (say, /tmp).

    • From the Solaris prompt, switch to the directory hosting the downloaded package and unzip the compressed package using the following command:

      gunzip <package_name>

      For instance:

      gunzip TCMsudo-1.8.2-sparc.pkg.gz

    • Then, install the package by issuing the following command at the prompt:

      pkgadd  -d <package name>

      For instance:

      pkgadd –d TCMsudo-1.8.2-sparc.pkg

    • Once installation is complete, you will find that the package is installed in the /usr/local/ folder on the Solaris host.

  5. All the tests run by the eG agent should be configured with the full path to the install directory of the sudo package;

Pre-requisites for Obtaining the Inside View VMs

  1. Install the eG VM Agent on each VM. To know more about the eG VM agent and how to install it, refer to Configuring the Remote Agent to Obtain the Inside View of VMs.

  2. Enable the eG agent to communicate with the port at which the eG VM Agent listens (default port: 60001).

  3. Set the Inside View Using flag for all the “inside view” tests to eG VM Agent.