Install NV for Load Generator on Linux

This section describes how to install and uninstall NV for Load Generator on a Linux machine.

Note: NV Insights is not supported for tests run on Linux.

To install the prerequisites:

  1. Install Oracle Java JRE v8 64-bit or Azul Zulu OpenJDK v8 64-bit , if not already installed.

    Zulu

    Install from repository (including dependencies)

    Red Hat:

    1. Download the zulu.repo file from:
      http://repos.azulsystems.com/rhel/zulu.repo
    2. Copy:

      cp zulu.repo /etc/yum.repos.d/

    3. Install Zulu:

      yum install zulu-8

    Ubuntu: 

    apt-add-repository 'deb http://repos.azulsystems.com/ ubuntu stable main'

    apt-get update
    apt-get install zulu-8

    Install from package (without dependencies)

    (Useful if the target computer does not have Internet access)

  2. Set the default Java path:

    Zulu

    mkdir /usr/java (Only if /usr/java does not exist)

    cd /usr/java

    rm default

    ln -sf /usr/lib/jvm/<zulu-8 package name>/jre default

    Oracle Java

    Confirm the default path:

    readlink -f /usr/java/default/

    Sample output:

    /usr/java/jdk1.8.0_131/jre/
  3. Install GCC:

    • Red Hat:

      yum install gcc

    • SUSE:

      zypper install gcc

    • Ubuntu:

      apt-get install gcc

  4. Install kernel-devel/linux-headers:

    • Red Hat:

      yum install -y kernel-devel-$(uname -r)

    • SUSE:

      zypper install kernel-default-devel

    • Ubuntu:

      apt-get install linux-kernel-devel

  5. Install the ed line editor on Red Hat:

    yum install ed

  6. For all Ubuntu distributions that do not include the make command by default—for example, 16.04—install build-essential:

    apt-get install build-essential

Back to top

To install NV for Load Generator on Linux:

  1. Make sure that:

    • All prerequisites are met.
    • You are installing with root (superuser) permissions.
  2. Grant execute permission:

    • Red Hat or SUSE:

      chmod +x NVLoadGenerator-9.13.0.XXXX.noarch.rpm.bin
    • Ubuntu:

      chmod +x NVLoadGenerator-9.13.0.XXXX.deb.bin
  3. Start the NV for Load Generator installation:

    • Red Hat or SUSE:

      ./NVLoadGenerator-9.13.0.XXXX.rpm.bin -i
    • Ubuntu:

      ./NVLoadGenerator-9.13.0.XXXX.deb.bin -i
  4. Read the EULA, using the space bar to scroll down. Press y to accept the EULA.

  5. Specify the Network Virtualization data folder.

    Default: /etc/opt/nv/LG/RunResults

    Note: To specify a non-default data folder, the folder must already exist.

  6. Specify the connection port for NV for Load Generator.

    • On NV for Load Generator: The port is used to retrieve Network Virtualization statistics.

    • On other components: The port is used for internal Network Virtualization communication on the machine.

    Default: 8182

  7. Enable remote connections to open the port in the firewall, if needed.
    Default: y

Back to top

To uninstall NV for Load Generator on Linux:

  1. Run the following with root (superuser) permissions:

    • Red Hat or SUSE:

      rpm -e NVLoadGenerator
    • Ubuntu:

      dpkg -r nvloadgenerator
  2. At the uninstall prompt, press 'y' to permanently remove NV for Load Generator.

Back to top

Install NV for Load Generator silently on Linux

This section describes how to install NV for Load Generator silently on a Linux machine. For a list of switches, see Installation switches.

To install NV for Load Generator silently on Linux:

  1. Grant execute permission:

    • Red Hat or SUSE:

      chmod +x NVLoadGenerator-9.13.0.XXXX.noarch.rpm.bin
    • Ubuntu:

      chmod +x NVLoadGenerator-9.13.0.XXXX.deb.bin
  2. Run: 

    ./NVLoadGenerator-9.13.0.1121.deb.bin -i -s -a
  3. Start the configuration wizard by running:

    • Red Hat or Ubuntu:

      service nvd setting
    • SUSE:

      /etc/init.d/nvd setting
  4. Specify the Network Virtualization data folder.

    Default: /etc/opt/nv/LG/RunResults

    Note: To specify a non-default data folder, the folder must already exist.

  5. Specify the connection port for NV for Load Generator.

    • On NV for Load Generator: The port is used to retrieve Network Virtualization statistics.

    • On other components: The port is used for internal Network Virtualization communication on the machine.

    Default: 8182

  6. Enable remote connections to open the port in the firewall, if needed.
    Default: y

Back to top

Installation switches

You can use these command-line switches when installing and configuring Network Virtualization.

./NVLoadGenerator-9.13.0.XXXX.noarch.rpm.bin [-i|-r|-u|-v] [-s] [-a] [-h]
Switch Description

-i --install

Install the NV for Load Generator package.

-r --remove

Uninstall the NV for Load Generator package.

-u --upgrade

Uninstall the previous version and install the new version.

-v --version

Print version.

-s --silent

Silent install/uninstall of the NV for Load Generator package.

Note: After installation, you need to run 'service nvd setting' to configure Network Virtualization.

Relevant only with: -i, -r, -u

-a --accepteula

Accept End User License Agreement (EULA).

Required for silent installation or upgrade.

Relevant only with: -i, -u

-h --help

Print this help.

Back to top

Installation logs on Linux

Installation logs are located under /opt/NVLoadGenerator-X.XX.X.XXXX/logs/. For example:

  • Installation log. /opt/NVLoadGenerator-9.13.0.1234/logs/nv_deploy.log
  • Driver log. /opt/NVLoadGenerator-9.13.0.1234/logs/simdrv_build.log

Back to top