Handling the failed images gracefully using the command-line
Some images may fail to be duplicated for various reasons. When they fail, the status monitoring command shows the number of failed images. Use the following MVG commands to list, retry, or cancel the evacuation of these failed images.
To handle the failed images gracefully using the command-line
- List the failed images.
/usr/openv/pdde/pdcr/bin/mvgapiutil evac --mvg-volume <mvg-volume> --msdp-server <msdp-server> get-failed-images
- Retry the evacuation of failed images that are specified in the input file.
/usr/openv/pdde/pdcr/bin/mvgapiutil evac --mvg-volume <mvg-volume> --msdp-server <msdp-server> retry-failed-images --input <input-file>
- Cancel the evacuation of failed images that are specified in the input file:
/usr/openv/pdde/pdcr/bin/mvgapiutil evac --mvg-volume <mvg-volume> --msdp-server <msdp-server> giveup-failed-images --input <input-file>
The input file content is in a JSON format as follows.
{ "images": [{ "client": "client", "policy": "policy", "id": "<backup_id>", "copyNumber": <copy_number>}, ...] }To apply to all failed images, use an empty list:
{ "images": [] }