Install NV for Load Generator on Linux

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

Note:  

  • Starting from NV 2023 R1, NV for Load Generator is no longer supported on Linux machines.

  • NV Insights is not supported for tests run on Linux.

Installation prerequisites

To install the prerequisites:

  1. Install Oracle Java JRE or Azul Zulu OpenJDK if not already installed. For supported versions, see System requirements.

    Note:  

    • For NV 2022 R2 and later, you must install Zulu OpenJDK 11 on your Linux machines that are running NV, and update the Java default path to Zulu 11.

    • For distributions that support NV, see the relevant version of the Supported Protocols guide available from Support Matrix.

    Zulu

    Install from repository (including dependencies)

    Red Hat/Oracle Enterprise Linux:

    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:

      NV versions earlier than 2022 R2:

      yum install zulu-8

      NV 2022 R2 and later:

      yum install zulu-11

      ln -sf /usr/lib/jvm/zulu-11/ default

    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

    NV versions earlier than 2022 R2:

    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

    NV 2022 R2 and later: Update the Java path to point to Zulu 11 by removing the existing link:

    rm -f /usr/java/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/Oracle Enterprise Linux:

      yum install gcc

    • SUSE:

      zypper install gcc

    • Ubuntu:

      apt-get install gcc

  4. Install kernel-devel/linux-headers:

    • Red Hat/Oracle Enterprise Linux:

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

    • SUSE:

      zypper install kernel-default-devel

    • Ubuntu:

      dpkg -s linux-headers-$(uname -r)

  5. Install the ed line editor on Red Hat/Oracle Enterprise Linux:

    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

Installation switches

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

./NVLoadGenerator-2020.0.0.xxxx.noarch.rpm.bin [-i|-r|-u|-v] [-s] [-a] [-h] [-l]
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

-l Ignore load generator verification.

-h --help

Print this help.

Back to top

Installing 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-2020.0.0.xxxx.noarch.rpm.bin
    • Ubuntu:

      chmod +x NVLoadGenerator-2020.0.0.xxxx.deb.bin
  3. Start the NV for Load Generator installation (the installation files are located in the following folder <LoadRunner installation package>\MF_LG_2020_Linux_64bit/NV4LG):

    • Red Hat or SUSE:

      ./NVLoadGenerator-2020.0.0.2061.noarch.rpm.bin -i –l
    • Ubuntu:

      ./NVLoadGenerator-2020.0.0.2061.deb.bin -i –l
  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

Uninstalling 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-2020.0.0.xxxx.noarch.rpm.bin
    • Ubuntu:

      chmod +x NVLoadGenerator-2020.0.0.xxxx.deb.bin
  2. Run: 

    ./NVLoadGenerator-2020.0.0.2061.deb.bin -i -s -a -l
  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 logs on Linux

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

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

Back to top