To uninstall NSP Flow Collectors

Purpose

Perform this procedure to remove the NSP Flow Collector software from one or more stations.

An NSP Flow Collector uninstallation backs up the component configuration files in the /opt/nsp/backup_flow directory on the station. A subsequent NSP Flow Collector installation on the station automatically reloads the saved configuration files. If you do not want the previous configuration restored during a subsequent installation, you must delete the /opt/nsp/backup_flow directory before the installation.

Note: You require the following user privileges:

  • on the station that hosts the NSP installer software—root

  • on each NSP Flow Collector station—nsp

Note: The following RHEL CLI prompts in command lines denote the active user, and are not to be included in typed commands:

  • # —root user

  • bash$ —nsp user

CAUTION 

CAUTION

System degradation

On a station that has a collocated NSP Flow Collector and Flow Collector Controller, uninstalling the Flow Collector also uninstalls the Flow Collector Controller, which affects all Flow Collectors that it controls.

Before you attempt to uninstall an NSP Flow Collector that is collocated with a Flow Collector Controller, ensure that you fully understand the consequences.

Steps
 

Perform Step 3 and Step 4 on each NSP Flow Collector station.


Go to Step 5.


Log in as the nsp user.


Perform one of the following to stop the NSP Flow Collector.

Note: If an NSP Flow Collector Controller is also installed on the station, the Flow Collector Controller stops automatically.

  1. If the NSP Flow Collector is collocated on a station with an NSP Flow Collector Controller, enter the following:

    bash$ /opt/nsp/flow/fcc/bin/flowCollectorController.bash stop ↵

    The command displays a series of status messages as the NSP Flow Collector and Flow Collector Controller stop.

  2. If the NSP Flow Collector is on a dedicated station, enter the following:

    bash$ /opt/nsp/flow/fc/bin/flowCollector.bash stop ↵

    The command displays a series of status messages as the NSP Flow Collector stops.


Log in as the root user on a station that has the downloaded and extracted NSP component installer package (NSP_NSD_NRC_R_r.tar.gz).


Open a console window.


Enter the following:

cd path/NSD_NRC_R_r/bin ↵

where

path is the directory path of the NSP component installer package

R_r is the NSP software release, in the form MAJOR_minor


Enter the following:

./uninstall.sh --ask-pass --target address_1,address_2,...address_n

where address_1, address_2,...address_n is a comma-separated list of the NSP Flow Collector station IP addresses

You are prompted for the common root password of the stations.


Enter the password.

The NSP Flow Collector software is removed from each station.


10 

Remove the /opt/nsp/flow directory and contents from each station.


11 

Close the console window.

End of steps