To migrate data to your own storage
Purpose
Perform this procedure to migrate data from local storage to your own storage.
This procedure applies to a standalone NSP system when NSP is running with local storage.
Steps
1 |
Perform “How do I back up the NSP cluster databases?” in the NSP System Administrator Guide. |
2 |
Perform the following steps on the NSP deployer host to make sure all the existing PVCs including nsp-backup-storage are deleted.
|
3 |
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 ↵ |
4 |
Enter the following: # ./nspdeployerctl unconfig ↵ |
5 |
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 |
6 |
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. |
7 |
Install NSP in restore mode.
|
8 |
Check the state of the PVCs, PVs, and pods.
|
9 |
Verify that the NSP cluster databases are restored. End of steps |