Tuesday, January 27, 2015

Identify Sun Fibre Channel (FC) HBA


Assuming there is not a mixture of SUN and NON-SUN FC HBAs in server, (ie. all HBAs from same vendor) if one of the HBAs is down looking at other HBAs in server will tell us if HBAs in server are SUN Branded or not.
These steps only apply to:
  • Fibre channel (FC-AL and Point-to-Point) HBAs Cards:  – Single or Dual port FC only ports
  • Ethernet/IP and FC HBA Combo Cards:    – 2 Ethernet ports and 2 FC ports
  • CEE/FCoE CNAs (Converged Network Adapters) Cards:  – 2 FCoE ports (Fibre Channel over Ethernet)
Using fcinfo Command:
For Solaris 10 U1 or above  – 
Command:   fcinfo hba-port
For Solaris 8 & 9 or Solaris 10 before U1 or if fcinfo command does not work for some reason go to "prtpicl" Command  and check "Model:" field in conjunction with "Manufacturer:" field.
LPxxxxxx-S are SUN Emulex HBA Cards  (ie has a "-S" for Sun at end).
LPxxxxxx-E are usually NON-SUN HBAs resold by EMC.
LPxxxxxx-H are usually NON-SUN HBAs resold by Hitachi.
375-xxxx-xx are SUN Qlogic HBA Cards.

 
  • QLAxxxx may or may not be SUN Qlogic HBA Cards so you would need to use "prtpicl Command:"  to determine.
  • Model: 2200 with Manufacturer: QLogic Corp is a old SUN Fibre Channel Arbitrated Loop (FC-AL) HBA Cards.
  • Legacy discontinued JNI FC HBAs with jfca Driver are SUN HBA cards but other JNI cards may also be listed and would require SUN SAN engineer analysis of explorer output to determine if it SUN branded or not.
 Example:
# fcinfo hba-port
HBA Port WWN: 2300080020fb288d
OS Device Name: /dev/cfg/c1
Manufacturer: QLogic Corp.
Model: 2200
Firmware Version: 2.01.145
FCode/BIOS Version: ISP2200 FC-AL Host Adapter Driver: 1.14 01/11/20
Serial Number: not available
Driver Name: qlc
Driver Version: 20090415-2.30
Type: L-port
State: online
Supported Speeds: 1Gb
Current Speed: 1Gb
Node WWN: 2200080020fb288d
HBA Port WWN: 10000000c94a30f8
OS Device Name: /dev/cfg/c5
Manufacturer: Emulex
Model: LP10000DC-S
Firmware Version: 1.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a4 Fcode:1.50a4
Serial Number: BG52130223
Driver Name: emlxs
Driver Version: 2.31t (2009.04.05.14.10)
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c94a30f8
HBA Port WWN: 10000000c94a30f9
OS Device Name: /dev/cfg/c6
Manufacturer: Emulex
Model: LP10000DC-S
Firmware Version: 1.92a1 (T2D1.92A1)
FCode/BIOS Version: Boot:5.01a4 Fcode:1.50a4
Serial Number: BG52130223
Driver Name: emlxs
Driver Version: 2.31t (2009.04.05.14.10)
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb
Current Speed: 2Gb
Node WWN: 20000000c94a30f9
HBA Port WWN: 210100e08b263e96
OS Device Name: /dev/cfg/c3
Manufacturer: QLogic Corp.
Model: 375-3030-xx
Firmware Version: 2.01.145
FCode/BIOS Version:  fcode: 1.13;
Serial Number: not available
Driver Name: qlc
Driver Version: 20090415-2.30
Type: L-port
State: online
Supported Speeds: 1Gb
Current Speed: 1Gb
Node WWN: 200100e08b263e96
HBA Port WWN: 210000e08b063e96
OS Device Name: /dev/cfg/c4
Manufacturer: QLogic Corp.
Model: 375-3030-xx
Firmware Version: 2.01.145
FCode/BIOS Version:  fcode: 1.13;
Serial Number: not available
Driver Name: qlc
Driver Version: 20090415-2.30
Type: unknown
State: offline
Supported Speeds: 1Gb
Current Speed: not established
Node WWN: 200000e08b063e96
#
Using prtpicl Command:
If prtpicl command not available or does not work for some reason then go to "prtdiag Command:".
Sample Command:  prtpicl -v | egrep "devfs-path|driver-name|subsystem-id" | nawk '/:subsystem-id/ { print $0; getline; print $0; getline; print $0; }' | nawk -F: '{ print $2 }'
Note: Make sure entire command string is entered correctly
Example:
# prtpicl -v | egrep "devfs-path|driver-name|subsystem-id" | nawk '/:subsystem-id/ { print $0; getline; print $0; getline; print $0; }' | nawk -F: '{ print $2 }'
subsystem-id 0x8
devfs-path /pci@1f,4000/TSI,gfxp@4
driver-name gfxp
subsystem-id 0x10a
devfs-path /pci@4,4000/SUNW,qlc@3
driver-name qlc
subsystem-id 0x10a
devfs-path /pci@4,4000/SUNW,qlc@3,1
driver-name qlc
subsystem-id 0xffff
devfs-path /pci@6,4000/pci@3/scsi@4
driver-name qus
subsystem-id 0xffff
devfs-path /pci@6,4000/pci@3/scsi@5
driver-name qus
subsystem-id 0x4083
devfs-path /pci@6,2000/pci@1/SUNW,qlc@4
driver-name qlc
subsystem-id 0x4083
devfs-path /pci@6,2000/pci@1/SUNW,qlc@5
driver-name qlc
#
This list will include FC HBAs, as well as, other components.  Check table below under SSID column.
NOTE: If WinDriver (unsupported NON-SUN driver development tool) is installed it can alter HBA card info by a  prepending a digit "8" to SSID and changing fcode driver strings which alter the device path to QLGC,qlc. This WinDrivers has also can cause servers to panic and reboot.
Search /var/adm/messages for following strings to determine if WinDriver is installed:

