Making SAN changes on IBM Power Systems hosts running AIX
You can change the storage area network (SAN) configuration on an IBM® Power Systems host.
Before you begin
To determine whether Dynamic Tracking is enabled on a Fibre Channel adapter:
- Enter lsattr –El fscsiX where fscsiX is the FC SCSI I/O Controller Protocol Device that corresponds to the Fibre Channel adapter attached to the DS8000.
- If the attribute dyntrk has a value of no, Dynamic Tracking of Fibre Channel devices is not enabled for this FC adapter. To enable Dynamic Tracking, enter chdev –l fscsiX –a dyntrk=yes
Notes:
- You might need to unconfigure the Fibre Channel adapter to change the value of the dyntrk attribute. Complete the following procedure to unconfigure a Fibre Channel adapter. Alternatively, it is possible to use the –P option on the chdev command and then reboot the partition for the new dyntrk attribute value to take effect.
- For a complete overview of AIX Dynamic Tracking of Fibre Channel device capabilities on IBM Power Systems see the https://www.ibm.com/support/knowledgecenter/ssw_aix.
About this task
Procedure
To unconfigure the Fibre Channel adapter when used in a typical AIX configuration, complete the following steps.
- Stop all I/O that is running to the affected disks.
- For each host that is connected to the storage system, enter umount filesystem_name for all file systems to be unmounted.
- Enter varyoffvg VG_name for each 2107/242x/533x volume group to be varied offline.
- Enter rmdev -dl fcsadapter_number -R to
remove the Fibre Channel adapter. The value of adapter_number is the number of the Fibre Channel adapter that you want to remove, for example, rmdev -dl fcs1 -R.
- Make all required SAN changes.
- Enter cfgmgr to reconfigure the adapter and rediscover the 2107/242x/533x hdisks.
- Enter varyonvg VG_name for each 2107/242x/533x volume group to be varied online.
- Enter mount filesystem_name to remount all file systems from all hosts that are connected to the storage system.
- Resume I/O to the affected disks.