Migrating the cloud volume of an MVG volume
If the MSDP server has a cloud volume that needs to be migrated, use the cloud volume migration feature. If the cloud volume is already part of an MVG volume or you plan to start using it through the MVG volume, perform the following steps.
To migrate the cloud volume of an MVG volume
- Assign the cloud volume to an MVG volume if it is not part of any MVG volume.
- Set the cloud volume to read-only mode in the MVG volume details page. Delete any storage units that are directly associated with this cloud volume.
- Migrate images to the MVG Volume. This step is required only if the cloud volume was previously used directly for backups.
You can determine this by checking whether any backup policies or SLPs have written to storage units on this cloud volume. For example, you can query the NetBackup catalog for the images that are associated with the cloud volume.
To migrate the images, run the following commands. Both commands are needed to ensure that the original images can be accessible again from the MVG volume.
Run the following NetBackup command on the NetBackup primary server:
bpimage -newserver "<mvg-server>" -oldserver "<msdp-server-of-cloud-volume>" -newdiskpool "<mvg-dp>" -olddiskpool "<cloud-dp>"
Run the following MSDP command on the MSDP server of the cloud volume.
cacontrol --dataselection migrate-to-mvg <dsid-of-cloud-volume>
- Delete the cloud volume from the MVG volume configuration without starting an evacuation of the cloud volume.
- Remove the cloud volume configuration from NetBackup.
Remove the volume from the old MSDP server or fully decommission the old MSDP server.
See Deleting a cloud LSU.
- Mount the cloud volume to a new MSDP server and create a new disk pool for the cloud volume.
For information on how to mount and reuse an existing cloud volume to an MSDP server, see the following topic.
See Reuse cloud LSU.
Note:
The new MSDP server must not have any other cloud volumes currently used by the MVG volume. This ensures that the cloud volume can be re-added to the MVG volume later.
Run the MSDP command again on the new MSDP server:
cacontrol --dataselection migrate-to-mvg <dsid-of-cloud-volume>
- Add the cloud volume back to the MVG volume.
On the MVG volume details page, click Add to add the cloud volume back to the MVG volume. Alternatively, use the equivalent CLI.