windrvr6
Jungo
WinDriver
WDsolarisAttach
Example:
SUN Qlogic HBA
subsystem-id     0x143
devfs-path       /pci@0/pci@0/pci@8/pci@0/pci@8/SUNW,qlc@0
driver-name      qlc
binding-name     pciex1077,143
changed to
subsystem-id     0x8143
devfs-path       /pci@0/pci@0/pci@8/pci@0/pci@8/QLGC,qlc@0
binding-name     QLGC,qlc
Not supported by SUN or Qlogic.  Do not know effect on Emulex HBAs.
NOTE: Keep in mind that the table may not have been updated yet with any recently release (ie. new) FC HBAs and CNAs Cards. SUN SAN support may need to be engaged to determine if new FC HBAs are SUN branded or not.
- First look at devices that use SUN Qlogic HBA Driver "qlc" and/or SUN Emulex HBA Driver "emlxs" to see if their subsystem-id matches any in table.
- If no matches are found then there are no SUN FC HBAs (see NOTE above) in server therefore any FC HBAs in server are NON-SUN HBA Cards.
- Then check for reference to "fibre-channel" in the device path. It typically means that it is a NON-SUN HBA Cards with no Fcode installed. One exception to this is the SUN-Emulex jumper problem.
- If you see any of the following references they are NON-SUN HBA Cards:
NON-SUN Qlogic:
  • qlaxxxx
  • QLGC,qla
  • QLGC,qlc
  • SUNW,qla
NON-SUN Emulex:
  • emlx (emlxs is SUN)
  • lpfc
- These may or may not be SUN HBA Cards:
  • fibre-channel
  • JNI
