Operating System - HP-UX
1751807 Members
5088 Online
108781 Solutions
New Discussion юеВ

Re: How do I find out from the OS if my HBA is zoned or not?

 
SOLVED
Go to solution
Kennedy G. Doss
Regular Advisor

How do I find out from the OS if my HBA is zoned or not?

 Hello Fellow SAs:

 

I have a server (BL 890c) with 8 HBAs.  On executing fsmsutil, I do see that the Driver State is ONLINE and the LINK Speed is 8Gb, on all 8 of them. From the OS is there a way to confirm if all 8 of my HBAs are zoned? I know there is an option/switch for fcmsutil that tells you which WWPN is used for zoning. I know only 4 of my HBAs are zoned at the moment - I am trying to identify the HBAs that are not Zoned by the Storage Admins. Any input would be very much appreciated.

 

Regards,

-Kennedy

 

 

P.S. This thread has been moevd from Integrity Servers to HP-UX > sysadmin. - Hp Forum Moderator

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: How do I find out from the OS if my HBA is zoned or not?

The server HBA "knows" the switch port and node WWN, but has no clue about zoning. You need to check the switch with zoneshow etc ...


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!   
Kennedy G. Doss
Regular Advisor

Re: How do I find out from the OS if my HBA is zoned or not?

Thanks for the prompt response Torsten. Looks like I have to depend on the SAN Admin to get this info. Thanks for confirming that.

Patrick Wallek
Honored Contributor
Solution

Re: How do I find out from the OS if my HBA is zoned or not?

You can use the 'get remote all' option to fcmsutil to see what is on the other end of the fiber.

 

For example:

 

 # fcmsutil /dev/td0 get remote all

                    Target N_Port_id is = 0x010300
                           Target state = DVS_UNOPENED
                          Symbolic Name = HP      NS E1200-160    5963
                              Port Type = N_PORT
   SLER Capable (supports Retry) = YES
            Target Port World Wide Name = 0x100000e002234770
            Target Node World Wide Name = 0x100000e002034770

Common Service parameters (all values shown in hex):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
               Version_Hi: 20                     Version_Low: 20
                BB_Credit: 8                             Ciro: 1
               Alt_BBcred: 1                             Rxsz: 800
                   Conseq: ff                       RO_Bitmap: fe
               Resolution: 0                        EDTOV(ms): 7d0

Vendor version (in hex) 0       0       0       0
-------------------------------------------------------------

 

Kennedy G. Doss
Regular Advisor

Re: How do I find out from the OS if my HBA is zoned or not?

Patrick:

 

That is what I was looking for - fcmsutil /dev/fc* or fcmsutil /dev/td*get remote all. Thanks for taking the time and writing to me.

 

 

Warm Regards,

Kennedy

Torsten.
Acclaimed Contributor

Re: How do I find out from the OS if my HBA is zoned or not?

You will get a similar result if you just read the ioscan output, but from this information you will not get the zoning details - you know the HBA is zoned somehow, if zoning is enabled.

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!   
Torsten.
Acclaimed Contributor

Re: How do I find out from the OS if my HBA is zoned or not?

Regarding the ioscan (ioscan -fn or ioscan -fnN for example):

 

You want to know about the FC connections, so you probably have a mezzanine card in mezz slot 1.

 

In ioscan this will look like this:

 

fc          1  0/0/0/5/0/0/1   fclp           CLAIMED     INTERFACE    HP 456972-B21 8Gb PCIe 2-port LPe1205 FC Mezzanine Adapter
                              /dev/fclp1

 

The path 0/0/0/5/0/0/1 is telling you the following:

 

0/0/0/5/0/0/1    this "0" is the blade 0 (the first digit can be 0,1,2 or 3) out of the 4 blades of a BL890c i2/i4

 

0/0/0/5/0/0/1    this "5" is the mezz1, would be "7" for mezz2, "9" for mezz3

 

0/0/0/5/0/0/1  this "1" is port1, could be 0 for port0

 

 

All devices below this path are connected to this HBA port.

 

 

Example (an EVA LUN):

 

disk        6  0/0/0/5/0/0/1.5.20.0.0.0.1    sdisk          CLAIMED     DEVICE       HP HSV300
                              /dev/dsk/c7t0d1   /dev/rdsk/c7t0d1

 

 

So this LUN 1 of the EVA 4400 is connected to switch domain ID 5 port 20 and then to blade 0, mezz1 port 1.


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!