Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Monday, 17 February 2014

How many SAN switches connected to my AIX server


Hope you all are aware of it nowadays we are mostly using SAN disks. It is highly important to know out disks and the adapter details. Fiber channel is used for lightning fast communication and to access the data. Data Read/Write to the San Disks have some protocols. Will see it later. Here is the commands to check the disks and Adapter details

# lsdev |grep fc
# lsattr -El fscsi0 |grep -i scsi_id


Example 1
# 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

No comments:

Post a Comment