Using prtdiag Command:
For SPARC (not x86) server/Solaris only. If x86 server or none of these commands provide conclusive data on hba then provide Explorer output per instruction at beginning of this document to support engineer for analysis.
Command:  prtdiag -v 
Then go to "IO Cards" or "IO Devices" section of output.  You may be able to see model and/or subsystem-id of hbas then check table for any matches.
Examples:
========================= IO Cards =========================
Bus  Max   IO   Port Bus       Freq Bus  Dev,Brd  Type  ID  Side Slot MHz  Freq Func State Name                              Model
—- —- —- —- —- —- —- —- —– ——————————–  ———————-
I/O   PCI   8    B    4    33   33  1,0  ok    pci-pci1011,26.5/SUNW,qlc (scsi-+ PCI-BRIDGE
I/O   PCI   8    B    4    33   33  4,0  ok    SUNW,qlc-pci1077,2200.1077.4083.+ device on pci-bridge
I/O   PCI   8    A    1    66   66  1,0  ok    SUNW,emlxs-pci10df,fc00/fp (fp)   LP10000DC-S
I/O   PCI   8    A    1    66   66  1,1  ok    SUNW,emlxs-pci10df,fc00/fp (fp)   LP10000DC-S

 
Note: the qlogic HBA shows the subsystem-id (4083, using the above example).
LPxxxxxx-E are usually NON-SUN HBAs resold by EMC.
LPxxxxxx-H are usually NON-SUN HBAs resold by Hitachi.

 
Below is the HBA Reference table from official Sun support site:
PART#ChipsetFRUModelSSIDBUSxGb
Emulex HBAs
SG-XPCI1FC-EM2Thor375-3304LP10000-Sfc00PCI-X1Gb
SG-XPCI2FC-EM2Thor375-3305LP10000DC-Sfc00PCI-X2Gb
SG-XPCI1FC-EM4-ZHelios375-3398LP11000-Sfc11PCI-X4GB
SG-XPCI2FC-EM4-ZHelios375-3399LP11002-Sfc12PCI-X4GB
SG-XPCIE1FC-EM4Zephyr375-3396LPe11000-Sfc21PCI-E4GB
SG-XPCIE2FC-EM4Zephyr375-3397LPe11002-Sfc22PCI-E4GB
SG-XPCIE2FC-EB4-ZZephyr375-3386LPem11002-Sfc2ePCI-E4GB
SG-XPCIE20FC-NEM-ZZephyr375-3385LPe11020-Sfc2aPCI-E4GB
SG-XPCIE2FC-ATCA-Znot listed371-3264LPeA11002-Sfc2dPCI-E4GB
SG-XPCIE2FCGBE-E-Znot listed371-4018LPem11002E-Sfc23PCI-E4GB
SG-XPCIE1FC-EM8-ZSaturn371-4295LPe12000-Sfc41PCI-E8Gb
SG-XPCIE2FC-EM8-ZSaturn371-4306LPe12002-Sfc42PCI-E8Gb
SG-XPCIEFCGBE-E8-Znot listed371-4666LPem12002E-Se402PCI-E8Gb
              
Qlogic HBAs
x6799ISP-2200A375-3019ISP22004082PCI1Gb
x6727ISP-2200A375-3030ISP22004083PCI1GB
x6748ISP-2200A375-0118ISP22004084cPCI1GB
x6757ISP-2200A375-3048ISP22004085Sbus1GB
SG-XPCI1FC-QF2ISP2310375-3102ISP2300106PCI-X2Gb
SG-XPCI1FC-QL2ISP2312375-3383ISP2312149PCI-X2Gb
SG-XPCI2FC-QF2ISP2312375-3108ISP231210aPCI-X2Gb
SG-XPCI2FC-QF2-ZISP2312375-3363ISP231210aPCI-X2GB
SG-XPCI1FC-QLCnot listed375-3253SP212132PCI-X2GB
SG-XPCI1FC-QLC-Znot listed375-3364SP212132PCI-X2GB
SG-XPCI1FC-QF4ISP2422375-3354QLA2460140PCI-X4GB
SG-XPCI2FC-QF4ISP2422375-3294QLA2462141PCI-X4GB
SG-XPCIE1FC-QF4ISP2432375-3355QLE2460142PCI-E4Gb
SG-XPCIE2FC-QF4ISP2432375-3356QLE2462143PCI-E4Gb
SG-XPCIE2FC-QB4-ZISP2432375-3384QEM246213dPCI-E4Gb
SG-XPCIE2FCGBE-Q-Znot listed371-4017QEM347214bPCI-E4Gb
SG-XPCIE1FC-QF8-ZISP2532371-4324QLE2560170PCI-E8GB
SG-XPCIE2FC-QF8-ZISP2532371-4325QLE2562171PCI-E8GB
SG-XPCIEFCGBE-Q8-Znot listed371-4522QEM3572172PCI-E8GB
              
JNI HBAs
SG-XPCI1FC-JF2not listed375-3156FCX-6562-L656cPCI-X2Gb
SG-XPCI2FC-JF2not listed375-3157FCX2-6562-L656bPCI-X2Gb
              
FCoE CNAs
SG-XPCIEFCOE2-Q-SRISP8112375-3681ISP8112183-qlc 184-qlgePCIe10Gb
SG-XPCIEFCOE2-Q-TAISP8112375-3682ISP811218b-qlc 18c-qlgePCIe10Gb
SG-XEMFCOE2-Q-SRnot listed375-3684QEM815220d-qlc 20e-qlgePCIe10Gb
SG-XEMFCOE2-Q-TAnot listed375-3685QEM815220d-qlc 20e-qlgePCIe10Gb
Note:
  • Boot from SAN will not work on SPARC.  This is because FCode will not be recognized    on SPARC systems.  The device path will say "fibre-channel" instead of "SUNW,emlxs."
  • The Solaris Leadville driver will not check the HBA firmware and update it if there    is a mis-match between what is on the board and what is in the driver.   However,    firmware can be updated manually.

No comments:

Post a Comment