EVA Storage
cancel
Showing results for 
Search instead for 
Did you mean: 

any commands on hp-ux to show me switch's wwn that HBA is connecting to?

 
hpuxmagic
Advisor

any commands on hp-ux to show me switch's wwn that HBA is connecting to?

I know how to find HBA's wwn number, but any commands to show me what switch's wwn this HBA is connectiong to, on hp-ux 11iv2?

 

Thanks!

8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

At least in 11.31 the latest fcmsutil is showing HBA and switch WWN.


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Highlighted
hpuxmagic
Advisor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

good to know.

 

then what commands on Brocade switch 4/32 to show me which part is connecting to the HBA? assumimg I know the HBA wwn?

 

Thanks!

Torsten.
Acclaimed Contributor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

It works on 11.23 too:

 

# fcmsutil /dev/fclp0
...

                                Topology = PTTOPT_FABRIC
                              Link Speed = 4Gb
                      Local N_Port_id is = 0x0a1700
                   Previous N_Port_id is = None
             N_Port Node World Wide Name = 0x5001...
             N_Port Port World Wide Name = 0x5001...
             Switch Port World Wide Name = 0x20000...
             Switch Node World Wide Name = 0x10000...
                            Driver state = ONLINE
                        Hardware Path is = 40/0/2/0/0/0/0/4/0/0/0
...


Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
hpuxmagic
Advisor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

what is fclp0? I only have /dev/td0 , or /dev/tdx, no /dev/fclpx. there is no switch wwn, if i running fcmsutil on td0:

 

fcmsutil /dev/td0

                           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 = 0x151800             N_Port Node World Wide Name = 0x50060b000030256f             N_Port Port World Wide Name = 0x50060b000030256e                            Driver state = ONLINE                        Hardware Path is = 0/3/1/0                  Number of Assisted IOs = -1282854722         Number of Active Login Sessions = 2                    Dino Present on Card = NO                      Maximum Frame Size = 2048                          Driver Version = @(#) libtd.a HP Fibre Channel Tachyon XL2 Driver B.11.23.0803 $Date: 2007/12/09 12:44:45 $Revision: r11.23/7

hpuxmagic
Advisor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

i got it.

 

fcmsutil /dev/td0 get fabric

this will show the switch wwn

 

 

but, I am still curious why don't i have /dev/fclp0, what is it?

thanks!

Torsten.
Acclaimed Contributor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?

Newer cards, different driver.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Jason_L
Valued Contributor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?


@hpuxmagic wrote:

good to know.

 

then what commands on Brocade switch 4/32 to show me which part is connecting to the HBA? assumimg I know the HBA wwn?

 

Thanks!


From the CLI to the Brocade (telnet/ssh to the switch management interface and login), you can run #switchshow and see the WWN's of the connected devices and which port those devices are associated with.

I work for HPE.
Jason_L
Valued Contributor

Re: any commands on hp-ux to show me switch's wwn that HBA is connecting to?


@hpuxmagic wrote:

i got it.

 

fcmsutil /dev/td0 get fabric

this will show the switch wwn

 

 

but, I am still curious why don't i have /dev/fclp0, what is it?

thanks!


As Torsten explained there are differnet classes of drivers for differnent HBA's.  There are /dev/td drivers, /dev/fcms drivers and /dev/fclp drivers.  Depedning on the type of HBA and thus the associated driver, you will have one or more of these (more only if you have varying types of FC cards installed) but generally only one type will really be there unless you are mixing the installed HBA's.

I work for HPE.