UNSOLVED

aMO550t5g412222

updated

15 years ago

0

5394

March 23rd, 2011 13:00

VMAX WWN Algorithm

Hi,

Wondering if anybody has seen this.   I am having troubles using the posted VMAX WWN decoding algorithm (to serial number and back) with some new Symmetrix ID/numbers I have seen.

For instance, the serial number "492600024".   If you use the encoding tool, you get a WWN of 5000097808006198 for directory 7g port 0.

However, if you follow the support ticket that explicitly says the "49" field of bits should be either 19 or 26 (at least the way I read it).  Further it states that "bit 35" of the WWN should alwasy be 0, which would make creating the WWN above impossible (no way to get hex '8' in the byte after '5000097'). 

I am wondering if there is a new algorithm or list of possible values.   Anybody else seen similar?

  • HermieJ

    5 Posts

    2475

    1

    Posted March 24th, 2011 18:00

    This may help you.

    For Symmetrix VMAX director ports, the WWN breakdown is shown below:

    The director port WWN (50000972081349AD) can be broken down (in binary) as follows:

    First 28 bits (from the left, bits 63-36, binary) of the WWN are assigned by IEEE. (5000097 is the vender UID of Symmetrix V-Max.)

    5000097    2          0          8          1          3          4          9          A         D

                   0010    0000    1000    0001    0011    0100    1001    1010    1101

    Bit 35 is reserved and is set to 0.  If Bit 34 and 33 are set to 01, then the Symmetrix is made in the USA and the Serial Number of the Symmetrix will start as HK19.  If Bit 34 and 33 are set to 10, then the Symmetrix is made in Ireland and the Serial Number of the Symmetrix will start as CK29.  In the example, bit 34 and 33 are set to 01, so this is a USA made Symmetrix and the Serial Number will start as HK19.

    Bit 32 is reserved and is set to 0.  For bits 31 through 27, if only bit 27 is set to 1, then the next 2 digits of the Symmetrix Serial Number will be 26, which denotes a regular V-Max model.  If only bits 31 and 30 are set to 1 between bits 31 through 27, then the next 2 digits of the Symmetrix Serial Number will be 49, which denotes a V-Max SE model.  In the example, there is a breakdown of 26, so the Symmetrix Serial Number decodes so far to HK1926.

    Bits 26 through 10 encode the last 5 digits of the Symmetrix Serial Number.  Take those bits and place them into a scientific calculator set to binary, convert the binary into decimal, and you will receive the last 5 digits of the Symmetrix Serial Number.  In the example, bits 26 through 10 come out to be 000 0001 0011 0100 10.  Placing this into a calculator and converting from binary to decimal yields 1234.  If the yield comes out to be a 4-digit number, front pad the number with a 0 to make 5 digits (i.e., 01234). The full Serial Number for the Symmetrix now is HK192601234.

    Bits 9 through 6 hold the encoding for the processor letter (CPU letter) for the director.  Use the break out of the bits to the chart below.

    Bits 9 through 6 binary breakout CPU Letter
    0000 A
    0001 B
    0010 C
    0011 D
    0100 E
    0101 F
    0110 G
    0111 H

    In the example, the processor letter for the director decodes to G.

    Bits 5 through 2 hold the encoding for the director number for the director.  Use the break out of the bits to the chart below.

    Bits 5 through 2 binary breakout Director Number
    0000 1
    0001 2
    0010 3
    0011 4
    0100 5
    0101 6
    0110 7
    0111 8
    1000 9
    1001 10
    1010 11
    1011 12
    1100 13
    1101 14
    1110 15
    1111 16

    In the example, the director number decodes to 12.

    Bits 1 and 0 hold the encoding for the director port.  If the bits are 00, then it is the 0 or A port. If the bits are 01, then it is the 1 or B port.  In the example, it is port 1 or B.

    So, in review, WWN 50000972081349AD decodes to Symmetrix VMAX HK192601234 director 12g port 1/B.

    For Symmetrix VMAX director ports, the WWN breakdown is shown below:

    The director port WWN (50000972081349AD) can be broken down (in binary) as follows:

    First 28 bits (from the left, bits 63-36, binary) of the WWN are assigned by IEEE. (5000097 is the vender UID of Symmetrix V-Max.)

    5000097    2          0          8          1          3          4          9          A         D

                   0010    0000    1000    0001    0011    0100    1001    1010    1101

    Bit 35 is reserved and is set to 0.  If Bit 34 and 33 are set to 01, then the Symmetrix is made in the USA and the Serial Number of the Symmetrix will start as HK19.  If Bit 34 and 33 are set to 10, then the Symmetrix is made in Ireland and the Serial Number of the Symmetrix will start as CK29.  In the example, bit 34 and 33 are set to 01, so this is a USA made Symmetrix and the Serial Number will start as HK19.

    Bit 32 is reserved and is set to 0.  For bits 31 through 27, if only bit 27 is set to 1, then the next 2 digits of the Symmetrix Serial Number will be 26, which denotes a regular V-Max model.  If only bits 31 and 30 are set to 1 between bits 31 through 27, then the next 2 digits of the Symmetrix Serial Number will be 49, which denotes a V-Max SE model.  In the example, there is a breakdown of 26, so the Symmetrix Serial Number decodes so far to HK1926.

    Bits 26 through 10 encode the last 5 digits of the Symmetrix Serial Number.  Take those bits and place them into a scientific calculator set to binary, convert the binary into decimal, and you will receive the last 5 digits of the Symmetrix Serial Number.  In the example, bits 26 through 10 come out to be 000 0001 0011 0100 10.  Placing this into a calculator and converting from binary to decimal yields 1234.  If the yield comes out to be a 4-digit number, front pad the number with a 0 to make 5 digits (i.e., 01234). The full Serial Number for the Symmetrix now is HK192601234.

    Bits 9 through 6 hold the encoding for the processor letter (CPU letter) for the director.  Use the break out of the bits to the chart below.

    Bits 9 through 6 binary breakout CPU Letter
    0000 A
    0001 B
    0010 C
    0011 D
    0100 E
    0101 F
    0110 G
    0111 H

    In the example, the processor letter for the director decodes to G.

    Bits 5 through 2 hold the encoding for the director number for the director.  Use the break out of the bits to the chart below.

    Bits 5 through 2 binary breakout Director Number
    0000 1
    0001 2
    0010 3
    0011 4
    0100 5
    0101 6
    0110 7
    0111 8
    1000 9
    1001 10
    1010 11
    1011 12
    1100 13
    1101 14
    1110 15
    1111 16

    In the example, the director number decodes to 12.

    Bits 1 and 0 hold the encoding for the director port.  If the bits are 00, then it is the 0 or A port. If the bits are 01, then it is the 1 or B port.  In the example, it is port 1 or B.

    So, in review, WWN 50000972081349AD decodes to Symmetrix VMAX HK192601234 director 12g port 1/B.

  • 2475

    0

    Posted August 8th, 2012 06:00

    Hi,

    Command "symcfg list -FA ALL" shows the WWNs of each port, is that what you are looking for?

  • HermieJ

    5 Posts

    2475

    0

    Posted August 8th, 2012 21:00

    Thanks very much!

    Cheers,

    Hermie Josue

  • 2475

    0

    Posted August 9th, 2012 06:00

    5000097    2          0          8          1          3          4          9          A         D

                   0010    0000    1000    0001    0011    0100    1001    1010    1101

    Hermie Josue:

       In the string above - Does the counting start from 0 and end at 63? Just to make sure - Binary # "0010" under the number Hex # 2, are bits 28, 29,30 and 31, correct? Just trying to correlate the numbers. I am trying to find bit 33 and 34 which indicate the EMC Manufacturing site (01 in the example) and I am not sure that I identified the correct digits.