/**/

NNM iSPI Performance for Traffic

For the Windows® and Linux® operating systems

Software Version: 10.30

Customized output from:

Network Node Manager iSPI Performance for Traffic Interactive Installation Guide

Document Release Date: June 2017

Software Release Date: June 2017

HP logo

Legal Notices

Warranty

The only warranties for Seattle SpinCo, Inc and its subsidiaries (“Seattle”) products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. Seattle shall not be liable for technical or editorial errors or omissions contained herein.

The information contained herein is subject to change without notice.

Restricted Rights Legend

Confidential computer software. Except as specifically indicated, valid license from Seattle required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.

(missing or bad snippet)

Copyright Notice

© 2014-2017 Hewlett Packard Enterprise Development LP

Trademark Notices

Adobe® is a trademark of Adobe Systems Incorporated.

Apple is a trademark of Apple Computer, Inc., registered in the U.S. and other countries.

AMD is a trademark of Advanced Micro Devices, Inc.

Google™ is a registered trademark of Google Inc.

Intel®, Intel® Itanium®, Intel® Xeon®, and Itanium® are trademarks of Intel Corporation in the U.S. and other countries.

Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.

Internet Explorer, Lync, Microsoft, Windows, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Oracle and Java are registered trademarks of Oracle and/or its affiliates.

Red Hat® Enterprise Linux Certified is a registered trademark of Red Hat, Inc. in the United States and other countries.

sFlow is a registered trademark of InMon Corp.

UNIX® is a registered trademark of The Open Group.

 
 
 
 

Network Node Manager iSPI Performance for Traffic Interactive Installation Guide

Choose an Installation Type

Install the NNM iSPI Performance for Traffic
Upgrade the NNM iSPI Performance for Traffic
Uninstall the NNM iSPI Performance for Traffic

The Network Node Manager iSPI Performance for Traffic Software (NNM iSPI Performance for Traffic) extends the capability of HPE Network Node Manager i Software (NNMi) to monitor the performance of the network. The NNM iSPI Performance for Traffic enriches the obtained data from the IP flow records that are exported by the routers in your NNMi network.

You must install the following components in your environment:

  • NNMi Extension for iSPI Performance for Traffic
  • Master Collector
  • Leaf Collector

You can build one of the following monitoring environments after installing the NNM iSPI Performance for Traffic:

Choose the Upgrade Path

Upgrade from 10.20
Upgrade from 10.10

You can upgrade the version 10.20 or 10.10 to the version 10.30.

Choose the Operating System

Windows
Linux

Choose the operating system on which the NNM iSPI Performance for Traffic 10.1010.20 is currently installed.

The NNM iSPI Performance for Traffic supports the following operating systems:

  • Windows
  • Linux

For more information about the list of supported operating systems, see the NNMi Ultimate Support Matrix.

The Master Collector on the NNMi Management Server

The Master Collector is installed on the NNMi management server

Select if the Master Collector is installed on the NNMi management server.

Cluster Details

Master Collector is in an HA cluster
NNMi is in an HA cluster
NNMi is in an Application Failover cluster

You can install the Master Collector in an HA cluster.

Also, specify if NNMi is installed in an HA cluster or an Application Failover cluster.

Specify if NNMi is installed in an HA cluster or an Application Failover cluster.

Choose a Database Type

Using an Embedded Database
Using an Oracle Database

A database is used for storing NNMi and NNM iSPI Performance for Traffic data. You can select one of the following database options:

  • Embedded
  • Oracle

View or print

You can view your customized document on the screen, or print it.

If you have a PDF print driver installed on your computer, click Print to create PDF documents that are customized according to your selections. PDF print drivers are available from several open source and third-party providers.

Check your selections

The following steps are customized according to your selections. Check that your selections are correct.

 

If any selections are not correct, click Change.

Prerequisites

Read the Supporting Documentation

Read the following documents to better prepare for this NNM iSPI Performance for Traffic installation:

Any system that you want to include as a node in an NNM iSPI Performance for Traffic HA cluster must meet the following requirements:

  • Supports the use of a virtual IP address.
  • Supports the use of a shared disk.
  • Meets all requirements for NNM iSPI Performance for Traffic as described in the NNMi Ultimate Support Matrix.
  • Meets all requirements described in the documentation for the HA product on which you plan to run NNM iSPI Performance for Traffic.
  • Virtual IP address for the HA cluster that is DNS-resolvable

  • Virtual hostname for the HA cluster that is DNS-resolvable

Additionally, the HA cluster configuration must, at a minimum, include the following items:

  • ssh
  • remsh

Installation Overview

You must always use the following sequence while installing the NNM iSPI Performance for Traffic:

Tip: Before installing the NNM iSPI Performance for Traffic, make sure NNMi and NPS are successfully installed. The Master Collector installation process requires the details of the NPS system.

  1. Install the NNMi Extension for iSPI Performance for Traffic. The NNMi Extension for iSPI Performance for Traffic adds the NNM iSPI Performance for Traffic-related links and views into the NNMi workspace. You must always install the NNMi Extension for iSPI Performance for Traffic on the NNMi management server.
  2. Install the Master Collector: The Master Collector is the centralized processing component for a deployment; the Master Collector receives data from all Leaf Collectors. The Master Collector can also connect and receive data from other regional Master Collectors as well as Leaf Collectors configured in the Global Network Management (GNM) setup.
  3. Install the Leaf Collector: The Leaf Collector receives the IP flow packets exported by routers, parses and filters the IP flow packets, and sends the aggregated flow records to the Master Collector.

Depending on the scale of your network, you can install a single Master Collector with a single Leaf Collectors or multiple instances of Leaf Collectors with a single instance of the Master Collector. The NNMi Extension for iSPI Performance for Traffic must always be installed on the NNMi management server.

Installing the NNMi Extension for iSPI Performance for Traffic

The NNMi Extension for iSPI Performance for Traffic adds the NNM iSPI Performance for Traffic related links and views into the NNMi workspace.

You must always install the NNMi Extension for iSPI Performance for Traffic on the NNMi management server.

In the NNMi Application Failover environment, make sure you install the NNMi Extension for iSPI Performance for Traffic on the primary and secondary NNMi systems. Before installing on the secondary system, fail over from the primary system to the secondary system.

Note: Install on both the nodes in the cluster. Put the NNMi resource group to the HA maintenance mode by placing the maintenance file under the following directory:

%NNMDataDir%\hacluster\<resource_group>

