1829738 Members
1702 Online
109992 Solutions
New Discussion

WWN FC HBA

 
SOLVED
Go to solution
Otong Sunaryo
Occasional Advisor

WWN FC HBA

Dear All,

I need to know my WWN number of my FC HBA connected to RedHat Linux Server. What command should i used ?

Thanks for your help.\

Best Regards,

Otong
2 REPLIES 2
Eric van Dijken
Trusted Contributor
Solution

Re: WWN FC HBA

Install the HP fibrechannel utils and run: # /opt/hp/hp_fibreutils/adapter_info

Which comes from this package:
ftp://ftp.hp.com/pub/softlib/software4/COL4635/co-19556-2/fibreutils-1.9.0-2.linux.i386.rpm


(Your mileage may differ, as i run RHES3 on a BL20p G3 server)
Watch, Think and Tinker.
SAKET_5
Honored Contributor

Re: WWN FC HBA

Hi Otong,

Yes, HP_FibreChannelUtilities.rpm is a nice suite of tools, however I am almost certain they are not bug free as experience has proven at our site, e.g. try detecting LUNs online on Linux with lssd or probe-luns..!! You would find more support for my previous statement on HP ITRC Forum details - a search would reveal similiar discussions on the HP FC Utilities rpm.

Assuming, you have Qlogic FCAs and their Qlogic drivers installed, to get the FCA WWNs, you could just run the following command:

cat /proc/scsi/qla2300/0
To get detailed info including FCA WWN on the first FCA
cat /proc/scsi/qla2300/1
To get detailed info including FCA WWN on the second FCA

Hope, it helps and consider assigning points to the responses if they are of any help to you.

Regards,
Saket.