Detect SAN Switch from AIX Side

Sometimes AIX Admin need to be sure that the System is connected to different SAN Switch for more redundancy and stability.

Follow below steps to check SAN Switches from AIX Side:

 # lsdev |grep fc
fcs0       Available 24-T1       Virtual Fibre Channel Client Adapter
fcs1       Available 24-T1       Virtual Fibre Channel Client Adapter
# lsattr -El fscsi0 |grep -i scsi_id
scsi_id     0xdf0707  Adapter SCSI ID                       False
# lsattr -El fscsi1 |grep -i scsi_id
scsi_id     0xde0718  Adapter SCSI ID                       False

0xdf & 0xde means that the 2 FC adapter are connected to 2 different SAN Switch

Above Steps Tested on AIX 6.1 & 7.1

Ref:
– Thanks to Mariappan Murugan
http://aixjournal.blogspot.com/2013/06/how-many-san-switches-connected-to-my.html

This entry was posted in AIX and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.