/var/opt/OV/hacluster/<resource_group>

  1. Log on to the NNMi management server with the administrative privileges. Make sure that the user with administrative privileges is part of Local administrator group.

    Log on to the NNMi management server with the root privileges.

  2. Extract the contents of the NNM iSPI Performance for Traffic installation media (or mount the media).

  3. When NNMi is on Windows. Go to the Traffic_NNM_Extension\WinNT folder on the installation media, and then double-click the setup.exe file.

    When NNMi is on Linux. Go to the Traffic_NNM_Extension/Linux directory on the installation media, and then run the setup.bin file.

    Go to the Traffic_NNM_Extension/Linux directory on the installation media, and then run the setup.bin file.

    The installer configures your system for the installation and initializes the installation process.

  4. On the Introduction (Install) page, review the overview information, and then click Next. The License Agreement page opens.
  5. Review the License Agreement, select I accept..., and then click Next. The Select Features page opens.
  6. Click Next. The Install Checks page opens.
  7. Click Next. The Pre-Install Summary page opens.
  8. Click Install. The installation process begins.
  9. During installation, the NNMi Extension for iSPI Performance for Traffic dialog box opens. In this dialog box, specify the following details:
    • NNMi User Password: Type the password of the NNMi system account.

      Note: The system account is a special administrator account that NNMi creates during installation (see the Installing NNMi section in the HPE Network Node Manager i Software Interactive Installation Guide).

    • Retype Password: Type the password again.
    • Traffic Master FQDN: Type the Fully Qualified Domain Name (FQDN) of the Master Collector system.

      Since you plan to install the Master Collector in a high availability (HA) cluster environment, you must specify the virtual IP address or virtual FQDN of the cluster.

    The following details are automatically detected by the installer:

    • NNMi User Name: The NNMi system user
    • NNMi FQDN: The Fully Qualified Domain Name of the NNMi management server
    • NNMi JNDI Port: The JNDI port number of the NNMi management server
    • Traffic Master HTTP Port: The HTTP port that is used for communication between the Master Collector and the NNMi management server

  10. When the installer completes installing the NNMi Extension for iSPI Performance for Traffic, a pop-up window appears displaying the status of the installation. Click OK.
  11. Click Done.
  12. Restart the NNMi processes after installing the NNMi Extension for iSPI Performance for Traffic. Make sure that no traffic processes are running while performing this operation.

    Restart NNMi’s processes by running the following commands:

    ovstop -c ovjboss

    ovstart -c

    You can also select Start > All Programs > HP > Network Node Manager > ovstop / ovstart.

You can remove the maintenance file from both the nodes now.

The installation log file (postInstall_traffic-nnm.log) is available in the %temp% directory.

The installation log file (postInstall_traffic-nnm.log) is available in the /tmp directory on Linux.

Installing the Master Collector

You can install the NNM iSPI Performance for TrafficMaster Collector on the NNMi management server or on a standalone, remote server.

You can install only one Master Collector in your environment. In a Global Network Management (GNM) environment, you must install one Master Collector for every region.

Preinstallation Tasks

Create a New User with the Web Service Client Role on the NNMi Management Server

Create a user from the NNMi console with the Web Service Client role. For more information on creating a new user with the Web Service Client role, see the Network Node Manager i Software Help for Administrators.

Create New Oracle Users

If you configured NNMi to use an Oracle database, the NNM iSPI Performance for Traffic also must be configured to use Oracle as its database. You can use the same Oracle instance that is used by NNMi, but you must use a unique Oracle user instance for the Master Collector.

Note Down the Details of the Oracle Server

Note down the following details of the Oracle database instance that you want to use with the Master Collector:

  • Port: The port used by the Oracle database.
  • Hostname: Note down the fully-qualified domain name of the database server.
  • Database name: Name of the Oracle database instance that you want to use with the Master Collector.
  • User name: The Oracle user name created for use with the Master Collector..
  • Password: Password of the above user.

Additional Oracle Requirements

The database administrator needs to create a tablespace that will only be used by the collector user accessing the database.

Assign a tablespace size depending on the number of nodes in your installation. For example, for an 18,000 node network, set your beginning tablespace size for 12 gigabytes (GB). Set the option for unlimited tablespace extensions in increments of 12 GB.

The database requirement grows as the collector collects additional records, so watch this growth carefully and expand your configured tablespace size when necessary.

Create an Oracle user and assign the user to the newly created tablespace. The user should have the following permissions:

  • Create sequence
  • Create session
  • Create table
  • Create view
  • FLASHBACK ANY TABLE

    recommends the FLASHBACK ANY TABLE permission to enable the collector to create restore points during migration. After the migration (or installation) completes, you can remove the FLASHBACK ANY TABLE permission.
  • SELECT ANY DICTIONARY

    You can opt to not grant the SELECT ANY DICTIONARY permission to the user. If you do not grant the SELECT ANY DICTIONARY permission, NNM iSPI Performance for Traffic does not show any information in the Health tab (under the Help > System Information menu).

    For Oracle 12.1.0.1.0 only. The SELECT ANY DICTIONARY permission, however, is required for the collector installation if you use Oracle 12.1.0.1.0. You can revoke the SELECT ANY DICTIONARY permission after the installation is complete.

Make note of the Oracle user name and password; you will need this information during the collector installation.

It is important to assign a large enough tablespace quota to a user. If the tablespace is not large enough, the collector will install, but not create the tables. This causes problems after the installation. To prevent this, set the quota to unlimited, but no smaller than 1 MB before installing the collector.

Oracle provides the high-availability solution Oracle Real Application Cluster (RAC). The RAC solution uses two physical Oracle database servers. If the first server malfunctions or the administrator invokes a failover (for example, to complete maintenance on the first server), the second server automatically takes over, and the collector begins using the second server. There is a short time window of data loss that might occur after the failover occurs. The amount of data loss increases with the size of the managed network and the rate of traps and incidents being evaluated. To configure RAC, work with your Oracle database administrator to install an Oracle database according to the instructions provided by Oracle.

