To migrate data to your own storage in a DR deployment
Purpose
Perform the following to migrate data from local storage to your own storage.
This procedure applies to a DR deployment when NSP is running with local storage.
Steps
1 |
In the active data center, perform “How do I back up the NSP cluster databases?” in the NSP System Administrator Guide. |
2 |
Perform Step 3 to Step 10 on the standby data center. |
3 |
Perform the following steps on the NSP deployer host to make sure all the existing PVCs including nsp-backup-storage are deleted.
|
4 |
Uninstall NSP. 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 ↵ |
5 |
Enter the following: # ./nspdeployerctl unconfig ↵ |
6 |
Configure the following parameters in the platform section, kubernetes subsection of the nsp-config.yml file as shown below: storage: readWriteOnceLowIOPSClass: "storage_class" readWriteOnceHighIOPSClass: "storage_class" readWriteOnceClassForDatabases: "storage_class" readWriteManyLowIOPSClass: "storage_class" readWriteManyHighIOPSClass: "storage_class" where readWriteOnceLowIOPSClass—for enabling ReadWriteOnce operations and maintaining storage IOPS below 10,000 readWriteOnceHighIOPSClass—for enabling ReadWriteOnce operations and maintaining storage IOPS above 10,000 readWriteOnceClassForDatabases—for enabling ReadWriteOnce operations and maintaining storage IOPS below 10,000 for NSP databases readWriteManyLowIOPSClass—for enabling ReadWriteMany operations and maintaining storage IOPS below 10,000 readWriteManyHighIOPSClass—for enabling ReadWriteMany operations and maintaining storage IOPS above10,000 storage_class is your storage class name |
7 |
Check if the storage classes meet the IOPS requirements. Run the script to check the IOPS of the configured storage classes.
If these requirements are not met, this may result in system performance degradation. |
8 |
Configure and install NSP. See To install the NSP |
9 |
Check data synchronization is complete for the following:
|
10 |
Perform the following on the NSP deployer host.
|
11 |
Perform a NSP DR switchover to change the state of the standby data center to active. |
12 |
Perform Step 3 to Step 10 on the previous active data center. End of steps |