How do I add or remove an NSP installation option?

Purpose

Perform this procedure to add an installation option to an NSP deployment, or to remove an installation option.

CAUTION 

CAUTION

Service Disruption

Performing the procedure requires a restart of each NSP cluster, which is service-affecting. During the restart, the NSP may be temporarily unavailable.

You must perform the procedure only during a scheduled maintenance period.

Note: You must perform the procedure on each NSP cluster.

Note: In a DR deployment, you must perform the steps first on the standby NSP cluster.

Steps
 

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


Open a console window.


If you intend to remove any installation options, 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 as shown below:

      deleteOnUndeploy:false

  3. Save and close the file.

  4. Enter the following:

    /opt/nsp/NSP-CN-DEP-release-ID/bin/nspdeployerctl uninstall –-undeploy ↵

    The NSP cluster stops.


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


Locate the installationOptions section in the nsp section, which resembles the following:

  installationOptions:

    - name: "NSP Platform - Base Services"

      id: platform-baseServices

    - name: "NSP Platform - Logging and Monitoring"

      id: platform-loggingMonitoring

#    - name: "Other Installation Option"

#      id: otherInstallationOption


To add an installation option, uncomment the installation option name and id lines by removing the leading # character from each line.

Note: You must preserve the leading spaces in each line.


To remove an installation option, convert the installation option name and id lines to comments by inserting a # character at the beginning of each line.

Note: You must preserve the spaces that follow the # character.


Save and close the nsp-config.yml file.


Enter the following to start the NSP cluster:

/opt/nsp/NSP-CN-DEP-release-ID/bin/nspdeployerctl install --config –-deploy ↵

The NSP cluster starts, and the configuration update is put into effect.


10 

Close the console window.

End of steps