Note Down the Details of the NNMi Management Server

  1. Navigate to the following directory:

    %NnmDataDir%\Conf\nnm\props

    /var/opt/OV/Conf/nnm/props

  2. Open the nms-local.properties file with a text editor.
  3. Note down the following properties from the primary NNMi management server:
    • com.hp.ov.nms.fqdn: The FQDN of the NNMi management server.
    • nmsas.server.port.web.http: The HTTP port used by NNMi.
    • nmsas.server.port.web.https: The HTTPS port used by NNMi.
    • nmsas.server.port.naming.port: The JNDI port of NNMi. If this property is commented out (with the #! characters) in the file, NNMi uses the default JNDI port, 1099.

If NNMi is installed and configured in the application failover mode, you must also note down the above properties from the nms-local.properties file on the secondary NNMi management server.

Ensure the Availability of Necessary Ports

On the Master Collector system, make sure the following ports are available for use:

12043, 12080, 12083, 12084, 12085, 12086, 12087, 12092, 12099, 12458, 12500, 12501, 12712, 12713, 12714, and 12873

Ensure KornShell is Installed

On the Master Collector system, make sure KornShell is installed.

To check that KornShell is installed, open a command-line terminal and type the following command:

ksh

If KornShell is installed, the command prompt changes to ksh.

If KornShell is not installed, the following error message appears:

ksh is not found

If you do not have KornShell installed, you can download it from http://www.kornshell.com/software/ and install it.

Ensure the Availability of GID 26

Make sure that the Group ID (GID) 26 is not used by any existing user groups on the system.

Ensure the Availability of the Required Libraries
Make sure that both the 64-bit compat-libstdc++ and 32-bit compat-libstdc++ libraries are available before installing Master Collector. Master Collector requires the following exact library versions; however, the RPM versions may vary depending on the minor release of Linux.

HPE Public Key

You must import the HPE public key into the Linux RPM database before installation.

To import the HPE public key, follow the instructions available on the following web page:

https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPLinuxCodeSigning

To know more about prerequisite information, see NNMi Ultimate Support Matrix.

Install the collector on the active node in the HA cluster first.

Before Installing in the NNMi HA Cluster:

  1. Put the NNMi resource group to the HA maintenance mode by placing the maintenance file under the following directory:

    %NnmDataDir%\hacluster\<resource_group>

    /var/opt/OV/hacluster\<resource_group>

  2. Install the Master Collector on the primary (active) node in the cluster, but do not start the collector.

To install the Master Collector:

  1. Log on to the system where you want to install the collector with the administrative privileges. Make sure that the user with administrative privileges is part of Local administrator group.
  2. Log on to the system where you want to install the collector with the root privileges.
  3. Import the HPE public key into the Linux RPM database before installing the NNM iSPI Performance for TrafficMaster Collector. To do this, point your browser to the following location and follow the instructions:

    https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPLinuxCodeSigning

  4. Extract the contents of the installation media (or mount the media).

    Go to the Traffic_Master directory on the installation media and double-click the setup file. The installer configures your system for the installation and initializes the installation process.

  5. Go to the Traffic_Master directory on the installation media and run the following command:

    ./setup

    The installation initialization process prompts you to choose the language you want to use. The installer configures your system for the installation and initializes the installation process.

  6. On the Introduction (Install) page, review the overview information, and then click Next. The License Agreement page opens.
  7. Review the End User License Agreement, select I accept.., and then click Next. The Select Features page opens.
  8. Click Next.
  9. If no other HPE Software products are installed on the system, the installer opens the Choose the Application and Data Folder page. Make your selection, and then click Next.
  10. Select HP Software Embedded Database.
  11. Select Oracle.
  12. Click Next.
  13. The Choose Database Initialization Preferences page opens. On this page, follow these steps:
    1. Do one of the following:
      • If you want to initialize an Oracle database using previously defined database accounts, select Primary Server Installation, and then click Next.
      • If you want to connect to an existing database that is already initialized by another primary installation and use this installation in an application failover or HA configuration, select Secondary Server, and then click Next.
    2. In the Enter Your Database Server Information page, specify the following details:
      • Host: The FQDN of the Oracle server

        If you are using Oracle RAC:

        • Enter the physical host name of one of the Oracle servers.
        • Oracle RAC also requires a secondary Oracle RAC server. However the secondary Oracle RAC server is unknown at this point in the collector installation. See the last installation step for more information.
      • Port: The port used by Oracle
      • Instance: The Oracle instance name that you created when installing the NNM iSPI Performance for Traffic for the first time.
    3. Click Next. The Enter the Database Account User page opens.
    4. Type the user name and password to access the Oracle instance, and then click Next.
  14. The Install Checks page displays progress as the installation software checks for additional Master Collector requirements. Click Next. The Pre-Install Summary page opens.
  15. On the Pre-Install Summary page, review your installation choices and click Install. The installation process begins.

    The Choose Java JDK dialog box opens.

    NNM iSPI Performance for Traffic requires that Java Development Kit (JDK) 1.8 be available on the system. This version of the NNM iSPI Performance for Traffic installer contains OpenJDK 1.8. You can select the Install bundled OpenJDK option to install OpenJDK 1.8 that is embedded with the NNM iSPI Performance for Traffic media.

    Alternatively, if another version of JDK 1.8 is already available on the system, you can select the Use Already-Installed JDK option, and then click Browse to select the path to the JDK.

    On Linux, it is recommended that you use the JDK 1.8.x provided by your operating system vendor (Red Hat or SUSE).

    For example:

    To install Red Hat OpenJDK 1.8.x on Red Hat Enterprise Linux, run the following command:

    yum install java-1.8.0-openjdk-devel.x86_64

    To install SUSE OpenJDK 1.8.x on SUSE Linux, run the following command:

    zypper install java-1_8_0-openjdk

    To find out the directory where JDK is installed, run one of the following commands:

    whereis java

    which java

    On Windows, it is recommended that you install the Oracle JDK 1.8.x.

    Tip: Click Validate to check that the specified path is valid.

    After making a selection, click Continue.

  16. During installation, the Configuring Master dialog box opens with the following sections:
  17. Click Submit. The installation process continues and the Performance SPI Server Configuration dialog box opens.
  18. In the Performance SPI Server Configuration dialog box, type the FQDN of the NPS server, and then click OK.

    Do not specify any other parameter.

    Note: If the NPS server is configured in a distributed deployment, you must type the FQDN of the Database Server (DB Server) in the Performance SPI Server Configuration dialog box.

    Once the installer completes installing the Master Collector, the Installation Complete page opens.

  19. Click Done.
  20. Mount the shared directory on the Master Collector system when the Master Collector is installed on a system other than the NNMi management server.

The installation log file (postInstall_traffic-master.log) is available in the %temp% directory.

The installation log file (postInstall_traffic-master.log) is available in the /tmp directory.

Oracle RAC requires a secondary Oracle RAC server. To configure that information, after collector installation, do the following:

  1. Open the following file in a text editor:

    %TrafficDataDir%\nmsas\traffic-master\/var/opt/OV/nmsas/traffic-master/server.properties

  2. Add the following lines:

    com.hp.ov.nms.oracle.otherHost=<second_host_in_the_cluster>

    com.hp.ov.nms.oracle.serviceName=<logical_name>

    In this instance, <second_host_in_the_cluster> is the FQDN of the second host in the Oracle RAC and <logical_name> is the logical name of the Oracle RAC.

    Tip: If the properties already exist in the file, make sure that they are set to correct values.

  3. Add the following string:

    com.hp.ov.nms.oracle.connection.url=${com.hp.ov.nms.oracle.connection.cluster.url}
  4. Save the file.

  5. Use the following commands to restart the collector:

    1. %TrafficInstallDir%\traffic-master\bin\/opt/OV/traffic-master/bin/nmstrafficmasterstop.ovpl
    2. %TrafficInstallDir%\traffic-master\bin\/opt/OV/traffic-master/bin/nmstrafficmasterstart.ovpl

After installing on the active node:

  1. Modify the login-config.xml file from the %NnmInstallDir%\trafficmaster\server\conf /opt/OV/traffic-master/server/conf directory to reflect the virtual FQDN of the NNMi management server.

    Look for the element <module-option name=”nnmAuthUrl”>, and then modify the string contained within the element to reflect the virtual FQDN of the NNMi management server.

  2. Go to the %NnmDataDir%\nmsas\traffic-master\conf/var/opt/OV/nmsas/traffic-master/conf directory.
  3. In the nnm.extended.properties file, set the com.hp.ov.nms.spi.trafficmaster.Nnm.perfspidatapath property to the value that was displayed by the nnmenableperfspi.ovpl script.

    The nnmenableperfspi.ovpl script records all the details in the nnmenableperfspi_log.txt file (available in the %NnmDataDir%\log /var/opt/OV/log directory) on the NNMi system, which you can use for your reference.

  4. Remove the maintenance file that you created before installing the Master Collector on the active node.
  5. Fail over to the passive node.
  6. Run ovstatus -c to make sure that ovjboss is running.

  7. Put the NNMi resource group to the HA maintenance mode by placing the maintenance file under the following directory:

    %NnmDataDir%\hacluster\<resource_group>

    /var/opt/OV/hacluster\<resource_group>

  8. Install the collector on the currently active by following the instructions above.
  9. Modify the login-config.xml file from the %NnmInstallDir%\trafficmaster\server\conf /opt/OV/traffic-master/server/conf directory to reflect the virtual FQDN of the NNMi management server.

    Look for the element <module-option name=”nnmAuthUrl”>, and then modify the string contained within the element to reflect the virtual FQDN of the NNMi management server.

  10. Remove the maintenance file that you created above.
  11. Fail over to the server that was active when you started this procedure.
  12. Run the following command on the active node first, and then on the passive node:

    %NnmInstallDir%\misc\nnm\ha\nnmhaconfigure.ovpl NNM -addon TRAFFIC

    /opt/OV/misc/nnm/ha/nnmhaconfigure.ovpl NNM -addon TRAFFIC

  13. Verify that the Master Collector is successfully registered by running the following command:

    %NnmInstallDir%\misc\nnm\ha\nnmhaclusterinfo.ovpl –config NNM –get NNM_ADD_ON_PRODUCTS

    /opt/OV/misc/nnm/ha/nnmhaclusterinfo.ovpl –config NNM –get NNM_ADD_ON_PRODUCTS

After installing on the active node:

  1. Run the following command after installation to create a user that can start the Master Collector processes:

    %TrafficInstallDir%\traffic-master\bin\nmstrafficmastersetuser.ovpl [--domain=<DomainName>] --username=<AdministratorUsername> --password=<AdministratorPassword>

    In this Instance, <Domain Name> is the Fully Qualified Domain Name of the Master Collector. Note that Domain is a mandatory parameter if you are using a domain account.

    If NPS is installed on a Windows system, you must specify the user name and password of the user that was created by the nnmenableperfspi.ovpl command (See the HPE Network Node Manager iSPI Performance for Metrics Interactive Installation Guide).

    If you are using a non-English system, make sure the user is a member of the Administrators group on the Master Collector system.

    Make sure that the username that you specified for nmstrafficmastersetuser.ovpl is the same user that has the read/write access rights to the shared network directory.

  2. Copy the NNM iSPI Performance for Traffic data to the shared disk:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhadisk.ovpl TRAFFIC -to <HA_mount_point>

    /opt/OV/misc/nnm/ha/nnmhadisk.ovpl TRAFFIC -to <HA_mount_point>

    Note: To prevent database corruption, run this command (with the -to option) only once.

  3. Run the following command to configure the NNM iSPI Performance for Traffic HA resource group:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaconfigure.ovpl TRAFFIC

    /opt/OV/misc/nnm/ha/nnmhaconfigure.ovpl TRAFFIC

  4. Specify the details specific to this cluster (and not the cluster where NNMi may exist) while answering the questions asked by the script (see Table: NNMi HA Primary Node Configuration Information in the NNMi Deployment Reference).

  5. Run the following command to start the resource group:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhastartrg.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/\nnmhastartrg.ovpl TRAFFIC <resource_group>

  6. Install the collector on the passive node by following the instructions above.
  7. Run the following command after installation to create a user on the passive node that can start the Master Collector processes:

    %TrafficInstallDir%\traffic-master\bin\nmstrafficmastersetuser.ovpl [--domain=<DomainName>] --username=<AdministratorUsername> --password=<AdministratorPassword>

    In this Instance, <Domain Name> is the Fully Qualified Domain Name of the Master Collector. Note that Domain is a mandatory parameter if you are using a domain account.

    If NPS is installed on a Windows system, you must specify the user name and password of the user that was created by the nnmenableperfspi.ovpl command (See the HPE Network Node Manager iSPI Performance for Metrics Interactive Installation Guide).

    Make sure that the username that you specified for nmstrafficmastersetuser.ovpl is the same user that has the read/write access rights to the shared network directory.

    If you are using a non-English system, make sure the user is a member of the Administrators group on the Master Collector system.

  8. Run the following command to configure the NNM iSPI Performance for Traffic HA resource group:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaconfigure.ovpl TRAFFIC

    /opt/OV/misc/nnm/ha/nnmhaconfigure.ovpl TRAFFIC

    Provide the same details that were provided during active node configuration.

  9. Run the following command to verify that the configuration was successful.

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaclusterinfo.ovpl -group <resource_group> -nodes

    /opt/OV/misc/nnm/ha/nnmhaclusterinfo.ovpl -group <resource_group> -nodes

    The command output lists all configured nodes for the specified HA resource group.

    Alternatively, test the configuration by failing over to the server that was active when you started this procedure.

Installing the Leaf Collector

If you want to install multiple Leaf Collectors, you must install all instances of the Leaf Collector on systems where the Master Collector is not installed. The Master Collector and a Leaf Collector instance cannot coexist on the same system when multiple Leaf Collectors are installed on the network.

Preinstallation Tasks

Create New Oracle Users

If you configured NNMi to use an Oracle database, the NNM iSPI Performance for Traffic also must be configured to use Oracle as its database. You can use the same Oracle instance that is used by NNMi, but you must use a unique Oracle user instance for each Leaf Collector. For example, if you want to install five Leaf Collector Systems, create five different Oracle users.

Note Down the Details of the Oracle Server

Note down the following details of the Oracle database instance that you want to use with the NNM iSPI Performance for TrafficLeaf Collector.

  • Port: The port used by the Oracle database.
  • Hostname: Note down the fully-qualified domain name of the database server.
  • Database name: Name of the Oracle database instance that you want to use with the Leaf Collector.
  • User name: The name of the Oracle user account created for use with the Leaf Collector.
  • Password: Password of the above user.

Additional Oracle Requirements

The database administrator needs to create a tablespace that will only be used by the collector user accessing the database.

Assign a tablespace size depending on the number of nodes in your installation. For example, for an 18,000 node network, set your beginning tablespace size for 12 gigabytes (GB). Set the option for unlimited tablespace extensions in increments of 12 GB.

The database requirement grows as the collector collects additional records, so watch this growth carefully and expand your configured tablespace size when necessary.

Create an Oracle user and assign the user to the newly created tablespace. The user should have the following permissions:

  • Create sequence
  • Create session
  • Create table
  • Create view
  • FLASHBACK ANY TABLE

    recommends the FLASHBACK ANY TABLE permission to enable the collector to create restore points during migration. After the migration (or installation) completes, you can remove the FLASHBACK ANY TABLE permission.
  • SELECT ANY DICTIONARY

    You can opt to not grant the SELECT ANY DICTIONARY permission to the user. If you do not grant the SELECT ANY DICTIONARY permission, NNM iSPI Performance for Traffic does not show any information in the Health tab (under the Help > System Information menu).

    For Oracle 12.1.0.1.0 only. The SELECT ANY DICTIONARY permission, however, is required for the collector installation if you use Oracle 12.1.0.1.0. You can revoke the SELECT ANY DICTIONARY permission after the installation is complete.

Make note of the Oracle user name and password; you will need this information during the collector installation.

It is important to assign a large enough tablespace quota to a user. If the tablespace is not large enough, the collector will install, but not create the tables. This causes problems after the installation. To prevent this, set the quota to unlimited, but no smaller than 1 MB before installing the collector.

Oracle provides the high-availability solution Oracle Real Application Cluster (RAC). The RAC solution uses two physical Oracle database servers. If the first server malfunctions or the administrator invokes a failover (for example, to complete maintenance on the first server), the second server automatically takes over, and the collector begins using the second server. There is a short time window of data loss that might occur after the failover occurs. The amount of data loss increases with the size of the managed network and the rate of traps and incidents being evaluated. To configure RAC, work with your Oracle database administrator to install an Oracle database according to the instructions provided by Oracle.

Ensure the Availability of Necessary Ports

On the Leaf Collector systems, make sure the following ports are available for use:

11043, 11080, 11083, 11084, 11085, 11086, 11087, 11092, 11099, 11458, 11500, 11501, 11712, 11713, 11714, and 11813

 

Ensure KornShell is Installed

On the Leaf Collector system, make sure that KornShell is installed.

To check that KornShell is installed, open a command-line terminal, and then type the following command:

ksh

If KornShell is installed, the command prompt changes to ksh.

If KornShell is not installed, the following error message appears:

ksh is not found

If you do not have KornShell installed, you can download it from http://www.kornshell.com/software/ and install it.

Ensure the Availability of GID 26

Make sure that the Group ID (GID) 26 is not used by any existing user groups on the system.

Ensure the Availability of the Required Libraries

Make sure that both the 64-bit compat-libstdc++ and 32-bit compat-libstdc++ libraries are available before installing Leaf Collector. Leaf Collector requires the following exact library versions. The RPM versions may vary depending on the minor release of Linux.

HPE Public Key

You must import the HPE public key into the Linux RPM database before installation.

To import the HPE public key, follow the instructions available on the following web page:

https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPLinuxCodeSigning

To know more about pre-requisite information, see NNMi Ultimate Support Matrix.

To install the Leaf Collector, follow these steps:

Note: Use the following procedure for all types of installation scenarios of the Leaf Collector: the Leaf Collector on the NNMi management server, the Leaf Collector on a standalone system, the Leaf Collector on the Master Collector system, and the Leaf Collector on the NPS system.

  1. Log on to the system where you want to install the collector with the administrative privileges. Make sure that the user with administrative privileges is part of Local administrator group.

    Log on to the system where you want to install the collector with the root privileges.

  2. Extract the contents of installation media (or mount the media).

    Go to the Traffic_Leaf directory on the installation media and double-click the setup file. The installer configures your system for the installation and initializes the installation process.

    Use the cd command to change to the /cdrom directory, and then go to the Traffic_Leaf directory and run the following command:

    ./setup

    The installation initialization process prompts you to choose the language you want to use. The installer configures your system for the installation and initializes the installation process.

  3. On the Introduction (Install) page, review the overview information, and then click Next. The License Agreement page opens.
  4. Review the End User License Agreement, select I accept.., and then click Next. The Select Features page opens.
  5. Click Next.
  6. If no other HPE Software products are installed on the system, the installer opens the Choose the Application and Data Folder page. Make your selection, and then click Next.
  7. Select HP Software Embedded Database.
  8. Select Oracle.
  9. Click Next.
  10. The Choose Database Initialization Preferences page opens. On this page, follow these steps:
    1. Do one of the following:
      • If you want to initialize an Oracle database using previously defined database accounts, select Primary Server Installation, and then click Next.
      • If you want to connect to an existing database that is already initialized by another primary installation and use this installation in an application failover or HA configuration, select Secondary Server, and then click Next.
    2. In the Enter Your Database Server Information page, specify the following details:
      • Host: The FQDN of the Oracle server

        If you are using Oracle RAC:

        • Enter the physical host name of one of the Oracle servers.
        • Oracle RAC also requires a secondary Oracle RAC server. However the secondary Oracle RAC server is unknown at this point in the collector installation. See the last installation step for more information.
      • Port: The port used by Oracle
      • Instance: The Oracle instance name that you created when installing the NNM iSPI Performance for Traffic for the first time.
    3. Click Next. The Enter the Database Account User page opens.
    4. Type the user name and password to access the Oracle instance, and then click Next.
  11. The Install Checks page displays progress as the installation software checks for additional Leaf Collector requirements. Click Next. The Pre-Install Summary page opens.
  12. On the Pre-Install Summary page, review your installation choices and click Install. The installation process begins.

    The Choose Java JDK dialog box opens.

    Note: The dialog box does not appear when the Leaf Collector is installed on the NNMi management server. If you are installing the Leaf Collector on the management server, skip to the next step.

    NNM iSPI Performance for Traffic requires that Java Development Kit (JDK) 1.8 be available on the system. This version of the NNM iSPI Performance for Traffic installer contains OpenJDK 1.8. You can select the Install bundled OpenJDK option to install OpenJDK 1.8 that is embedded with the NNM iSPI Performance for Traffic media.

    Alternatively, if another version of JDK 1.8 is already available on the system, you can select the Use Already-Installed JDK option, and then click Browse to select the path to the JDK.

    On Linux, it is recommended that you use the JDK 1.8.x provided by your operating system vendor (Red Hat or SUSE).

    For example:

    To install Red Hat OpenJDK 1.8.x on Red Hat Enterprise Linux, run the following command:

    yum install java-1.8.0-openjdk-devel.x86_64

    To install SUSE OpenJDK 1.8.x on SUSE Linux, run the following command:

    zypper install java-1_8_0-openjdk

    To find out the directory where JDK is installed, run one of the following commands:

    whereis java

    which java

    On Windows, it is recommended that you install the Oracle JDK 1.8.x.

    Tip: Click Validate to check that the specified path is valid.

    After making a selection, click Continue.

  13. During installation, the Configuring Leaf dialog box opens. In this dialog box, specify the following details:
    • Traffic Leaf Password: Type the password for the system user for the Leaf Collector.

      Note down this password. You require this password to configure the Leaf Collector using the NNM iSPI Performance for Traffic Configuration form. You can specify a different password for every Leaf Collector that you install.

    • Retype Password: Type the password again.

    The following details are automatically detected by the installer:

    • Traffic Leaf FQDN: The Fully Qualified Domain Name of the Leaf Collector

    • Traffic Leaf User Name: The system user for the Leaf Collector. This user is not the NNMi system user. After you specify the password for this user, the Leaf Collector installer creates this user. This is not an operating system user profile; this user is provisioned inside the Leaf Collector application.
  14. Click Submit. After the installer completes installing the Leaf Collector, the Installation Complete page opens.
  15. Click Done.

The installation log file (postInstall_traffic-leaf.log) is available in the %temp% directory.

The installation log file (postInstall_traffic-leaf.log) is available in the /tmp directory.

Oracle RAC requires a secondary Oracle RAC server. To configure that information, after collector installation, do the following:

  1. Open the following file in a text editor:

    %TrafficDataDir%\nmsas\traffic-leaf\/var/opt/OV/nmsas/traffic-leaf/server.properties

  2. Add the following properties:

    Tip: If the properties already exist in the file, make sure that they are set to correct values.

    com.hp.ov.nms.oracle.otherHost=<second_host_in_the_cluster>

    com.hp.ov.nms.oracle.serviceName=<logical_name>

    In this instance, <second_host_in_the_cluster> is the FQDN of the second host in the Oracle RAC and <logical_name> is the logical name of the Oracle RAC.

  3. Add the following string:

    com.hp.ov.nms.oracle.connection.url=${com.hp.ov.nms.oracle.connection.cluster.url}
  4. Save the file.

  5. Use the following commands to restart the collector:

    1. %TrafficInstallDir%\traffic-leaf\bin\/opt/OV/traffic-leaf/bin/nmstrafficleafstop.ovpl
    2. %TrafficInstallDir%\traffic-leaf\bin\/opt/OV/traffic-leaf/bin/nmstrafficleafstart.ovpl

Post-Installation Tasks

The NNM iSPI Performance for Traffic interacts frequently with NNMi and NPS. After installing the NNM iSPI Performance for Traffic, you must make sure that the product is able to interact with both NNMi and NPS.

Before You Upgrade

You can directly upgrade the NNM iSPI Performance for Traffic version 10.00 to the version 10.30.

This procedure helps you upgrade the NNM iSPI Performance for Traffic along with NNMi to the version 10.30.

This procedure follows a multi-step method of:

  1. Installing the version 10.1010.20 products on a separate Linux system (running on Red Hat Linux 6.4).
  2. Restoring the data backed up on the original instances of NNMi and NNM iSPI Performance for Traffic.
  3. Upgrading NNMi to the version 10.30 on the new system.
  4. Upgrading NPS to the version 10.30
  5. Upgrading the components of the NNM iSPI Performance for Traffic to the version 10.30 on new systems

    Note: After upgrading all the components of the NNM iSPI Performance for Traffic to the version 10.30, you can upgrade the operating system of each system hosting the Master or Leaf Collector to Red Hat Enterprise Linux 7.x.

Pre-upgrade checks:

  • Make sure the latest patch (NNM iSPI Performance for Traffic 10.10) is applied on the existing NNM iSPI Performance for Traffic.

  • Make sure NNMi is upgraded to the version 10.30.
  • Make sure NPS is upgrade to the version 10.30.
  • Make sure all NNMi processes are running
  • Make sure the ETL process is not running on NPS.

HPE Public Key

You must import the HPE public key into the Linux RPM database before installation.

To import the HPE public key, follow the instructions available on the following web page:

https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=HPLinuxCodeSigning

Before you begin the procedure, make sure the latest patch (NNM iSPI Performance for Traffic 10.10) is applied on the existing NNM iSPI Performance for Traffic.

Preparing to Upgrade

Perform these tasks to prepare for the upgrade:

Install NNMi 10.1010.20 on a Different Server

Install NNMi 10.1010.20 on a new server that is running on Red Hat Enterprise Linux 6.4. While specifying the details of the Oracle database instance, make sure to type the details of the Oracle database instance that you newly created for NNMi (created here).

If NNMi originally existed in the Application FailoverHA cluster environment, plan your installed in a similar environment with new servers.

Follow the instructions in the NNMi 10.30 Interactive Installation and Upgrade Guide.

Install the NNMi Extension for iSPI Performance for Traffic 9.2010.20 on the NNMi Management Server

Install the NNMi Extension for iSPI Performance for Traffic9.2010.20 on the new NNMi management server.

Follow the instructions in the NNM iSPI Performance for Traffic 9.2010.20 Installation Guide to install the NNMi Extension for iSPI Performance for Traffic.

Apply the 9.21 patch after installing NNM iSPI Performance for Traffic 9.20.

Install the Master Collector 10.1010.20 on a Different Server the New NNMi Management Server

Install the Master Collector 10.1010.00 on a new serveron the new NNMi management server that is running on Red Hat Enterprise Linux 6.4.

Before installing the Master Collector on the Red Hat Enterprise Linux server, run the following commandcomplete these preinstallation tasks:

ln -s /bin/ksh /usr/bin/ksh

  1. Run the following command:

    ln -s /bin/ksh /usr/bin/ksh

  2. Delete all instances of users that can create conflict with the Master Collector installer. Run the following command:

    userdel postgres

  3. Create a log file used by the Master Collector installer. Run the following commands:

    touch /tmp/postgres.log

    chmod 0777 /tmp/postgres.log

Follow the instructions in the NNM iSPI Performance for Traffic 9.2010.00 Installation Guide to install the collector.

If the Master Collector originally existed in the HA cluster environment, plan your installed in a similar environment with new servers.

When the installation wizard prompts you to specify the NPS hostname, type the hostname of the NPS system.

While specifying the details of the Oracle database instance, make sure to type the details of the Oracle database instance that you newly created for the Master Collector (created here).

Apply the 9.21 patch after installing NNM iSPI Performance for Traffic 9.20.

Note: Stop the collector after installing the patch.

Install Each Leaf Collector 9.2010.00 on a Different Server

Install each instance of the Leaf Collector 9.2010.00 on a new server that is running on Red Hat Enterprise Linux 6.4.

Before installing the Leaf Collector on the Red Hat Enterprise Linux server, run the following commandcomplete these preinstallation tasks:

ln -s /bin/ksh /usr/bin/ksh

  1. Run the following command:

    ln -s /bin/ksh /usr/bin/ksh

  2. Delete all instances of users that can create conflict with the Leaf Collector installer. Run the following command:

    userdel postgres

  3. Create a log file used by the Leaf Collector installer. Run the following commands:

    touch /tmp/postgres.log

    chmod 0777 /tmp/postgres.log

Follow the instructions in the NNM iSPI Performance for Traffic 9.2010.00 Installation Guide to install the collector.

While installing a Leaf Collector on the NNMi management server and specifying the details of the Oracle database instance, make sure to type the details of the Oracle database instance that you newly created for the Leaf Collector (created here).

Apply the 9.21 patch after installing NNM iSPI Performance for Traffic 9.20.

Note: Stop the collector after installing the patch.

Restore the Data

Note: Before you begin this step, make sure the latest patch (NNM iSPI Performance for Traffic 9.219.21) is applied on the newly created NNM iSPI Performance for Traffic environment.

Now you must restore all the data that was backed up on the old systems to the new systems.

Upgrade NNMi to the Version 10.30

Upgrade NNMi to the version 10.30 on the Red Hat Linux 6.4 system.

Upgrade NPS to the Version 10.30

Upgrade NPS to the version 10.30.

See the NNM iSPI Performance for Metrics Interactive Installation Guide for more information.

After upgrading, make sure to stop the ETL process by running the following command:

stopETL.ovpl

Upgrading the NNMi Extension for iSPI Performance for Traffic

In the NNMi Application failover environment, make sure you upgrade the NNMi Extension for iSPI Performance for Traffic on the primary and secondary NNMi systems. Before upgrading on the secondary system, fail over from the primary system to the secondary system.

To upgrade the NNMi Extension for iSPI Performance for Traffic to 10.30 on this server, log on to the system as rootadministrator, and then follow these steps:

Note: Upgrade on both the nodes in the cluster. Put the NNMi resource group to the HA maintenance mode by placing the maintenance file under the following directory:

%NNMDataDir%\hacluster\<resource_group>

/var/opt/OV/hacluster/<resource_group>

You can remove the maintenance file after upgrading the NNMi Extension for iSPI Performance for Traffic.

  1. Go to the Traffic_NNM_Extension/Linux directory on the media. On the media, go to the Traffic_NNM_Extension/WinNT directory if NNMi is on Windows or go to the Traffic_NNM_Extension/Linux directory if NNMi is on Linux.
  2. Run the following command:

    If NNMi is on Linux:

    ./setup.bin

    If NNMi is on Windows:

    setup.exe

    The installation wizard opens.

  3. Click Next on the Installation (Upgrade) screen. The License Agreement screen appears.
  4. Select I accept the terms.., and then click Next. The screen opens.
  5. On the Product Customization screen, click Next. The Preinstall Summary screen appears.
  6. On the Preinstall Summary screen, click Upgrade.
  7. After the upgrade is complete, click Done.

You can delete the maintenance file now from both the nodes.

Upgrading the Master Collector

Before upgrading the Master Collector:

Before upgrading:

  1. If not already done, put the Master Collector resource group to the HA maintenance mode by placing the maintenance file under the following directory on the active node:

    %nnmdatadir\hacluster\<resource_group>

    /var/opt/OV/hacluster/<resource_group>

  2. Stop the ETL process on the NPS system by running the following command (on the NPS system):

    %NnmInstallDir%\NNMPerformanceSPI\bin\stopETL.ovpl

    /opt/OV/NNMPerformanceSPI/bin/stopETL.ovpl

  3. Stop the Master Collector:

    %NnmInstallDir%\traffic-master\bin\trafficmasterstop.ovpl --HA

    /var/opt/OV/traffic-master/bin/trafficmasterstop.ovpl --HA

Now start upgrading the Master Collector on the active node.

To upgrade the Master Collector to 10.30 on this server, log on to the system as rootadministrator, and then follow these steps:

  1. Go to the Traffic_Master directory on the media.

  2. Run the following command:

    ./setupsetup.bat

    The installation wizard opens.

  3. Click Next on the Installation (Upgrade) screen. The License Agreement screen appears.
  4. Select I accept the terms.., and then click Next. The screen opens.
  5. On the Product Customization screen, click Next. The Preinstall Summary screen appears.
  6. On the Preinstall Summary screen, click Upgrade.

    The Choose Java JDK dialog box opens.

    The NNM iSPI Performance for Traffic10.30 installer removes the JDK that was installed on the system by the previous version of the installer provides an option to install OpenJDK 1.8. You can select the Install bundled OpenJDK option to install OpenJDK 1.8 that is embedded with the NNM iSPI Performance for Traffic media.

    Alternatively, if another version of JDK 1.8 is already available on the system, you can select the Use Already-Installed JDK option, and then click Browse to select the path to the JDK.

    On Linux, it is recommended that you use the JDK 1.8.x provided by your operating system vendor (Red Hat or SUSE).

    For example:

    To install Red Hat OpenJDK 1.8.x on Red Hat Enterprise Linux, run the following command:

    yum install java-1.8.0-openjdk-devel.x86_64

    To install SUSE OpenJDK 1.8.x on SUSE Linux, run the following command:

    zypper install java-1_8_0-openjdk

    To find out the directory where JDK is installed, run one of the following commands:

    whereis java

    which java

    On Windows, it is recommended that you install the Oracle JDK 1.8.x.

    Tip: Click Validate to check that the specified path is valid.

    After making a selection, click Continue.

  7. After the upgrade is complete, click Done.

    Note: For Red Hat Enterprise Linux. After upgrading the Master Collector to the version 10.30, you can upgrade the operating system of this server to Red Hat Enterprise Linux 7.x.

After upgrading the Master Collector on the active node, follow these steps:

  1. Start the Master Collector:

    %NnmInstallDir%\traffic-master\bin\trafficmasterstart.ovpl --HA

    /var/opt/OV/traffic-master/bin/trafficmasterstart.ovpl --HA

  2. On the passive node, put the Master Collector resource group to the HA maintenance mode by placing the maintenance file under the following directory on the active node:

    %nnmdatadir%\hacluster\<resource_group>

    /var/opt/OV/hacluster/<resource_group>

  3. Upgrade the Master Collector by following the steps above.
  4. Remove the maintenance files from the active and passive nodes.
  5. Fail over to the passive node.
  6. Fail over to the other node.
  7. Start the NPS ETL process.

Upgrading the Leaf Collector

To upgrade the Leaf Collector to 10.30 on this server, log on to the system as rootadministrator, and then follow these steps:

  1. Go to the Traffic_Leaf directory on the media.
  2. Run the following command:

    ./setupsetup.bat

    The installation wizard opens.

  3. Click Next on the Installation (Upgrade) screen. The License Agreement screen appears.
  4. Select I accept the terms.., and then click Next. The screen opens.
  5. On the Product Customization screen, click Next. The Preinstall Summary screen appears.
  6. On the Preinstall Summary screen, click Upgrade.

    The Choose Java JDK dialog box opens.

    Note: The dialog box does not appear when the Leaf Collector is installed on the NNMi management server. If the Leaf Collector is installed on the management server, skip to the next step.

    The NNM iSPI Performance for Traffic10.30 installer removes the JDK that was installed on the system by the previous version of the installer provides an option to install OpenJDK 1.8. You can select the Install bundled OpenJDK option to install OpenJDK 1.8 that is embedded with the NNM iSPI Performance for Traffic media.

    Alternatively, if another version of JDK 1.8 is already available on the system, you can select the Use Already-Installed JDK option, and then click Browse to select the path to the JDK.

    On Linux, it is recommended that you use the JDK 1.8.x provided by your operating system vendor (Red Hat or SUSE).

    For example:

    To install Red Hat OpenJDK 1.8.x on Red Hat Enterprise Linux, run the following command:

    yum install java-1.8.0-openjdk-devel.x86_64

    To install SUSE OpenJDK 1.8.x on SUSE Linux, run the following command:

    zypper install java-1_8_0-openjdk

    To find out the directory where JDK is installed, run one of the following commands:

    whereis java

    which java

    On Windows, it is recommended that you install the Oracle JDK 1.8.x.

    Tip: Click Validate to check that the specified path is valid.

    After making a selection, click Continue.

  7. After the upgrade is complete, click Done.

Note: For Red Hat Enterprise Linux. After upgrading the Leaf Collector to the version 10.30, you can upgrade the operating system of this server to Red Hat Enterprise Linux 7.x.

Run the nnmenableperfspi.ovpl Script

On the NNMi management server, run the nnmenableperfspi.ovpl script. While running the script, make sure the specified details match the details provided during the NPS upgrade.

You can find these details specified during the last run of the nnmenableperfspi.ovpl file in the following file on the NNMi management server:

On Windows:

%nnmdatadir%\log\nnmenableperfspi.txt

On Linux:

/var/opt/OV/log/nnmenableperfspi.txt

Start the ETL Process on the NPS system

You can now start the ETL process on the NPS system by running the following command:

startETL.ovpl

Mount the Network Share on the Master Collector System

Post-Upgrade Tasks

Licensing

The NNM iSPI Performance for Traffic requires that you apply an NNMi Ultimate license key. If you have already enabled an NNMi Ultimate license key, no additional license keys are required for the NNM iSPI Performance for Traffic.

For more information about NNMi Ultimate license key, see the Licensing section in the NNMi Ultimate Release Notes.

Troubleshooting InstallationUpgrade

Most of the installationupgrade errors that you encounter, relate to incorrect installation configuration settings. Before you start working with the NNM iSPI Performance for Traffic, open the Installation Verification form from the NNM iSPI Performance for Traffic Configuration form, and then validate the configuration settings you set up while installingupgrading the NNM iSPI Performance for Traffic.

For details on how to resolve the installationupgrade errors, see the following troubleshooting scenarios and tips to resolve these issues.

Troubleshooting Upgrade

Most of the upgrade errors that you encounter, relate to incorrect installation configuration settings. Before you start working with the NNM iSPI Performance for Traffic, open Installation Verification form from the NNM iSPI Performance for Traffic Configuration form and validate the configuration settings you set up while installing the NNM iSPI Performance for Traffic.

Uninstalling the NNM iSPI Performance for Traffic

While uninstalling NNM iSPI Performance for Traffic, you must uninstall each component of the software separately.

Uninstalling NNMi Extension for iSPI Performance for Traffic

Note: Since NNMi is installed in an HA cluster, make sure to uninstall the NNMi Extension for iSPI Performance for Traffic from all the nodes in the cluster.

Note: Since NNMi is installed in an Application Failover cluster, make sure to uninstall the NNMi Extension for iSPI Performance for Traffic from both the nodes in the cluster.

To remove the NNMi Extension for iSPI Performance for Traffic, follow these steps:

  1. On the NNMi management server, go to the following directory:

    %NnmInstallDir%\Uninstall\HPOvTENM

    /opt/OV/Uninstall/HPOvTENM

  2. Double-click the setup file.
    The uninstallation initialization process prompts you to choose the language you want to use. The installer then initializes the uninstallation process. The Application Maintenance page opens.
  3. Run the command ./setup.
    The installer starts uninstalling the NNMi Extension for iSPI Performance for Traffic.
  4. Select Uninstall and then click Next. The Pre-Uninstall Summary page opens.
  5. Click Uninstall. The installer starts uninstalling the NNMi Extension for iSPI Performance for Traffic.
  6. During uninstallation, Deregistering the NNMi Extension for iSPI Performance for Traffic dialog box opens. In this dialog box, specify the following details, and then click OK:
    • NNMi User Password: Type the password of the NNMi system account.
    • Retype Password: Type the password again.
  7. The following details are automatically detected by the installer:
    • NNMi User Name: The NNMi system user.
    • NNMi FQDN: The Fully Qualified Domain Name of the NNMi management server.
    • NNMi JNDI Port: The JNDI port of the NNMi management server.
  8. After completing the uninstallation process, the installer opens the Uninstall Complete page. Click Done.

Alternatively, you can use the Add or Remove Programs (Uninstall a program) feature of the Windows system to remove the NNMi Extension for iSPI Performance for Traffic. Choose the HPE NNMi Extension for iSPI Performance for Traffic entry by using the Programs and Features window.

Uninstallation Log Files

The setup program creates the following log files in the %temp% folder:

  • preRemove_traffic-nnm
  • postRemove_traffic-nnm

The setup program creates the following log files in the /tmp directory on Linux:

  • preRemove_traffic-nnm
  • postRemove_traffic-nnm

Uninstalling the Master Collector

To unconfigure the Master Collector from the HA cluster:

  1. Determine which node in the HA cluster is active. On any node, run the following command:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaclusterinfo.ovpl -group<resource_group>-activeNode

    /opt/OV/misc/nnm/ha/nnmhaclusterinfo.ovpl -group<resource_group>-activeNode

  2. On the passive node, unconfigure the collector from the HA cluster by running the following command:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaunconfigure.ovpl TRAFFIC<resource_group>

    /opt/OV/misc/nnm/ha/nnmhaunconfigure.ovpl TRAFFIC<resource_group>

    This command removes access to the shared disk, but does not unconfigure the disk group or the volume group

  3. On the passive node, remove the resource group-specific files. Delete all files in the following directory:

    %TrafficInstallDir%\traffic-master\hacluster\<resource_group>

    /opt/OV/traffic-master/hacluster/<resource_group>

  4. On the active node, disable HA resource group monitoring by creating the following maintenance file:

    %TrafficInstallDir%\traffic-master\hacluster\<resource-group>\maintenance

    /opt/OV/hacluster/<resource-group>/maintenance

  5. Stop the Master Collector by running the following command:

    nmstrafficmasterstop.ovpl --HA

    To prevent data corruption, make sure no instance of traffic Master Collector is running and accessing the shared disk.

  6. Run the following command on the active node:

    nnmhadisk.ovpl TRAFFIC -from <mount-point>

  7. Remove all files from shared disk.

  8. Delete the maintenance file.
  9. On the active node, stop the Master Collector HA resource group:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhastoprg.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/nnmhastoprg.ovpl TRAFFIC <resource_group>

  10. On the active node, unconfigure the Master Collector from the HA cluster:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaunconfigure.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/nnmhaunconfigure.ovpl TRAFFIC <resource_group>

  11. On the active node, remove the resource group-specific files. Delete all files in the following directory:

    %TrafficInstallDir%\traffic-master\hacluster\<resource-group>\

    /opt/OV/hacluster/<resource-group>

  12. Unmount the shared disk.

    Note: If you want to use the shared disk for another purpose, copy all data that you want to keep (as described in the next procedure), and then use the HA product commands to unconfigure the disk group and volume group.

To unconfigure the Master Collector from the HA cluster:

  1. Determine which node in the HA cluster is active. On any node, run the following command:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaclusterinfo.ovpl -group <resource_group> -activeNode

    /opt/OV/misc/nnm/ha/nnmhaclusterinfo.ovpl -group <resource_group> -activeNode

  2. On the passive node, unconfigure the collector from the HA cluster by running the following command:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaunconfigure.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/nnmhaunconfigure.ovpl TRAFFIC <resource_group>

    This command removes access to the shared disk, but does not unconfigure the disk group or the volume group

  3. On the passive node, remove the resource group-specific files. Delete all files in the following directory:

    %TrafficInstallDir%\traffic-master\hacluster\<resource_group>

    /opt/OV/traffic-master/hacluster/<resource_group>

  4. On the active node, disable HA resource group monitoring by creating the following maintenance file:

    %TrafficInstallDir%\traffic-master\hacluster\<resource-group>\maintenance

    /opt/OV/hacluster/<resource-group>/maintenance

  5. Stop the Master Collector by running the following command:

    nmstrafficmasterstop.ovpl --HA

    To prevent data corruption, make sure no instance of traffic Master Collector is running and accessing the shared disk.

  6. Run the following command on the active node:

    nnmhadisk.ovpl TRAFFIC -from<mount-point>

  7. Remove all files from shared disk.

  8. Delete the maintenance file.
  9. On the active node, stop the Master Collector HA resource group:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhastoprg.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/nnmhastoprg.ovpl TRAFFIC <resource_group>

  10. On the active node, unconfigure the Master Collector from the HA cluster:

    %TrafficInstallDir%\traffic-master\misc\nnm\ha\nnmhaunconfigure.ovpl TRAFFIC <resource_group>

    /opt/OV/misc/nnm/ha/nnmhaunconfigure.ovpl TRAFFIC <resource_group>

  11. On the active node, remove the resource group-specific files. Delete all files in the following directory:

    %TrafficInstallDir%\traffic-master\hacluster\<resource-group>\

    /opt/OV/hacluster/<resource-group>

  12. Unmount the shared disk.

    Note: If you want to use the shared disk for another purpose, copy all data that you want to keep (as described in the next procedure), and then use the HA product commands to unconfigure the disk group and volume group.

To remove the Master Collector, follow these steps:

Note: Remove the Master Collector from both the nodes in the HA cluster.

  1. On the Master Collector system, go to the following location:

    %NnmInstallDir%\traffic-master\Uninstall\HPOvTRMiSPI

    or

    %TrafficInstallDir%\traffic-master\Uninstall\HPOvTRMiSPI

    /opt/OV/traffic-master/Uninstall/HPOvTRMiSPI

  2. Double-click the setup file.
  3. Run the following command:

    ./setup

  4. Follow the on-screen instructions.

Alternatively, you can use the Add or Remove Programs (Uninstall a program) feature of the Windows system to remove the NNM iSPI Performance for TrafficMaster Collector. Choose the Master Collector for iSPI Performance for Traffic entry by using the Programs and Features window.

After uninstalling the Master Collector, you must uninstall the NNM iSPI Performance for Traffic report extension packs manually.

Uninstalling the Leaf Collector

To remove the Leaf Collector, follow these steps:

  1. On the Leaf Collector system, go to the following directory:

    %NnmInstallDir%\traffic-leaf\Uninstall\HPOvTRLiSPI

    or

    %TrafficInstallDir%\traffic-leaf\Uninstall\HPOvTRLiSPI

    /opt/OV/traffic-leaf/Uninstall/HPOvTRLiSPI

  2. Double-click the setup file.
  3. Run the command ./setup.
  4. The uninstallation initialization process prompts you to choose the language you want to use. The installer then initializes the uninstallation process.
  5. On the Application Maintenance page, select Uninstall and then click Next. The Pre-Uninstall Summary page opens.
  6. Click Uninstall.
  7. After completing the uninstallation process, the installer opens the Uninstall Complete page. Click Done.

Alternatively, you can use the Add or Remove Programs (Uninstall a program) feature of the Windows system to remove the NNM iSPI Performance for TrafficLeaf Collector. Choose the Leaf Collector for iSPI Performance for Traffic entry by using the Programs and Features window.

© 2014-2017 Micro Focus or one of its affiliates