To uninstall the NSP software from an NSP cluster

Purpose

Perform this procedure to remove the NSP software workload from the NSP cluster. This does not remove any NSP database content or cluster configuration.

Note: You require root user privileges on each NSP cluster station.

Note: release-ID in a file path has the following format:

R.r.p-rel.version

where

R.r.p is the NSP release, in the form MAJOR.minor.patch

version is a numeric value

Steps
 

Log in as the root user on the NSP deployer host.


Open a console window.


If the following files are present, back up the files to a secure location.

  • /opt/nsp/nsp-configurator/generated/nsp-keycloak-admin-secret

  • /opt/nsp/nsp-configurator/generated/nsp-keycloak-client-secret


To preserve NSP database content, perform the following steps.

  1. Open the following file using a plain-text editor such as vi:

    /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/config/nsp-config.yml

  2. Edit the following line in the platform section, kubernetes subsection to read:

      deleteOnUndeploy:false

  3. Save and close the file.


Enter the following:

cd /opt/nsp/NSP-CN-DEP-release-ID/bin ↵


Enter the following:

Note: If the NSP cluster VMs do not have the required SSH key, you must include the --ask-pass argument in the command, as shown in the following example, and are subsequently prompted for the root password of each cluster member:

nspdeployerctl --ask-pass uninstall --undeploy --clean

./nspdeployerctl uninstall --undeploy --clean ↵

The NSP software is removed from each NSP cluster member.

End of steps