Operating System - HP-UX
1833365 Members
3183 Online
110052 Solutions
New Discussion

Comand to check HBA model

 
James Odak
Valued Contributor

Comand to check HBA model

is there a command for HPUX 11.x to show what model the HBA card is?
10 REPLIES 10
Sunil Sharma_1
Honored Contributor

Re: Comand to check HBA model

fcmsutil is best utility to get this information. This is applicable for Fibre card only.


sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
RAC_1
Honored Contributor

Re: Comand to check HBA model

ioscan
fcmsutil
rad -q
There is no substitute to HARDWORK
baiju_3
Esteemed Contributor

Re: Comand to check HBA model

ioscan -fnC fc will also give you a short description.


Thanks,
BL.
Good things Just Got better (Plz,not stolen from advertisement -:) )
James Odak
Valued Contributor

Re: Comand to check HBA model

well ioscan and rad do not give the model number and i can not find a flag in fcmsutil either

# rad -q
Driver(s)
Slot Path Bus Max Spd Pwr Occu Susp Capable Max Mode
Num Spd Mode
5 0/2/0 16 N/A 66 On Yes No Yes N/A N/A
6 0/5/0 40 N/A 66 On Yes No Yes N/A N/A
7 0/1/0 8 N/A 66 On Yes No Yes N/A N/A
8 0/3/0 24 N/A 66 On Yes No Yes N/A N/A
9 0/9/0 72 N/A 66 On Yes No Yes N/A N/A
10 0/8/0 64 N/A 66 On Yes No Yes N/A N/A
11 0/12/0 96 N/A 66 On Yes No Yes N/A N/A
12 0/10/0 80 N/A 66 On Yes No Yes N/A N/A
sphpssp2:root:/
# ioscan -fnC fc
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 0 0/1/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td0
fc 1 0/2/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td1
fc 2 0/3/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td2
fc 3 0/5/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td3
Ranjith_5
Honored Contributor

Re: Comand to check HBA model

Hi James,

ioscan -funCfc will give you the model name.
fcmsutil will give you the device statistics.

sample output is given below.

ULTRAMAX:root-/>ioscan -funCfc
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
fc 2 0/1/1/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td2
fc 3 0/1/2/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td3
fc 0 0/3/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td0
fc 4 0/4/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td4
fc 1 0/6/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Channel Mass Storage Adapter
/dev/td1


======================================================

ULTRAMAX:root-/>fcmsutil /dev/td2

Vendor ID is = 0x00103c
Device ID is = 0x001029
XL2 Chip Revision No is = 2.3
PCI Sub-system Vendor ID is = 0x00103c
PCI Sub-system ID is = 0x00128c
Topology = PTTOPT_FABRIC
Link Speed = 2Gb
Local N_Port_id is = 0x010700
N_Port Node World Wide Name = 0x50060b0000243e59
N_Port Port World Wide Name = 0x50060b0000243e58
Driver state = ONLINE
Hardware Path is = 0/1/1/0
Number of Assisted IOs = 1243848
Number of Active Login Sessions = 1
Dino Present on Card = NO
Maximum Frame Size = 960
Driver Version = @(#) PATCH_11.11: libtd.a : Jun 28 2002, 11:08:35, PHSS_26799


Regards,
Syam
RAC_1
Honored Contributor

Re: Comand to check HBA model

Check what hardware path it is.

echo "selpath /x/y/x;info;wait;infolog" | cstm

You need to have STM installed.
There is no substitute to HARDWORK
James Odak
Valued Contributor

Re: Comand to check HBA model

niether of them show the part number, perhaps that is nto the same as model, i apologize if i used the wrong term

actualy i found the flag
A6795A is what i was looking for


# fcmsutil /dev/td0 vpd
V I T A L P R O D U C T D A T A
--------- ------------- -------

Product Discription :'A6795A 2Gbps/1Gbps Fibre Channel 4X PCI HBA'

Part number :'A6795-62001'

Engineering Date Code :'B-4322'

Part Serial number :'A56A00148054'

Misc. Information :'PW=15W'

Mfd. Date :'A-4352'

Check Sum : 0x55

EFI version : '001.10'

Asset Tag :'NA'
James Odak
Valued Contributor

Re: Comand to check HBA model

closed
Raj D.
Honored Contributor

Re: Comand to check HBA model

Hi James ,

You can try ,

# ioscan -fnC fc
# fcmsutil /dev/td0
---------------------
Some time ioscan shows the model no ,for SCSI/FC HBA.
But still if you dont get the model number of the card.

Try looking at the backside of the card,in the server , it will be written the model/prodct name like:
A6795A 2/1GB FC Adapter.

Cheers ,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Geoff Wild
Honored Contributor

Re: Comand to check HBA model

Here's what I have:

# cat tachyon.model
#!/bin/sh
# Script to find out tachyon model installed - Geoff Wild
for i in `echo 'map;q;ok' |/usr/sbin/cstm |grep "Fibre Channel Interface"|awk '{print $1}'`
do
echo "select device $i;CurrDevStatus;done;q;ok" |/usr/sbin/cstm |grep Tachyon
done


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.