Both “partitions” (
wpar) have data in SAN based volume groups that need to be migrated. These migration of data is done by the appropriate SAN gear by SAN administrator. At a convenient time, applications will we stopped, their file systems will be un-mounted, their volume groups will be deactivated and removed and finally the data copy process between SVC and XIV will be terminated. Next, host FC cables will be moved to different SAN switches and the appropriate XIV luns will be zoned to allow host access to the data.
lpar and its
wpar the application is not running. Its file systems are unmounted, its volume group are subjected to the
exportvg procedure. Their disks are also exiled executing
rmdev -dl hdisk# against the appropriate disks.
Now, the same disks that were removed previously from the
wpar have to be removed from its definition. In the
chwpar -K -D devname=hdiskXX devtype=disk wpar_name
against as many disks as needed in the right
lpar un-mount file systems residing in the volume group relocated to the new storage,
Now is the time for FC “cables/wires/etc” to be plugged into the new switch or switches. After this is done the “configuration mangler” aka
cfgmgr will be executed and hopefully the same number of disks with identical PVID’s will be acquired as were removed. Looking at their PVID’s it is easy to establish which disk belong to which partitions (
lpars's volume group or groups using appropriate PVID’s and the volume group name. Change
wpardefinition also using appropriate PVID’s to obtain the right
# chwpar -D devname=hdisk11 devtype=disk wpar_name
# chwpar -D devname=hdisk15 devtype=disk wpar_name
It is time to start the
# startwpar -a -v wpar_name
Its disks will be automatically configured and “seen”. Use
importvg in the same way as before to acquire the data stored in the new disks.
You are done.
This is the very first time, I went through this process. I do not think this is the only way to go about it. I am not convinced that I need to stop/shutdown the
wpar to remove some and to add more disks to it. I hope, in the future, I will have more opportunities to test the other ideas.