Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2134723.1
Update Date:2016-05-09
Keywords:

Solution Type  Technical Instruction Sure

Solution  2134723.1 :   How to Determine if a Brocade Fibre Channel HBA is installed on a Solaris server  


Related Items
  • SPARC T4-2
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>HBA>SN-DK: FC HBA
  •  


This doc is just a guide on how to check if a Brocade HBA is installed on a Solaris Server

In this Document
Goal
Solution


Created from <SR 3-12627364931>

Applies to:

SPARC T4-2 - Version All Versions and later
Information in this document applies to any platform.

Goal

Brocade Fibre Channel HBAs are installed using their own bfa driver which is fully
compatible with Solaris SAN Foundation Software. Thus, standard Solaris commands
such as cfgadm, luxadm, fcinfo and mpathadm works. But outputs from some
backline support tools like hbamap and sfkcheck can be confusing.

The goal of this doc is to provide sample output from these commands.


 

Solution

The HBA hardware:

The path output can be misleading since in  most of our KM documents, "fibre-channel" in the path  generally refers to a non-Oracle Emulex HBA

prtdiag -v
System Configuration: Oracle Corporation sun4v SPARC T4-2
Memory size: 65024 Megabytes
--
/SYS/MB/PCIE0 PCIE fibre-channel-pciex1657,17 5.0GTx8
/pci@400/pci@2/pci@0/pci@8/fibre-channel@0
/SYS/MB/PCIE0 PCIE fibre-channel-pciex1657,17 5.0GTx8
/pci@400/pci@2/pci@0/pci@8/fibre-channel
/SYS/MB/SASHBA PCIE scsi-pciex1000,72 LSI,2008 5.0GTx8
--
/SYS/MB/PCIE1 PCIE fibre-channel-pciex1657,17 5.0GTx8
/pci@500/pci@2/pci@0/pci@a/fibre-channel@0
/SYS/MB/PCIE1 PCIE fibre-channel-pciex1657,17 5.0GTx8
/pci@500/pci@2/pci@0/pci@a/fibre-channel
/SYS/RIO/VIDEO PCIX display-pci1a03,2000 --

fcinfo shows Brocade HBA model and driver name.

The output below as from a proactive explorer and the driver  and firmware versions were removed.

 

 $ fcinfo hba-port
HBA Port WWN: 100000051efbe52d
OS Device Name: /dev/cfg/c6
Manufacturer: Brocade
Model: Brocade-815
Firmware Version: %R:IP4%
FCode/BIOS Version:
Serial Number: ARD0445G038
Driver Name: bfa
Driver Version: %R:IP4% 12/07/2011 20.25.14
Type: N-port
State: online
Supported Speeds: 1Gb 2Gb 4Gb 8Gb
Current Speed: 8Gb
Node WWN: 200000051efbe52d
Link Error Statistics:
Link Failure Count: 0
Loss of Sync Count: 1
Loss of Signal Count: 0
Primitive Seq Protocol Error Count: 0
Invalid Tx Word Count: 5490
Invalid CRC Count: 0

The software:

 Sample output from Solaris boot:

$ gegrep 'SunOS Release|bfa:' messages
Mar 10 15:42:56 %R:HOST% genunix: [ID 540533 kern.notice] ^MSunOS Release 5.10 Version Generic_150400-28 64-bit
Mar 10 15:43:06 %R:HOST% bfa: [ID 702911 kern.notice] Brocade FCA Driver v3-0-3-0
Mar 10 15:43:06 %R:HOST% bfa: [ID 308019 kern.notice] BFA[info] log: init OK, msg total count 105
Mar 10 15:43:11 %R:HOST% bfa: [ID 702911 kern.notice] bfad0: PWWN: 100000051efbe52d NWWN: 200000051efbe52d
Mar 10 15:43:11 %R:HOST% bfa: [ID 702911 kern.notice] bfad0: Model: Brocade-815 Serial Number: ARD0445G038
Mar 10 15:43:11 %R:HOST% bfa: [ID 719714 kern.notice] BFA[/400/2/0/8/0][info] BFA_AEN_PORT_ONLINE: Base port online: WWN = %R:IP6%.
Mar 10 15:43:11 %R:HOST% bfa: [ID 702911 kern.notice] bfad0: Link Up
Mar 10 15:43:12 %R:HOST% bfa: [ID 702911 kern.notice] bfad2: PWWN: 100000051efbe354 NWWN: 200000051efbe354
Mar 10 15:43:12 %R:HOST% bfa: [ID 702911 kern.notice] bfad2: Model: Brocade-815 Serial Number: ARD0444G05K
Mar 10 15:43:12 %R:HOST% bfa: [ID 719714 kern.notice] BFA[/500/2/0/a/0][info] BFA_AEN_PORT_ONLINE: Base port online: WWN = %R:IP6%.
Mar 10 15:43:12 %R:HOST% bfa: [ID 702911 kern.notice] bfad2: Link Up
Mar 10 15:46:18 %R:HOST% bfa: [ID 702911 kern.notice] Brocade FCA Driver has been unloaded succesfully
$

