Executing the aix procedure, Swapping port area ids – HP StorageWorks 2.128 SAN Director Switch User Manual
Page 227

Fabric OS 5.x administrator guide 227
Executing the AIX procedure
This procedure is not intended to be comprehensive. It provides a starting point from which a SAN
administrator can develop a site-specific procedure for a device that binds by PID and cannot be
rebooted due to uptime requirements.
1.
Backup 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 or fabric to be updated.
3.
If you are not using multipathing software, issue the
varyoff
command for the volume groups.
The syntax is
varyoffvg volume_group_name
. For example:
varyoffvg datavg
4.
If you are not using multipathing software, unmount the volumes from their mount points using
umount
.
The syntax is
umount mount_point
. For example:
umount /mnt/jbod
5.
If you are using multipathing software, use that software to remove one fabric’s devices from its
configuration.
6.
Remove the device entries for the fabric you are migrating.
For example, if the HBA for that fabric is fcs0, issue the command:
rmdev -Rdl fcs0
7.
Connect to each switch in the fabric.
8.
Issue the
switchDisable
command.
9.
Issue the
configure
command and change the Core PID format to 1.
10.
Issue the
configEnable [effective_zone_configuration]
command.
For example:
configenable my_config
11.
Issue the
switchEnable
command. Enable the core switches first, and then the edges.
12.
Rebuild the device entries for the affected fabric using the
cfgMgr
command.
For example:
cfgmgr –v
This command might take several minutes to complete.
13.
If you are not using multipathing software, issue the
varyon
command for the disk volume groups.
The proper syntax is
varyonvg volume_group_name
. For example:
varyonvg datavg
14.
If you are not using multipathing software, mount all devices again and restart I/O.
For example:
mount /mnt/jbod
15.
If you are using multipathing software, reenable the affected path.
16.
Repeat this procedure for all fabrics.
Swapping port area IDs
If a device that uses port binding is connected to a port that fails, you can use port swapping to make
another physical port use the same PID as the failed port. The device can then be plugged into the new
port without rebooting the device.