Operating System - HP-UX
1837195 Members
2373 Online
110114 Solutions
New Discussion

Re: getting the product number of a FC interface cards

 
SOLVED
Go to solution
Jdamian
Respected Contributor

getting the product number of a FC interface cards

Hi

I'm trying to find a command to get the product number (or other code that points the product number) of a Fibre Channel interface cards instead of reading it from card itself (i.e. cowering or kneeling down near the rear side of the box).

FC and FCMS utilities are installed but FCMS support several product numbers. I don't know all the possible outputs of fcmsutil command (perhaps some option of this command prints the product number, but I'm not sure).

Thanx a lot
3 REPLIES 3
Hoefnix
Honored Contributor

Re: getting the product number of a FC interface cards

if the driver is installed just try this:
swlist | grep -i fibre

It will result in the productnumber for example:
A6795A B.11.00.10 PCI Tachyon TL/TS/XL2 Fibre Channel

The A6795A is also the productnumber of the card.

Regards,
Peter Geluk
Stefan Farrelly
Honored Contributor
Solution

Re: getting the product number of a FC interface cards

The product number is not necesarily advertised from the card to the OS, its a number HP just happen to assign to a card. Usually a sticky label on it is all youve got to confirm it. This means to be absolutely sure you have to physically look at it, or use your online support contract (using SUM on the itrc.hp.com) - this has a master list of all purchased and installed cards, and thus should be accurate. This is what we use to be sure. Even swlist might not be accurate as the software installed (driver) sometimes accomodates multiple types of fibre cards, so youre not sure which one is installed.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Geoff Wild
Honored Contributor

Re: getting the product number of a FC interface cards

Use this script:

#!/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.