Installing a VRM Linux agent

VRM uses a Linux agent to manage KVM virtual networks for Red Hat, Ubuntu, and Fedora, and Citrix XenServer virtual networks. With the agent, VRM can obtain virtual network data and set the virtual network parameters. Each VRM Linux agent can manage up to 200 physical KVM and Xen servers. You can install multiple VRM Linux agents as needed.

VRM Linux agents can run on Red Hat Linux 6.0 or later versions.

Installation prerequisites

A VRM Linux agent is a 32-bit program and applies to 32-bit and 64-bit Red Hat Linux.

To install the VRM Linux agent on 32-bit Red Hat Enterprise Linux, make sure the Linux supports the Web server function and has the sshpass-1.05-1.el5.rf.i386.rpm software package installed.

To install the VRM Linux agent on 64-bit Red Hat Enterprise Linux, first install the following 32-bit software packages:

This example uses Red Hat Enterprise Linux 6.4. For other Linux 6 versions, the package names might include different versions.

To install the required software packages:

  1. Log in to Linux as root.

  2. Insert the Linux installation disk into the CD drive and enter the directory where packages are saved.

  3. Save the packages to a local directory and download sshpass-1.05-1.el6.rf.i686.rpm from the Internet.

  4. Launch a terminal window, and then enter the local directory where the packages are saved.

  5. Install packages, where xxx indicates the package name.

    rpm -i --nodeps xxx
    

Installation procedure

  1. Decompress the vrm-plug-linux.zip file in the tools directory of the IMC installation package.

  2. Save the decompressed files to a local directory.

  3. Run the install.sh script in the vrm-plug-linux folder.

  4. Enter the IP address of the IMC server. The default setting is localhost.

  5. Verify that the installation is successful.

    ps –ef | grep imcvnmagent
    

    When the agent is successfully installed, the imcvnmagent process is running.

If a VRM Linux agent was previously installed, run the uninstall.sh script in the vrm-plug-linux directory to uninstall the VRM Linux agent first.