Both “partitions” (lpar/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.
In both, lpar and its wpar the application is not running. Its file systems are unmounted, its volume group are subjected to the varyoffvg and 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 lpar execute:
chwpar -K -D devname=hdiskXX devtype=disk wpar_name
against as many disks as needed in the right wpar.
In the lpar un-mount file systems residing in the volume group relocated to the new storage, exportvg, ………
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 (lpar/wpar). Recreate 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 hdisks.
# chwpar -D devname=hdisk11 devtype=disk wpar_name
# chwpar -D devname=hdisk15 devtype=disk wpar_name
It is time to start the wpar.
# 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.
Pages: 1 2



0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.