Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I show the HBA link speed from OpenVMS??

 
Tom Griesan
Occasional Visitor

Can I show the HBA link speed from OpenVMS??

Hi people!!

I've been searching for a way to show the link speed of the HBAs (FG devices) from VMS without going to the FC switch. I haven't been able to do it with anal/sys fc commands. Maybe I'm missing something easy...

Even if I could just show the current connection speed that would be cool, versus all the possible speeds.

Thanks!!
Tom
16 REPLIES 16
Robert Atkinson
Respected Contributor

Re: Can I show the HBA link speed from OpenVMS??

Tom, I can't find anything from VMS - what about looking at the speed from the switch port instead?

Rob.
Peter Zeiszler
Trusted Contributor

Re: Can I show the HBA link speed from OpenVMS??

I have always gotten the information from the switch. I don't see anything obvious in SDA for it but thats where I would think it should be found.
Robert Brooks_1
Honored Contributor

Re: Can I show the HBA link speed from OpenVMS??

I've just sent a note to one of the maintainers of the fibre channel port drivers. I'll report back whatever he says.


-- Rob
Robert Brooks_1
Honored Contributor

Re: Can I show the HBA link speed from OpenVMS??

This is from the engineer who works on the fibre channel port drivers . . .

-----
The answer is yes, if you're willing to work for it. When we first did these drivers there was only 1 link speed so it was never extracted into an SDA extension display - it should be now, though, as this isn't the first time we've been asked this question


For Qlogic:

SDA> FC SET DEVICE FGA ! Or FGB, etc.
SDA> EXAMINE LSDB+LSDB$L_LINK_DATA_RATE

! 0 = 1G, 1 = 2G, 2 = 4G

For Emulex:

SDA> FC SET DEVICE FGA ! Or FGB, etc.
SDA> EXAMINE @(@(LSDB+LSDB$PS_READ_LA_FCCD)+FCCD$PS_MBX_RSP)+8*4
SDA>

! In bits 15:8, 0 = down, 4 = 1G, 8 = 2G, 0x10 = 4G

Tom Griesan
Occasional Visitor

Re: Can I show the HBA link speed from OpenVMS??

Awesome guys, thanks!!!

Perhaps I misunderstood...I'm not that great with SDA. I seem to get the wrong output for a 1gb Emulex, but it works for the 2gb Emulex. These devices are online and paths are connected thru them. It appears to me that I do get the value of 8 in that byte (bits 8 thru 15) for the 2gb. Also did 0x10 mean %x10 as in Hex A?


SDA> FC SET DEVICE FGA ! 1GB Emulex
SDA> EXAMINE @(@(LSDB+LSDB$PS_READ_LA_FCCD)+FCCD$PS_MBX_RSP)+8*4

SPDT+00CF0: 00000000.0000000A "........"

-------------------------------------

SDA> FC SET DEVICE FGA ! 2GB Emulex
SDA> EXAMINE @(@(LSDB+LSDB$PS_READ_LA_FCCD)+FCCD$PS_MBX_RSP)+8*4

FCLE_RCTX+00BF0: 00000000.0000080A "........"

Thanks again!
Tom

Jur van der Burg
Respected Contributor

Re: Can I show the HBA link speed from OpenVMS??

What type of device is it? Find it out this way and post the output:

SDA> FC SET DEV FGA0 ! or FGB0 etc.
SDA> EX UCTX+UCTX$L_CTRL_ID

Jur.
Tom Griesan
Occasional Visitor

Re: Can I show the HBA link speed from OpenVMS??

SDA> fc set dev fga0
SDA> EX UCTX+UCTX$L_CTRL_ID
UCTX+00248: 8199C590.F80010DF "à ..ø.à .."

SDA> fc set dev fgb0
SDA> EX UCTX+UCTX$L_CTRL_ID
UCTX+00248: 818E9350.F80010DF "à ..øP..."

Thanks!
Tom
Jur van der Burg
Respected Contributor

Re: Can I show the HBA link speed from OpenVMS??

That does not make sense. Both entries are the same type, an LP8000. And in a previous note you talk aout a 1Gb and a 2Gb version. Please clarify that.

Jur.
Tom Griesan
Occasional Visitor

Re: Can I show the HBA link speed from OpenVMS??

Hey Jur,

The 2GB cards are on another machine. Its the 1GB units that don't report correctly, presuming I'm doing everything right.

Sorry for that confusion, and I see how that was very misleading. I just wanted to show both FGA and B which are both the same type and as you indicated.

To Peter and Robert, thanks for the note. Yes we can and have looked at the switches. Its just kinduv a pain with a big SAN... It would be so nice to just pop it out from VMS.

Thanks again!!
Tom
Jur van der Burg
Respected Contributor

Re: Can I show the HBA link speed from OpenVMS??

I just wanted to know the pci id of the 1Gb card and the id of the 2Gb card. Then I might be able to give a correct answer.

Jur.
Jim Hintze
Advisor

Re: Can I show the HBA link speed from OpenVMS??


and a 3 is???

SDA> FC SET DEVICE FGA
SDA> EXAMINE LSDB+LSDB$L_LINK_DATA_RATE
LSDB+00010: 00000000.00000003 "........"

Context ........ Live from ELXDV1 (1.66), 4-FEB-2010 14:15:12.60
Device ......... FGA0:, PCI, Device ID 2422, Rev 03, QLogic ISP2422
Images ......... FW 4.00.90, SYS$PGQDRIVER X-43A1 linked 4-FEB-2009 08:54:48.34
FibreChannel ... Node WWID 006A.3629.0000.0000, Port WWID 5006.0B00.006A.3628, Port ID 070A00
Hoff
Honored Contributor

Re: Can I show the HBA link speed from OpenVMS??

>and a 3 is???

The QLogic ISP2422 is 4 Gb HBA.

Data sheet:

http://download.qlogic.com/datasheet/38474/83242-580-00J.pdf
Hoff
Honored Contributor

Re: Can I show the HBA link speed from OpenVMS??

And as that probably wasn't clear, I'd presume that 3 is the new 4.
Jur van der Burg
Respected Contributor

Re: Can I show the HBA link speed from OpenVMS??

from the ultimate doc:

/* Outgoing MBX CSR #1 contains link data rate (0 = 1Gbps, 1 = 2Gbps, 3 = 4Gbps) */

Jur (former fibre channel driver maintainer)
Jim Hintze
Advisor

Re: Can I show the HBA link speed from OpenVMS??


Hoff,
While we knew that the card has the capacity to talk @ 4gb, it's wasn't clear that the switches negotiated a 4gb speed. Thanks, your responses are always appreciated. 3 is the new 4, thats cute :-)


Jim Hintze
Advisor

Re: Can I show the HBA link speed from OpenVMS??

Jur,
Thanks, that nails it.