All standard Solaris SAN Foundation commands works:

$  cfgadm -al -o show_FCP_dev
Ap_Id Type Receptacle Occupant Condition
c6 fc-fabric connected configured unknown
c6::500104f000af1ecb,0 tape connected configured unknown
c6::500104f000af1ed1,0 tape connected configured unknown
c6::50060e801005b0e0 unavailable connected configured unknown
c6::50060e80100aa0f0 unavailable connected configured unknown
c6::50060e80132fa703,0 disk connected configured unknown
c6::50060e80132fbe03,0 disk connected configured unknown

 

luxadm -e port
/devices/pci@400/pci@2/pci@0/pci@8/fibre-channel@0/fp@0,0:devctl CONNECTED
/devices/pci@500/pci@2/pci@0/pci@a/fibre-channel@0/fp@0,0:devctl CONNECTED

 

 
$ luxadm -e dump_map/devices/pci@400/pci@2/pci@0/pci@8/fibre-channel@0/fp@0,0:devctl
Pos Port_ID Hard_Addr Port WWN Node WWN Type
4 153900 0 500104f000af1ecb 500104f000af1eca 0x1 (Tape device)
6 153c00 0 500104f000af1ed1 500104f000af1ed0 0x1 (Tape device)
8 171600 0 50060e80132fbe03 50060e80132fbe03 0x0 (Disk device)
9 188280 0 50060e80100aa0f0 50060e80100aa0f0 0x0 (Disk device)
10 18b080 0 50060e80132fa703 50060e80132fa703 0x0 (Disk device)
11 18c280 0 50060e801005b0e0 50060e801005b0e0 0x0 (Disk device)
12 169000 0 100000051efbe52d 200000051efbe52d 0x1f (Unknown Type,Host Bus Adapter)

 

Some of our backline tools will not work:

$ hbamap -e explorer.85f1aef8.sbdnd01so144-2016.03.21.04.30
hbamap Version 2.6.0 (08/12/14)

HOST NAME : %R:HOST%
HOST TYPE : SPARC T4-2
HOST OS : Solaris 10 10/09 s10s_u8wos_08a SPARC
HOST UPTIME: 10 day(s), 7:48, 3 users, load average: 1.08, 0.42, 0.25

FOUND PATH TO 2 LEADVILLE HBA/CNA PORTS IN EXPLORER

C# INST# PORT WWN MODEL FCODE STATUS DEVICE PATH
-- ----- -------- ----- ----- ------ -----------

 

Explominer HWsummary will display the correct info:


##### sysconfig/fcinfo.out #####

WWN Dev Model FW Serial State Speed Link Sync Sign Prot InvT InvC
100000051efbe52d /dev/cfg/c6 Brocade-815 %R:IP4% ARD0445G038 online 8Gb 0 1 0 0 5490 0
100000051efbe354 /dev/cfg/c7 Brocade-815 %R:IP4% ARD0444G05K online 8Gb 0 1 0 0 5548 0

##### sysconfig/prtconf-v.out See doc if retired! See doc 1614738.1 #####
cfg /dev/cfg/c6 /pci@400/pci@2/pci@0/pci@8/fibre-channel@0/fp@0,0:fc
cfg /dev/cfg/c7 /pci@500/pci@2/pci@0/pci@a/fibre-channel@0/fp@0,0:fc

 

 

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback