sunhux
asked on
Linux RHES command / file to find out WWN of a HBA FC card
Think " lspci -vv " doesn't give the WWN of HBA FC card.
I have one faulty pc & one working one, need to replace the faulty
unit & pre-configure the new HBA card's WWN on the SAN
Q1:
What's the command to find out WWN in RHES 4.6? Is there
a file that stores it?
Q2:
How do I determine if it's the left HBA card (viewed from the rear
of the server) or the right HBA card for each of the WWN listed?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Meyersd,
How did you derive 210000e08b80da51 for adapter 0 and 210000e08b804928
for adapter 1 from the outputs I posted. I don't see those hexadecimal strings
in the outputs I posted at all (unless I'm due to change my glasses)
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Time for those new specs then... :-)
The WWN strings starting with 5000... Are the storage array. An HP EVA is it?
ASKER
Meyersd, you're right, it's a HP EVA8000 storage array. Wow you can tell from it.
So there's vendor specific for those strings?
Which website tells us based on the number string, it's from which brand/vendor's storage ?
It's administered by the IEEE - like Ethernet MAC addresses, there's a manufcturer-specific prefix. I haven't looked for years but the manufacturer-specific prefixes used to be behind a pay wall. They may be free now, or someone may have compiled a list.
I recognize the HP prefix because I've been doing storage stuff for
12 years or so now and I have a good memory for irrelevant rubbish. :-)
I recognize the HP prefix because I've been doing storage stuff for
12 years or so now and I have a good memory for irrelevant rubbish. :-)
ASKER
excellent
Thanks! Glad I could help.
ASKER
This is what I got below, but I don't know how to tell from the info below
what is my WWN (for the left & right HBA cards as viewed from the rear):
[root@ qla2xxx]# pwd
/proc/scsi/qla2xxx
[root@qla2xxx]# grep -i port 0 | more
Port down retry = 030
scsi-qla0-adapter-port=210
FC Port Information:
scsi-qla0-port-0=50001fe15
scsi-qla0-port-1=50001fe15
scsi-qla0-port-2=50001fe15
scsi-qla0-port-3=50001fe15
scsi-qla0-port-4=500110a00
scsi-qla0-port-5=500110a00
[root@qla2xxx]# grep -i port 1
Port down retry = 030
scsi-qla1-adapter-port=210
FC Port Information:
scsi-qla1-port-0=50001fe15
scsi-qla1-port-1=50001fe15
scsi-qla1-port-2=50001fe15
scsi-qla1-port-3=50001fe15
scsi-qla1-port-4=500110a00
scsi-qla1-port-5=500110a00
scsi-qla1-port-6=100000e00
scsi-qla1-port-7=100000e00