Unsolved

This post is more than 5 years old

19 Posts

2504

February 24th, 2009 07:00

WWNN and WWPN

Hello,
Anyone know how I can convert a WWPN of device (the value that inq returns to me) to WWNN of array? I find out how to handle all parts except the five (emc140309, emc194400 soluations).
Thanks,
Assaf

19 Posts

February 24th, 2009 07:00

Of course, but this command displays only LUN WWN.

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

February 24th, 2009 07:00

have you tried running "inq -clar_wwn" ?

6 Operator

 • 

1.5K Posts

February 24th, 2009 08:00

The WWNN (Node Name) is the unique one for one array - thus it is the same WWNN for all WWPN of the storage processor ports. The WWNN is the very first world wide name in the WWPN list - that is the lowest of the WWPN numbers - which is for SPA0.

Thus in simple term - the WWNN is typically the same as the WWPN of SPA0.

It will be quite clear if you take a closer look at the examples shown in the two primus solutions you mentioned.

Hope this helps,
Thanks,
Sandip

19 Posts

February 24th, 2009 09:00

The problem is that 90% of computers have neither licence for nor install of navicli, but they have inq installation...
I try to generate automatically a map between devices at computers and the arrays that their stored on. Obviously, I can read the information from CLARiiON first and after read the hosts information but it will much easier if I can get the WWNN of CLARiiON from inq.
I know that in Solaris you can get the WWNN itself by "luxadm -e dump_map" but I don't know how do this in others platform (I need AIX, HP-UX, Linux and Windows).
Anyway, if I surely know that turn off of 5th/13th octet will give the WWNN, this is OK for me (the script may turn off it). The problem is of course that I have a few samples so I cannot be sure...

Message was edited by:
AssafK

6 Operator

 • 

1.5K Posts

February 24th, 2009 09:00

You are right - WWPN and WWNN for SPA - 0 look very similar but differ by the 5th/13th octet. Sorry for the confusion.

However for CLARiiON arrays - the navicli getarrayuid command can provide you the WWNN.

Regards,
Sandip

19 Posts

February 24th, 2009 09:00

Unforutanlly, this seems to be wrong. The WWN of SPA port 0 is
50:06:01:60:80:60:06:A5:50:06:01:60:00:60:06:A5 so the WWNN is 50:06:01:60:80:60:06:A5 and the WWPN is 50:06:01:60:00:60:06:A5. And as you can see, there are different digit (bold).
I got the full WWN from array but I look for way to get it only from WWPN.

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

February 24th, 2009 10:00

correct me if i am wrong ..but you can see array serial number from inq output ..thus associate each device with a particular Clarrion ?

19 Posts

February 24th, 2009 23:00

The script is a part of bigger system that also analyze the mirror views. The mirrorview command return the ID of remote array. It is more comfortable if I can use one identifier for array in all parts of system.
No Events found!

Top