Operating System - OpenVMS
1754210 Members
4107 Online
108811 Solutions
New Discussion юеВ

Can I show the HBA link speed from OpenVMS??

 
Tom Griesan
New Member

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
New Member

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
New Member

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
New Member

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