With HPUX v2, it is a bit tricker to do it online, since for every path you will have one disk device which you have to configure. Agile naming and lun map are on HPUX v3 which makes things considerably easier.
But since you have downtime, export the volume group(s) in which FC disks are into a file (-p -m -s easy to remember
)
Stop the service in question and umount the filesystems.
Deactivate and export the volume group.
Unpresent the existing FC luns from host.
Clean up the old device files, you will need to remove the "NO_HW" devices with rmsf -H # this is optional but desirable.
Zone the storage and host on the new switch, and present the luns to the host.
Import the volume group using file you created in setup one.
Activate the volume group and mount filesystems, since you used -m option, it will import with VGID from file.
IF you are migrating SAN root volume group (vg00) additional steps are required.
For online migration, you will need to
Disconnect one path and connect it to a new switch which is zoned and setuped for the host.
Present the luns over that path to host.
Using vgextend, extend the volume group with new luns.
Using vgreduce, remove the existing lun (old switch path)
Disconnect other path, connect to new switch, present, vgextend new, vgreduce old disk path.
Hope that helps.
Regards
Peasant.