Reuse cloud LSU
Step | Task | Procedure |
|---|---|---|
1 | Get LSU name before you reuse cloud LSU configuration. | Run any of the following commands to get the LSUs (disk volumes) on this MSDP server. /usr/openv/netbackup/bin/admincmd/nbdevquery -listdp -stype PureDisk -U /usr/openv/netbackup/bin/admincmd/nbdevquery -listdv -stype PureDisk -U Sample output: Disk Pool Name : my-aws-pool Disk Type : PureDisk Disk Volume Name : my-aws-lsu Disk volume name is LSU name. In this sample, LSU name is my-aws-lsu. |
2 | Prepare a template file and save it. | Config template example 1 : V7.5 "operation" "reuse-lsu-cloud" string V7.5 "cmsCredName" "your-cms-cred-name" string V7.5 "lsuCloudAlias" "<storageserver_lsuname>" string V7.5 "lsuCloudBucketName" "bucket-name" string V7.5 "lsuCloudBucketSubName" "lsuname" string V7.5 "requestCloudCacheCapacity" "1017" string Configuration template example 2 with encryption enabled: V7.5 "operation" "reuse-lsu-cloud" string V7.5 "cmsCredName" "your-cms-cred-name" string V7.5 "lsuCloudAlias" "<storageserver_lsuname>" string V7.5 "lsuCloudBucketName" "bucket-name" string V7.5 "lsuCloudBucketSubName" "lsuname" string V7.5 "lsuKmsServerName" "FQDN-KMS-server-host" string V7.5 "requestCloudCacheCapacity" "1017" string If you are performing cloud LSU consolidation where the source cloud LSU resides on an older MSDP storage server than the target, add the configuration string V7.5 "lsuMigrateCapable" "true" to the configuration file. This step is not required if both the source and target MSDP servers are running the same version. |
3 | Check if lsuCloudAlias exist. | Run the following command to list the instances to check if lsuCloudAlias exist. /usr/openv/netbackup/bin/admincmd/csconfig cldinstance -i | grep <lsuname> If an alias does not exist, run the following command to add them. /usr/openv/netbackup/bin/admincmd/csconfig cldinstance -as -in <cloud_privder_name> -sts <storageserver> -lsu_name <lsuname> [-storage_class <storage class or tier>] Note: The storage class must match the storage class that was selected during the initial configuration of LSU on the source storage server. The jobs may fail if the incorrect storage class is specified. Run the following command to find the cloud_privder_name: /usr/openv/netbackup/bin/admincmd/csconfig cldinstance -l You may need to include additional parameters such as storage tier, proxy configuration, authentication type, SSL settings, and son on, depending on your environment. Refer to the csconfig cldinstance command documentation for details on available options and their values in the NetBackup Command Reference Guide. |
4 | Reuse cloud LSU configuration. | Run the following command for each LSU to configure the cloud LSU. /usr/openv/netbackup/bin/admincmd/nbdevconfig -setconfig -storage_server <storageserver> -stype PureDisk -configlist /root/dr-lsu.txt |
5 | Recover spad/spoold metadata from cloud. | For each cloud LSU perform the previous four steps, and then run the following command. /usr/openv/pdde/pdcr/bin/cacontrol --catalog clouddr <lsuname> Note: The time to run this command depends on the size of the containers. Run the following command to get the catalog recovery status: /usr/openv/pdde/pdcr/bin/cacontrol --catalog clouddrstatus <lsuname> |
6 | Restart storage server. | /usr/openv/netbackup/bin/bp.kill_all /usr/openv/netbackup/bin/bp.start_all |
7 | Start MSDP online check to recreate refdb. | /usr/openv/pdde/pdcr/bin/pddecfg -a enabledataintegritycheck -d <dsid> /usr/openv/pdde/pdcr/bin/pddecfg -a startdatafullcheck -d <dsid> /usr/openv/pdde/pdcr/bin/crcontrol --processqueue --dsid <dsid> Note: -d and --dsid options are optional parameters and applicable for cloud LSU only. Use /usr/openv/pdde/pdcr/bin/pddecfg -a listcloudlsu to get cloud LSU dsid value. If given dsid value is "0", local LSU is processed. |
8 | Rebuild the sampling cache. | If the P/S cache is enabled, rebuild the sampling cache. |
See Recovering the MSDP S3 IAM configurations from cloud LSU.