Description
This manual check is done in order to check FC connectivity to InfiniBox systems in HP-UX hosts.
This is a manual configuration step that is currently not supported in Host Power Tools.
Manual configuration guide
Recommended settings
To list the fc ports, type:
ioscan -fnC fc
With the output of the following form:
Class I H/W Path Driver S/W State H/W Type Description ================================================================ fc 0 0/2/1/0 fcd CLAIMED INTERFACE HP AB379-60001 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 1) /dev/fcd0 fc 1 0/2/1/1 fcd CLAIMED INTERFACE HP AB379-60001 4Gb Dual Port PCI/PCI-X Fibre Channel Adapter (FC Port 2) /dev/fcd1
To check that an FC port is on, and to get it's WWN:
fcmsutil /dev/fcd1
With the expected output:
... N_Port Port World Wide Name = 0x50060b00003b2226 ... Driver state = ONLINE ...
To check if the system is visible, type:
ioscan -m lun -C ctl
You should see a list of all the storage controllers that are visible to this host. For each port, you should see something like:
Class I Lun H/W Path Driver S/W State H/W Type Health Description ====================================================================== ctl 5 64000/0xfa00/0x9 esctl CLAIMED DEVICE online NFINIDATInfiniBox 0/2/1/1.0x5742b0f000753611.0x0 /dev/pt/pt5
Note that the state should be CLAIMED, and health should be online.
Manual fix
If the system's WWN's are not visible to the host, you can:
- Check the zoning between the host and InfiniBox in the FC switch.
Perform a rescan:
ioscan -fnC fc
Updating the SCSI storage controller attributes for better performance
After connecting InfiniBox, and checking for FC connectivity, one should do the following configuration change on the storage controller H/W Path:
scsimgr set_attr -H 0/2/1/1.0x5742b0f000753611 -a tport_qdepth_enable=1 -a tport_qd_dyn=0 -a tport_max_qdepth=4096 scsimgr save_attr -H 0/2/1/1.0x5742b0f000753611 -a tport_qdepth_enable=1 -a tport_qd_dyn=0 -a tport_max_qdepth=4096
Where 0/2/1/1.0x5742b0f0004e2c11 is the target path of InfiniBox, not including the lun. This target path can be retrieved using ioscan -m lun -C ctl (See the example above).
Last edited: 2022-08-06 08:23:46 UTC
Comments