Here are the steps for offline migrating a Serviceguard cluster to another SAN:
- create a LUN list:no. of source box
no. of source LUN
size of source LUNno. of target box
no. of target LUN
size of target LUN
- check the above excel sheet with a script – the sizes should be at least equal (or the target lun should be bigger)
every source lun should have a pair on the target side
every visible lun should be in the list
etc… - ignite backup
- downtime in monitoring system
- create a list of external volume groups (excluded vg00 and vg01)
- saving the output of read_lvmtab for further checking (contains the number of luns in every vgs)
- serviceguard autostart off (/etc/rc.config.d/cmcluster), confidence reboot
- exporting all external vgs – use the ‘-s’ option for vgexport! (with a for loop, use the list generated in step 5)
- shutting down both server, after it they can be de-cabled from the old SAN
- data migration – during the offline migration the servers can be restarted for patching and for ioconfig consolidation
- after patching shutting down the server for recabling to the new SAN
- ioscan, insf - if the luns were not detected check the FC HBAs with fcmsutil for link
- import the vgs with a for loop (see list in step 5), use the ‘-s’ option to vgimport!
- compare the output of read_lvmtab with the old one (step 6), the no. of luns should be the same for each vgs, check if all vgs were succesfully imported
- start the cluster and the packages, check package cntl logs, optionally enable cluster autostart if it was on