Installing NV Test Manager on Linux

This section describes how to install, configure, and set up NV Test Manager for Linux.

Note: Make sure to review Before You Install, which provides information on the Network Virtualization installation package, and on integrating Network Virtualization with other HPE testing tools.

Back to top

Prerequisites

To install the prerequisites:

  1. Install Java, if not already installed. For supported versions, see System Requirements for NV Test Manager.

    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

Upgrade NV Test Manager for Linux

This section describes how to upgrade NV Test Manager on a Linux machine.

Caution:  

  • Data. The upgrade process for NV Test Manager overwrites your existing test data. We recommend backing up your data before starting the upgrade.

  • License. The upgrade process for NV Test Manager removes your existing license. To replace the license:

    1. Log in to the HPE Software Licenses and Downloads portal (https://h22244.www2.hpe.com/mysoftware/index). (Requires your corporate HPE Passport)
    2. Under Rehosts, reactivate your license according to the online instructions.

To upgrade NV Test Manager on Linux:

  1. Back up the NV RunResults data folder:

    cp -r /opt/nv-9.xx-x.<build number>/RunResults/ <backup_location>

    For example: cp -r /opt/nv-9.10-0.325/RunResults/ /opt/

  2. Install NV Test Manager 9.13 according to the instructions in Install NV Test Manager on Linux below.
  3. Restore the NV RunResults data folder:

    1. Stop the NV service:

      service nvd stop

    2. Copy the backed up data to the NV Test Manager data folder (by default , /etc/opt/nv/TM/RunResults):

      cp -r <backup_location>/RunResults /<NV Test Manager data folder specified during installation>/

      For example: cp -r /opt/RunResults/ /etc/opt/nv/TM/RunResults/

    3. Start the NV service:

      service nvd start

Back to top

Install NV Test Manager on Linux

This section describes how to install and uninstall NV Test Manager on a Linux machine.

Note:  

  • Make sure to install NV Test Manager on a different machine from the AutoPass License Server

  • Installation must be done with root (superuser) permissions.

  • When installing NV Test Manager for Linux on virtual machines, do not clone the machine after the trial license has started.

To install NV Test Manager on Linux:

  1. Grant execute permission:

    • Red Hat/Centos/SUSE:

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

      chmod +x NVTestManager-9.13.0.XXXX.deb.bin
  2. Start the NV Test Manager installation:

    • Red Hat/Centos/SUSE:

      ./NVTestManager-9.13.0.XXXX.noarch.rpm.bin -i
    • Ubuntu:

      ./NVTestManager-9.13.0.XXXX.deb.bin -i
  3. Read the EULA, using the space bar to scroll down.

  4. Press 'y' to accept the EULA.

  5. Specify the Network Virtualization data folder.
    Default:/etc/opt/nv/TM/RunResults

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

  6. Specify the connection port for NV Test Manager.
    Default: 8182

  7. Specify whether to use a secure connection (HTTPS). [y/n]
    Default: y

  8. Enable remote connections (open the port in the firewall). [y/n]
    Default: y

  9. Specify whether to use NV Server. (Select only if you need to install and use NV Server.) [y/n]
    Default: n

  10. If you selected y in the previous step, do one of the following:

    • If you plan to use Standalone mode, specify the following:

      1. User name (6-30 characters using a-z, A-Z, 0-9, -, _ )

      2. Password (8-30 characters from at least 3 of the following groups:
        a-z, A-Z, 0-9, - ,_ )

    • If you plan to use Server mode, enter the serverNV Server address:

      1. NV Server hostname/FQDN/IP Address

      2. NV Server port [1-65535] (default=8443)

  11. Enable the NV proxy [y/n]
    Default: y

  12. If you selected y in the previous step, do the following:

    1. Specify a proxy port [1-65535].
      Default: 8888
    2. Enable proxy authentication (not recommended) [y/n]
      Default: n

    3. Allow Network Virtualization to analyze secured communication (HTTPS) by functioning as a man-in-the-middle proxy? [y/n]
      Default: y

    4. Define upstream proxy (required, for example, when the application server is on the cloud, and Network Virtualization is on the LAN behind the corporate proxy) [y/n]
      Default: n

    5. If you selected y in the previous step, do the following:

      1. Specify the upstream proxy address.

      2. Specify the upstream proxy port.

Back to top

To uninstall NV Test Manager on Linux using the installation package:

  • Red Hat/Centos/SUSE:

    ./NVTestManager-9.13.0.XXXX.noarch.rpm.bin -r
  • Ubuntu:

    ./ NVTestManager-9.13.0.XXXX.deb.bin –r

Back to top

To uninstall NV Test Manager on Linux without using the installation package:

  • Red Hat/Centos/SUSE:

    rpm -e NVTestManager
  • Ubuntu:

    dpkg -r nvtestmanager

Back to top

Install NV Test Manager silently on Linux

This section describes how to install and uninstall NV Test Manager silently on a Linux machine. For a list of switches, see Installation switches.

To install NV Test Manager silently on Linux:

  1. Grant execute permission:

    • Red Hat , CentOS, or SUSE:

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

      chmod +x NVTestManager-9.13.0.XXXX.deb.bin
  2. Install NV Test Manager:

    • Red Hat/Centos/SUSE:

      ./NVTestManager-9.13.0.XXXX.noarch.rpm.bin -i -s -a
    • Ubuntu:

      ./NVTestManager-9.13.0.XXXX.deb.bin -i -s -a
  3. Configure NV Test Manager:

    • Red Hat/Centos/Ubuntu:

      service nvd setting
    • SUSE:

      /etc/init.d/nvd setting
  4. Specify the Network Virtualization data folder.
    Default:/etc/opt/nv/TM/RunResults

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

  5. Specify the connection port for NV Test Manager.
    Default: 8182

  6. Specify whether to use a secure connection (HTTPS). [y/n]
    Default: y

  7. Enable remote connections (open the port in the firewall). [y/n]
    Default: y

  8. Specify whether to use NV Server. (Select only if you need to install and use NV Server.) [y/n]
    Default: y

  9. If you selected y in the previous step, do one of the following:

    • If you plan to use Standalone mode, specify the following:

      1. User name (6-30 characters using a-z, A-Z, 0-9, -, _ )

      2. Password (8-30 characters from at least 3 of the following groups:
        a-z, A-Z, 0-9, - ,_ )

    • If you plan to use Server mode, enter the serverNV Server address:

      1. NV Server hostname/FQDN/IP Address

      2. NV Server port [1-65535] (default=8443)

  10. Enable the NV proxy [y/n]
    Default: y

  11. If you selected y in the previous step, do the following:

    1. Specify a proxy port [1-65535].
      Default: 8888
    2. Enable proxy authentication (not recommended) [y/n]
      Default: n

    3. Allow Network Virtualization to analyze secured communication (HTTPS) by functioning as a man-in-the-middle proxy? [y/n]
      Default: y

    4. Define upstream proxy (required, for example, when the application server is on the cloud, and Network Virtualization is on the LAN behind the corporate proxy) [y/n]
      Default: n

    5. If you selected y in the previous step, do the following:

      1. Specify the upstream proxy address.

      2. Specify the upstream proxy port.

Back to top

To uninstall NV Test Manager silently on Linux:

Run:

  • Red Hat, CentOS, and SUSE:

    ./NVTestManager-9.13.0.XXXX.noarch.rpm.bin -r -s
  • Ubuntu:

    ./NVTestManager-9.13.0.XXXX.deb.bin -r -s

Back to top

Installation switches

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

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

-i --install

Install the NV Test Manager package.

-r --remove

Uninstall the NV Test Manager package.

-u --upgrade

Uninstall the previous version and install the new version.

-v --version

Print version.

-s --silent

Silent install/uninstall of the NV Test Manager 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

See also: