To migrate to your own storage in a DR NSP deployment
Purpose
Perform this procedure to migrate all data in a DR NSP deployment that currently uses local storage to a deployment that uses your own storage.
Steps
Back up data, perform individual cluster migrations | |
1 |
Perform “How do I back up the NSP cluster databases?” in the NSP System Administrator Guide. |
2 |
Perform Step 6 to Step 18 in the standby data center. |
3 |
Perform a NSP DR switchover to change the role of the standby NSP cluster to primary. |
4 |
Perform Step 6 to Step 18 in the former primary data center. |
5 |
Go to Step 19. |
Uninstall NSP | |
6 |
Perform the following steps on the NSP deployer host to enure that all existing PVCs, including nsp-backup-storage, are deleted.
|
7 |
Enter the following on the NSP deployer host: # cd /opt/nsp/NSP-CN-DEP-release-ID/bin ↵ |
8 |
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 # ./nspdeployerctl uninstall ↵ The NSP is uninstalled. |
9 |
Enter the following: # ./nspdeployerctl unconfig ↵ |
Configure and test local storage | |
10 |
Configure the following parameters in the platform section, kubernetes subsection of the nsp-config.yml file as shown below, using the following as a reference:
storage: readWriteOnceLowIOPSClass: "storage_class" readWriteOnceHighIOPSClass: "storage_class" readWriteOnceClassForDatabases: "storage_class" readWriteManyLowIOPSClass: "storage_class" readWriteManyHighIOPSClass: "storage_class" where storage_class is your storage class to assign |
11 |
You must ensure that the storage classes meet the IOPS requirements; otherwise, system performance degradation may result. Run the script that checks the IOPS of the configured storage classes.
|
12 |
If the output for each class indicates that the IOPS threshold is met, the throughput requirements are sufficient for NSP deployment. Otherwise, you must reconfigure your storage to meet the requirements. Note: You must not proceed unless the throughput requirements are met. |
Install NSP | |
13 |
Enter the following on the NSP deployer host: # cd /opt/nsp/NSP-CN-DEP-release-ID/bin ↵ |
14 |
Enter the following: # ./nspdeployerctl config ↵ |
15 |
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 install # ./nspdeployerctl install ↵ The NSP is installed. |
Verify storage configuration | |
16 |
Check the state of the PVCs and PVs.
|
Verify DR data synchronization | |
17 |
Use the System Health dashboard to verify that data synchronization completes for the following: |
18 |
Perform the following on the NSP deployer host.
|
19 |
Close the open console windows. End of steps |