Changing the destination storage unit using the command-line
To change the destination storage unit using the command-line
- Update the existing evacuation configuration file or create a new one to specify the destination in the following format:
V7.5 "operation" "update-virtual-volume" string V7.5 "virtualVolume" "<mvg-volume>" string V7.5 "diskVolume" "<msdp-server1>:<msdp-volume1>:Y" string V7.5 "diskVolume" "<msdp-server2>:<msdp-volume2>:Y" string V7.5 "diskVolume" "<msdp-server...>:<msdp-volume...>:Y" string
Use :ES:<storage-unit-of-the-current-mvg-volume> instead of :Y as the suffix for the MSDP server and disk volume, which is to be evacuated.
For example:
# cat /root/evacuate-host4.cfg V7.5 "operation" "update-virtual-volume" string V7.5 "virtualVolume" "mvg-local" string V7.5 "diskVolume" "mvgdemo-host2.mvgdemo.com:PureDiskVolume:Y" string V7.5 "diskVolume" "mvgdemo-host3.mvgdemo.com:PureDiskVolume:Y" string V7.5 "diskVolume" "mvgdemo-host4.mvgdemo.com:PureDiskVolume:ES:evacuate-stu" string
Note:
The destination storage unit must be associated with the current MVG volume.
- Apply the configuration changes to the MVG volume.
storage_server <mvg-server> -stype PureDisk -configlist <configuration-file>