Starting the MSDP server evacuation using the command-line
To start the MSDP server evacuation using the command-line
- Ensure that no storage units exist for the disk volume being evacuated. If any exist, delete them.
bpstulist -l
bpstudel -label <stu>
- Create a destination storage unit with the current MVG volume for evacuation.
bpstuadd -label <evacuation-stu> -dp <dp-of-mvg-volume> -cj <concurrency>
- Create a configuration file for evacuation 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
- Apply the configuration changes to the MVG volume.
storage_server <mvg-server> -stype PureDisk -configlist <configuration-file>