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:
Note: The following RHEL CLI prompts in command lines denote the active user, and are not to be included in typed commands:
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
1 |
Perform Step 3 and Step 4 on each NSP Flow Collector station. |
2 |
Go to Step 5. |
3 |
Log in as the nsp user. |
4 |
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.
|
5 |
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). |
6 |
Open a console window. |
7 |
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 |
8 |
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. |
9 |
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 |