To remove NFM-P
Purpose
Perform this procedure on a standalone or DR NSP deployment.
Note: You require root or NSP admin user privileges on the NSP deployer host.
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
Prerequisites
Ensure all nodes are successfully managed through MDM.
Unmanage all nodes in NFM-P.
Steps
Stop and undeploy NSP cluster | |
1 |
In a standalone NSP deployment, perform Step 3 to Step 8. |
2 |
In a DR NSP deployment, perform Step 3 to Step 8 on the standby NSP cluster. Then repeat Step 3 to Step 8 on the primary NSP cluster. |
3 |
Log in to deployer host of the NSP cluster as a root user. |
4 |
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 |
5 |
Edit the following line in the platform section, kubernetes subsection to read: deleteOnUndeploy:false |
6 |
Save and close the file. |
7 |
Stop and undeploy the NSP cluster. 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 # /opt/nsp/NSP-CN-DEP-release-ID/bin/nspdeployerctl uninstall --undeploy --clean ↵ |
8 |
Check pods status in the NSP cluster host. Log in to the standby cluster host as a root user. # kubectl get pods -A ↵ The status of each NSP cluster pod is displayed; only kube-system and nsp-backup-storag-0 pods is Running. |
Redeploy NSP cluster | |
9 |
In a standalone NSP deployment, perform Step 11 to Step 17. |
10 |
In a DR NSP deployment, perform Step 11 to Step 17 on the primary NSP cluster. Then repeat Step 11 to Step 17 on the standby NSP cluster. |
11 |
Log in to deployer host of the appropriate NSP cluster as a root user. |
12 |
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 |
13 |
For a standalone NFM-P system, remove the IP address configured as the primaryIp value in the nfmp section. |
14 |
For a redundant NFM-P system, remove the IP address configured as the standyIp value in the nfmp section. |
15 |
Save and close the file. |
16 |
Enter the following to redeploy 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 ↵ Do not proceed to the next step until NSP redeploys successfully and all nodes are managed through MDM. |
17 |
Enter the following periodically to display the status of the Kubernetes system pods: Note: You must not proceed to the next step until each pod STATUS reads Running or Completed. # kubectl get pods -A ↵ The pods are listed. |
18 |
In the NSP UI, check the NFM-P configuration status. Open Settings, User Preferences. When NFM-P is removed from the NSP configuration, the NFM-P Client option is removed from the User Preferences page. |
19 |
Check NFM-P connection status. Open Data Collection and Analysis Management, Analytics Server Management, Server Status. When NFM-P is removed from NSP configuration, in the NFM-P section, the Enabled is set to No, Ready is set to No, and Active database host field is empty. The Auxiliary Database section displays the auxiliary database server details. |
20 |
Check the auxiliary database clusters status in the Auxiliary Database Clusters section on System Health dashboard. |
21 |
In the NSP UI, check analytics report generation. Open Data Collection and Analysis Management, Analytics Reports, Reports and Dashboards, NSP, utilization, and then Temperature, CPU, Memory Utilization Details (NSP). |
22 |
Back up the auxiliary database as described in the NSP System Administrator Guide as a scheduled or manual backup. Transfer the backup files to a separate facility for safekeeping. |
23 |
If auxiliary databases are geo-redundant, issue the cluster status API call: Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information. https://server/restconf/data/auxdb:auxdb-agent where server is the NSP advertised address In the output, the copy-cluster status should be “SUCCESS”. |
Remove NFM-P | |
24 |
Uninstall and remove all NFM-P auxiliary server software. On each auxiliary server station, perform the following.
|
25 |
Uninstall and remove all NFM-P main server software. On each main server station, perform the following.
|
26 |
Uninstall and remove all NFM-P database software. On each database station, perform the following.
|
27 |
Uninstall all NFM-P GUI clients in the network. |
28 |
Decommission the NFM-P main, database, and auxiliary server stations. End of steps |