To add an NSP auxiliary database to the NSP

Purpose

The following steps describe how to include an NSP auxiliary database in an NSP deployment.

CAUTION 

CAUTION

Service Disruption

If the NSP deployment includes the NFM-P, a service-affecting restart of each NFM-P main server is required.

Perform this procedure only during a scheduled maintenance period.

Note: You must perform the procedure in each NSP data center.

Note: In a redundant deployment, you must perform the procedure first in the standby data center.

Steps
Configure NSP cluster
 

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 following section:

    auxDb:

      secure: "true"

      ipList: ""

      standbyIpList: ""


Edit the section to read as follows:

Note: For a geo-redundant auxiliary database, ensure that you record the following, which must be correctly specified in the local NFM-P main server configuration:

  • ip_list addresses, which must be specified as the cluster_1 addresses on the main server

  • standby_ip_list addresses, which must be specified as the cluster_2 addresses on the main server

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

Note: For a standalone cluster, you only need to specify addresses in the ipList, and leave standbyIpList empty.

    auxDb:

      secure: "true"

      ipList: "cluster_1_IP1,cluster_1_IP2...cluster_1_IPn"

      standbyIpList: "cluster_2_IP1,cluster_2_IP2...cluster_2_IPn"

where

cluster_1_IP1, cluster_1_IP2...cluster_1_IPn are the external IP addresses of the stations in cluster 1

cluster_2_IP1, cluster_2_IP2...cluster_2_IPn are the external IP addresses of the stations in cluster 2; required only for geo-redundant deployment


Save and close the nsp-config.yml file.


Perform the steps in Install Kubernetes secrets.


Enter the following to start the NSP cluster:

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 install --config --deploy ↵

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

The NSP configuration is updated to include the auxiliary database.


Verify backup configuration
 

Regular auxiliary database backups are strongly recommended. Ensure that scheduled database backups are enabled to ensure minimal data loss in the event of a failure. See the NSP System Administrator Guide for information.

End of steps