Tool to show linkstatus of a HBA

  • Follow


Hello,
is there a tool available which shows me the linkstatus of a HBA under
Solaris?

        Thomas
0
Reply Thomas 9/28/2009 9:02:32 AM

Thomas Glanzmann wrote:
>  Hello,
>  is there a tool available which shows me the linkstatus of a HBA under
>  Solaris?
> 

Depends on the make of the HBA but for Emulex with IBM SDD, I use
/usr/sbin/hbanyware/hbacmd portstat <WWNP> 

or 

/opt/IBMsdd/bin/datapath query adapter

which work well.
0
Reply Ole 9/28/2009 11:39:05 AM


Thomas Glanzmann <sithglan@stud.uni-erlangen.de> wrote:
> is there a tool available which shows me the linkstatus of a HBA under
> Solaris?

/usr/sbin/fcinfo.  ie: fcinfo hba-port  (That "hba-port" is literal, don't
substitute it...)

"fcinfo hba-port -l" will show link status, which I believe is what you want.

-- 
Brandon Hume    - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
0
Reply hume 9/28/2009 11:43:55 AM

Thomas Glanzmann wrote:
> Hello,
> is there a tool available which shows me the linkstatus of a HBA under
> Solaris?
> 
>         Thomas

Yes, there is.  The name of it escapes me at the moment.  It reports up 
or down, the speed, and a couple of other things.  Unfortunately, I've 
forgotten the name.  It may come to me in a few minutes, hours, or days.

Unfortunately Unix does not provide any easy means of finding a random 
man page unless you know its name!
0
Reply Richard 9/28/2009 12:31:53 PM

Thomas Glanzmann wrote:
> Hello,
> is there a tool available which shows me the linkstatus of a HBA under
> Solaris?
> 
>         Thomas

Yes, there is such a tool.  Sorry, I don't recall it's name and Unix 
does not seem to provide any way to locate a man page without knowing 
its name.  man -k network will bury you in useless information. Likewise 
  man -k link.

0
Reply Richard 9/28/2009 12:39:06 PM

On 2009-09-28 13:39:06 +0100, "Richard B. Gilbert" 
<rgilbert88@comcast.net> said:

> Thomas Glanzmann wrote:
>> Hello,
>> is there a tool available which shows me the linkstatus of a HBA under
>> Solaris?
>> 
>>         Thomas
> 
> Yes, there is such a tool.  Sorry, I don't recall it's name and Unix 
> does not seem to provide any way to locate a man page without knowing 
> its name.  man -k network will bury you in useless information. 
> Likewise   man -k link.

Could it be dladm?

-- 
Chris

0
Reply Chris 9/28/2009 2:48:59 PM

Chris,

>>> is there a tool available which shows me the linkstatus of a HBA under
>>> Solaris?

> Could it be dladm?

dladm seems only be able to show network interfaces. I'm interested in
the FC HBA link status.

        Thomas
0
Reply Thomas 9/28/2009 4:19:07 PM

On 2009-09-28 17:19:07 +0100, Thomas Glanzmann 
<sithglan@stud.uni-erlangen.de> said:

> Chris,
> 
>>>> is there a tool available which shows me the linkstatus of a HBA under
>>>> Solaris?
> 
>> Could it be dladm?
> 
> dladm seems only be able to show network interfaces. I'm interested in
> the FC HBA link status.

Yes you're right - the wrong type of link.
-- 
Chris

0
Reply Chris 9/28/2009 4:42:25 PM

Thomas Glanzmann <sithglan@stud.uni-erlangen.de> wrote:
> Hello,
> is there a tool available which shows me the linkstatus of a HBA under
> Solaris?

Without telling solaris release I say /usr/sbin/fcinfo

Sami

-- 
  .signature: no such file or directory
0
Reply Sami 9/28/2009 7:22:22 PM

Thomas Glanzmann schrieb:
> Hello,
> is there a tool available which shows me the linkstatus of a HBA under
> Solaris?
> 
>         Thomas

i think luxadm is the tool you search for, but you can also use

lputil for Emulex cards (HBAnywhere)
scli   for Qlogic cards (SanSurferCLI)
fcinfo for Solaris 10
luxadm -e port  for Solaris 8/9/10
cfgadm -al (think it shows online for PWN)
cfgadm -al -o show_FCP_devs
maybe kstat
maybe picladm

Wolfgang
0
Reply Wolfgang 10/6/2009 7:36:27 PM

9 Replies
428 Views

(page loaded in 0.1 seconds)

Similiar Articles:












7/17/2012 3:51:34 AM


Reply: