VPLEX
Posts
Selected Posts
Unsolved
This post is more than 5 years old
3 Posts
1
9086
June 27th, 2012 11:00
looking to decode vplex front end wwn's into to director port names
eg, correct nomenclature for aliasing purposes
Responses(4)
12
0
8
38
0
2
31
0
3
15
0
1
35
0
1
No Events found!
Andrew-F
27 Posts
2
June 27th, 2012 12:00
I should first point out that there is a WWN port calculator available on Powerlink.
Home > Support > Software Downloads and Licensing > Downloads T-Z > VPLEX
This will allow you to get see the WWNs for all ports. It is a useful tool.
Generally, it is most useful to be able to determine which engine, which director, IO module and which port on the IO module a particular WWN belongs to.
Below is a simple breakdown of how the WWN will tell you those things. You will need some additional information to identify the engine and differentiate director A from director B.
VPLEX director Port WWN are broken down as follows:
0x5001442 [num][seed][IOmodule][port number]
where
[num] typically is one of {4,5,6,7,8,9}, director B is always +1 of director A’s number.
[seed] is the last 5 digits of the seed as found on the engine label or by looking at the engine context wwn-seed attribute:
ls –t /engines/*::wwn-seed
[ IOmodule] is one of {0,1,2,3,} for VS2 and {0,1,2,3,4,5} for VS1 hardware.
VS1 VS2
-----------------------------------------
Front End 0,1 0
Back End 2,3 1
WAN 4* 2
Local-com 4* 3
*VS1 hardware IO module 4 ports 0,1 are local-com and 2,3 are WAN for Metro over FC
[port number] is one of {0,1,2,3}
With what you now know, if you do a listing of the ports via VPLEX cli you’ll see the pattern:
ls –l /engines/**/ports
For example:
Seed information: (ls –t /engines/*::wwn-seed)
engine-1 46e07a3b
engine-2 472010c1
ls -l /engines/**/ports
/engines/engine-1-1/directors/director-1-1-A/hardware/ports:
Name Address Role Port Status
------- ------------------ --------- -----------
A0-FC00 0x50001442607a3b00 front-end up
A0-FC01 0x50001442607a3b01 front-end up
A0-FC02 0x50001442607a3b02 front-end up
A0-FC03 0x50001442607a3b03 front-end up
A1-FC00 0x50001442607a3b10 back-end up
A1-FC01 0x50001442607a3b11 back-end up
A1-FC02 0x50001442607a3b12 back-end up
A1-FC03 0x50001442607a3b13 back-end up
A2-XG00 10.146.65.100 wan-com up
A2-XG01 10.146.83.100 wan-com up
A3-FC00 0x50001442607a3b30 local-com up
A3-FC01 0x50001442607a3b31 local-com up
A3-FC02 0x0000000000000000 - down
A3-FC03 0x0000000000000000 - down
/engines/engine-1-1/directors/director-1-1-B/hardware/ports:
Name Address Role Port Status
------- ------------------ --------- -----------
B0-FC00 0x50001442707a3b00 front-end up
B0-FC01 0x50001442707a3b01 front-end up
B0-FC02 0x50001442707a3b02 front-end up
B0-FC03 0x50001442707a3b03 front-end up
B1-FC00 0x50001442707a3b10 back-end up
B1-FC01 0x50001442707a3b11 back-end up
B1-FC02 0x50001442707a3b12 back-end up
B1-FC03 0x50001442707a3b13 back-end up
B2-XG00 10.146.65.101 wan-com up
B2-XG01 10.146.83.101 wan-com up
B3-FC00 0x50001442707a3b30 local-com up
B3-FC01 0x50001442707a3b31 local-com up
B3-FC02 0x0000000000000000 - down
B3-FC03 0x0000000000000000 - down
/engines/engine-2-1/directors/director-2-1-A/hardware/ports:
Name Address Role Port Status
------- ------------------ --------- -----------
A0-FC00 0x500014428010c100 front-end up
A0-FC01 0x500014428010c101 front-end up
A0-FC02 0x500014428010c102 front-end up
A0-FC03 0x500014428010c103 front-end up
A1-FC00 0x500014428010c110 back-end up
A1-FC01 0x500014428010c111 back-end up
A1-FC02 0x500014428010c112 back-end up
A1-FC03 0x500014428010c113 back-end up
A2-XG00 10.146.18.231 wan-com up
A2-XG01 10.146.19.231 wan-com up
A3-FC00 0x500014428010c130 local-com up
A3-FC01 0x500014428010c131 local-com up
A3-FC02 0x0000000000000000 - down
A3-FC03 0x0000000000000000 - down
/engines/engine-2-1/directors/director-2-1-B/hardware/ports:
Name Address Role Port Status
------- ------------------ --------- -----------
B0-FC00 0x500014429010c100 front-end up
B0-FC01 0x500014429010c101 front-end up
B0-FC02 0x500014429010c102 front-end up
B0-FC03 0x500014429010c103 front-end up
B1-FC00 0x500014429010c110 back-end up
B1-FC01 0x500014429010c111 back-end up
B1-FC02 0x500014429010c112 back-end up
B1-FC03 0x500014429010c113 back-end up
B2-XG00 10.146.18.232 wan-com up
B2-XG01 10.146.19.232 wan-com up
B3-FC00 0x500014429010c130 local-com up
B3-FC01 0x500014429010c131 local-com up
B3-FC02 0x0000000000000000 - down
B3-FC03 0x0000000000000000 - down
I hope this helps.
erisen
3 Posts
0
June 27th, 2012 13:00
thank you very much, this helps alot!
erisen
3 Posts
0
June 27th, 2012 14:00
Although, i do not see any vplex wwn tool under
Home > Support > Software Downloads and Licensing > Downloads T-Z > VPLEX
not sure if its an access level issue?
dwarfsoft
1 Message
0
October 14th, 2014 17:00
This was an extremely helpful resource which helped me immensely. Using it, however, I have determined that one slight error exists. [num] is no longer bound between 4 and 9. After playing with the VPLEX WWN tool the number is calculated from the Seed numbers located at position 1 and 2 (when numbered 0..7 from left to right).
So, using & as a Binary AND for a Seed number of 01234567 the [num] is calculated as:
((seed[1]&0x1)*8) + (seed[2]&0x1) + ((seed[2]&0xc)/2)
As you can see, it's not really possible to revert the number back to the seed (it drops 3 seed[1] high order bits and one bit in the middle of seed[2] while shifting the two high bits right by 1)
If we consider seed[1] to be an array (seed1) of bits (0..3) and the same for seed[2] (seed2)the resulting bit array is:
seed1[3],seed2[0],seed2[1],seed2[3]
seed1[0..2] are dropped as is seed2[2].
Probably not useful to most people, but interesting to know. It is now possible to calculate your own WWNs without the tool based on the seed.
Cheers, Chris.