To uninstall an NSP analytics server

Purpose

Perform this procedure to remove the NSP analytics server software from a station.

Note: You require root and nsp user privileges on the analytics server station.

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

Steps
 

Log in to the analytics server station as the nsp user.


Open a console window.


Enter the following:

bash$ /opt/nsp/analytics/bin/AnalyticsAdmin.sh uninstall ↵

The script displays the following message and prompt:

THIS ACTION WILL ERASE Analytics Application INSTALLATION

Please type 'YES' to continue


Enter YES.

The analytics server software uninstallation begins, and messages like the following are displayed:

Stopping Analytics Application

Dropping Existing Analytics Schema

The uninstallation is complete when the following is displayed:

Analytics Application has been uninstalled


Enter the following to switch to the root user:

bash$ su - ↵


Enter the following:

dnf erase nsp-analytics-server nspos-tomcat nspos-jre ↵

The dnf utility resolves any package dependencies, and displays the following prompt:

Remove 3 Packages

Installed size: n.n G

Is this ok [y/N]: 


Enter y ↵. The following and other progress messages are displayed:

Downloading Packages:

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction check

When the removal of all packages is complete, the following is displayed:

Complete!


When all packages are removed, enter the following to reboot the station:

systemctl reboot ↵

The station reboots.


Remove the /opt/nsp/analytics directory and contents.


10 

Close the console window.

End of steps