HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

460 Configuring the PID format
HP-UX procedure
This procedure is not intended to be comprehensive. It provides a starting point from which a SAN
administrator could develop a site-specific procedure for a device that binds automatically by PID, and
cannot be rebooted due to uptime requirements.
1. Back up all data and verify the backups.
2. If you are not using multipathing software, stop all I/O going to all volumes connected through the
switch and fabric to be updated.
3. If you are not using multipathing software, unmount the volumes from their mount points using umount.
The proper usage is umount <mount_point>. For example:
umount /mnt/jbod
4. If you are using multipathing software, use that software to remove one fabric’s devices from its
configuration.
5. Deactivate the appropriate volume groups using vgchange. The proper usage is
vgchange –a n <path_to_volume_group>. For example:
vgchange –a n /dev/jbod
6. Make a backup copy of the volume group directory using tar from within /dev. For example:
tar –cf /tmp/jbod.tar jbod
7. Export the volume group using vgexport. The proper usage is
vgexport –m <mapfile> <path_to_volume_group>. For example:
vgexport –m /tmp/jbod_map /dev/jbod
8. Connect to each switch in the fabric
9. Issue the switchDisable command.
10. Issue the configure command and change the Core Switch PID Format to 1.
11. Issue the command cfgEnable [effective_zone_configuration]. For example:
cfgEnable my_zones
12. Issue the switchEnable command. Enable the core switches first, and then the edges.
13. Clean the lvmtab file with the command vgscan.
14. Change to /dev and untar the file that was tared in step 4. For example:
tar –xf /tmp/jbod.tar
15. Import the volume groups using vgimport. The proper usage is
vgimport –m <mapfile> <path_to_volume_group> <physical_volume_path>. For
example:
vgimport –m /tmp/jbod_map /dev/jbod /dev/dsk/c64t8d0 /dev/dsk/c64t9d0
16. Activate the volume groups using vgchange. The proper usage is
vgchange –a y <path_to_volume_group>. For example:
vgexport –a y /dev/jbod
17. If you are not using multipathing software, mount all devices again and restart I/O. For example:
mount /mnt/jbod
18. If you are using multipathing software, reenable the affected path. The preceding steps do not clean up
the results from ioscan. When viewing the output of ioscan, notice the that the original entry is still
there, but now has a status of NO_HW.