Monitoring the status of MSDP server evacuation using the command-line
To monitor the status of MSDP server evacuation using the command-line
- Run the following command to monitor the status.
/usr/openv/pdde/pdcr/bin/mvgapiutil evac --mvg-volume <mvg-volume> --msdp-server <msdp-server> status
For example:
/usr/openv/pdde/pdcr/bin/mvgapiutil evac status --mvg-volume mvg-local --msdp-server mvgdemo-host4.mvgdemo.com { "destStorageUnit": "evacuate-stu", "failedImages": 0, "failedLogicalSize": 0, "imagesInProgress": 0, "logicalSizeInProgress": 0, "migratedImages": 5, "migratedImagesUncleaned": 5, "migratedLogicalSize": 7246442735, "migratedLogicalSizeUncleaned": 7246442735, "skippedImages": 0, "skippedLogicalSize": 0, "state": "the data has been migrated. waiting for cleaning up the original images", "totalImages": 5, "totalLogicalSize": 7246442735 }
Parameter | Description |
|---|---|
destStorageUnit | The target storage unit selected for evacuation. |
totalImages/totalLogicalSize | The total number and size of the backup images that are collected from the disk volume of the MSDP server at the beginning of the evacuation process. |
migratedImages/migratedLogicalSize | The total number and size of the backup images that are migrated, including the images, which have and have not been cleaned up from the disk volume of the MSDP server. |
migratedImagesUncleaned/migratedLogicalSizeUncleaned | The total number and size of the backup images that are migrated but have not been cleaned up from the disk volume of the MSDP server. |
imagesInProgress/logicalSizeInProgress | The total number and size of the backup images that are in the migration process. |
skippedImages/skippedLogicalSize | The total number and size of the backup images that are skipped for evacuation. The orphan images and the failed images whose evacuation is canceled afterwards are counted as skipped images. |
failedImages/failedLogicalSize | The total number and size of the backup images that failed to migrate. |
state | The state of the background evacuation task. |