Davidf71

updated

15 years ago

D

Davidf71

4 Posts

0

9098

February 28th, 2012 03:00

Map powerpath devices back to vplex devices

Is it possible to map back the Logical Device name in powerpath back to a VPLEX device?

For example:

[root@hl-testdb-slo-01 ~]# powermt display dev=emcpowerq

Pseudo name=emcpowerq

Invista ID=CKM00112500392

Logical device ID=6000144000000010E049C870716CB4D0

state=alive; policy=ADaptive; priority=0; queued-IOs=0;

VPlexcli:/clusters/cluster-1/storage-elements/storage-volumes> ll

Name                                      VPD83 ID                                  Capacity  Use        Vendor  IO      Type         Thin

----------------------------------------  ----------------------------------------  --------  ---------  ------  Status  -----------  Rebuild

----------------------------------------  ----------------------------------------  --------  ---------  ------  ------  -----------  -------

Clar0364_lun_502                          VPD83T3:60060160246021009480241ee350e111  560M      used       DGC     alive   normal       false

[snip]

  • Andrew-F

    27 Posts

    2936

    0

    Posted February 28th, 2012 07:00

    Hi Scott,

    The WWN seen in powerpath actually maps to the VPLEX Virtual Volume (seen in the storage view for that host).  From there you can use the GUI to map back to the storage volume or use the CLI command "drill-down" to find out what the Virtual Volume (VV) is composed of: 

         drill-down -o   

                 will list the components of the specified VV

         drill-down -v  

                will list components of the storage view an all the components of each VV in the storage view

  • Davidf71

    4 Posts

    2932

    0

    Posted February 28th, 2012 05:00

    Thanks for the reply Ankur.

    However in our environment, the Logical Device ID does not map to the back-end CLARiiON LUN.  What you are describing is what I was expecting but this is not what we are seeing.

  • ankur.patel

    2 Intern

    •

    286 Posts

    2932

    0

    Posted February 28th, 2012 05:00

    Yes, that number 6000144000000010E049C870716CB4D0 is actually the wwn of the backend LUN. Ill give you an example

    in the GUI and Unisphere. Below is a storage volume similar to what you have. Notice the digits after the VPD83T3

    ScreenHunter_01 Feb. 28 07.16.gif

    If I look at the VNX stroage group that I created for VPLEX

    ScreenHunter_02 Feb. 28 07.19.gif

    One can see the exact same ID.

    Let me know if this is what you are looking for, thanks

  • Davidf71

    4 Posts

    2936

    0

    Posted February 28th, 2012 07:00

    Andrew,

    In the GUI, under components of selected storage view, you have to tick the VPD ID checkbox and then it shows the WWNs.

    Thanks for pointing me in the right direction!


    Scott

  • 2936

    0

    Posted February 28th, 2012 08:00

    That’s how I do it. Very quick and have never had issue with mapping back accurately.

    Jeff Wade

  • jliu1

    7 Posts

    2936

    0

    Posted May 23rd, 2012 09:00

    Is it possible to get the VPD ID for a virtual volume within the VPLEX CLI?

    It is viewable in the GUI via the VPD ID checkbox, but I was curious if we can get that info from the VPLEX CLI.

  • jliu1

    7 Posts

    2936

    0

    Posted May 26th, 2012 06:00

    Found the command to see the VPD ID for virtual volumes:

    VPlexcli:/> export storage-view map SV_nj1pmer07                                                                             

    VPD83T3:6000144000000010e004539f294af480 vvol_nj1pvnx1_LUN2_BLK01_nj1pmer07

    VPD83T3:6000144000000010e004539f294af4be vvol_cx4_LUN139_RG17_nj1pmer07

    VPD83T3:6000144000000010e004539f294af4bc vvol_cx4_LUN138_RG39_nj1pmer07

  • jliu1

    7 Posts

    2936

    1

    Posted May 31st, 2012 13:00

    Similarly, this works as well.

    VPlexcli:/clusters/cluster-1/exports/storage-views> ll

    Name          Operational  initiator-ports  virtual-volumes                                                                        port name, enabled, export status

    ------------  Status       ---------------  -------------------------------------------------------------------------------------  ----------------------------------

    ------------  -----------  ---------------  -------------------------------------------------------------------------------------  ----------------------------------

    SV_nj1pmer07  ok           nj1pmer07_hba1,  (0,vvol_nj1pvnx1_LUN2_BLK01_nj1pmer07,VPD83T3:6000144000000010e004539f294af480,100G),  P0000000046E07DDB-A0-FC01,true,ok,

                               nj1pmer07_hba2   (1,vvol_cx4_LUN139_RG17_nj1pmer07,VPD83T3:6000144000000010e004539f294af4be,100G),      P0000000046E07F06-A0-FC00,true,ok,

                                                (2,vvol_cx4_LUN138_RG39_nj1pmer07,VPD83T3:6000144000000010e004539f294af4bc,100G)       P0000000046F07DDB-B0-FC00,true,ok,

                                                                                                                                       P0000000046F07F06-B0-FC01,true,ok

    SV_nj1pmer99  ok           nj1pmer99_hba1,  (0,vvol_nj1pvnx1_LUN3_BLK01_nj1pmer99,VPD83T3:6000144000000010e004539f294af4a1,200G)   P0000000046E07DDB-A0-FC01,true,ok,

                               nj1pmer99_hba2                                                                                          P0000000046E07F06-A0-FC00,true,ok,

                                                                                                                                       P0000000046F07DDB-B0-FC00,true,ok,

                                                                                                                                       P0000000046F07F06-B0-FC01,true,ok

  • 2936

    1

    Posted June 4th, 2012 14:00

    ll command will list the details however if a storage view has more than 7 luns the "ll" command will show only first 7 devices and say 20 more.. The below command will list all the volumes and lun position, virtual vol, vpid and size of the device.

    VPlexcli:/clusters/cluster-1/exports/storage-views> ls -f njcAVLPDB01_SV

    /clusters/cluster-1/exports/storage-views/njcAVLPDB01_SV:
    Name                      Value
    ------------------------  -------------------------------------------------------------------------------
    controller-tag            -
    initiators                [njcAVLPDB01_PCI20_27C8_SAN_B, njcAVLPDB01_PCI4_2948_SAN_A]
    operational-status        ok
    port-name-enabled-status  [P000000003CA00E13-A0-FC01,true,ok, P000000003CA00E8D-A1-FC00,true,ok,
                              P000000003CB00E13-B0-FC00,true,ok, P000000003CB00E8D-B1-FC01,true,ok]
    ports                     [P000000003CA00E13-A0-FC01, P000000003CA00E8D-A1-FC00,
                              P000000003CB00E13-B0-FC00, P000000003CB00E8D-B1-FC01]
    virtual-volumes           [(0,device_Symm3111_0ACD_1_vol,VPD83T3:6000144000000010a00e132a968b42cb,149G),
                              (1,device_Symm3111_0ACF_1_vol,VPD83T3:6000144000000010a00e132a968b410c,248G),
                              (2,device_Symm3111_0AE1_1_vol,VPD83T3:6000144000000010a00e132a968b4b03,49.7G),
                              (3,device_Symm3111_0AE2_1_vol,VPD83T3:6000144000000010a00e132a968b4b05,49.7G),
                              (4,device_Symm3111_0AE3_1_vol,VPD83T3:6000144000000010a00e132a968b4b07,49.7G),
                              (5,device_Symm3111_0AE4_1_vol,VPD83T3:6000144000000010a00e132a968b4b09,49.7G),

  • Jithu9288

    1 Rookie

    •

    61 Posts

    432

    0

    Posted June 14th, 2013 01:00

    hi,

    is there a way I can find the VV name by the vpd id shown in the powerpath.

    I have removed the vv from the Storage view so it will not show up in the storage view..

    drill down will accept the name of the VV but not the vpd id.

    right now I have only the vpd id of a device which is not part of any storage view.

    help me on this pls.