How to refresh the Veritas Volume Manager disk details when using EMC PowerPath (Solaris)

book

Article ID: 100037732

calendar_today

Updated On:

Description

Description

The following EMC CLARiiON devices are presented to a Solaris server using EMC PowerPath as the multipathing solution.

Prior to the provisioning of new LUNs it is good practice to ensure the device naming is consistent for devices controlled by EMC PowerPath.

The following document explains how this consistency can be maintained.


In this instance "3" EMC CLARiiON devices are presented to a Solaris server; however the EMC pseudo device names do not match that of the Veritas disk access names.

 


EMC CLARiiON ALU (Array Logical Unit) References

EMC CLARiiON ALU reference "ALU 3" refers to emcpower3
EMC CLARiiON ALU reference "ALU 78" refers to emcpower4
EMC CLARiiON ALU reference "ALU 79" refers to emcpower2

 

The "ALU" values can be correlated to the "powermt display dev=all" or "powermt display class=clariion" specifically.

 

# powermt display class=clariion dev=all
Pseudo name=emcpower3a
CLARiiON ID=CK200053300424 [rdgv240sol13+14-bootdisks]
Logical device ID=60060160E83416001C81C15E575FDF11 [LUN 3]          <<< ALU "3"
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 4
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601603021C60Ed7s0 SP A0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601613021C60Ed7s0 SP A1     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601683021C60Ed7s0 SP B0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601693021C60Ed7s0 SP B1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601603021C60Ed7s0 SP A0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601613021C60Ed7s0 SP A1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601683021C60Ed7s0 SP B0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601693021C60Ed7s0 SP B1     active  alive      0      0

Pseudo name=emcpower4a
CLARiiON ID=CK200053300424 [rdgv240sol13+14-bootdisks]
Logical device ID=60060160E83416004A3CB095BD3BDE11 [LUN 78]          <<< ALU "78"
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP B, current=SP B       Array failover mode: 4
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601603021C60Ed5s0 SP A0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601613021C60Ed5s0 SP A1     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601683021C60Ed5s0 SP B0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601693021C60Ed5s0 SP B1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601603021C60Ed5s0 SP A0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601613021C60Ed5s0 SP A1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601683021C60Ed5s0 SP B0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601693021C60Ed5s0 SP B1     active  alive      0      0

Pseudo name=emcpower2a
CLARiiON ID=CK200053300424 [rdgv240sol13+14-bootdisks]
Logical device ID=60060160E8341600F2BC89206340DE11 [LUN 79]          <<< ALU "79"
state=alive; policy=CLAROpt; priority=0; queued-IOs=0
Owner: default=SP A, current=SP A       Array failover mode: 4
==============================================================================
---------------- Host ---------------   - Stor -   -- I/O Path -  -- Stats ---
###  HW Path                I/O Paths    Interf.   Mode    State  Q-IOs Errors
==============================================================================
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601603021C60Ed6s0 SP A0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601613021C60Ed6s0 SP A1     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601683021C60Ed6s0 SP B0     active  alive      0      0
3073 pci@1e,600000/SUNW,jfca@2/fp@0,0 c1t500601693021C60Ed6s0 SP B1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601603021C60Ed6s0 SP A0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601613021C60Ed6s0 SP A1     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601683021C60Ed6s0 SP B0     active  alive      0      0
3074 pci@1e,600000/SUNW,qlc@3/fp@0,0 c5t500601693021C60Ed6s0 SP B1     active  alive      0      0

 

Volume Manager disk details

 

Note: The following EMC pseudo device names shown in bold text do not correspond to the Veritas disk access name.
 

# vxdisk -e -o alldgs list
DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   ATTR
disk_0       auto      -             (51dg)       online       c2t1d0s2     -
disk_1       auto      -             (50MP1RP5dg) online       c2t2d0s2     -
disk_2       auto      c2t0d0        rootdgrp4    online       c2t0d0s2     -
emcpower0s2  auto      -             (datadg)     online       emcpower16c  -
emcpower1s2  auto      -             (datadg)     online       emcpower0c   -
emcpower2s2  auto      -             (datadg)     online       emcpower1c   -
emcpower3s2  auto      -             -            error        emcpower9c   -                      
emcpower4s2  auto      -             (datadg)     online       emcpower10c  -
emcpower5    auto      -             -            error        emcpower3    -             <<<< ALU "3"
emcpower6s2  auto      -             (rootdg)     online       emcpower2c   -   <<<< ALU "79"
emcpower7s2  auto      -             -            online       emcpower4c   -        <<<< ALU "78"

emcpower8s2  auto      -             -            online       emcpower15c  -
emcpower9s2  auto      -             (testdg)     online       emcpower17c  -
emcpower10s2 auto      -             -            online       emcpower18c  -
emcpower11s2 auto      -             -            error        emcpower5    -
emcpower12s2 auto      -             (terrydg)    online       emcpower6c   -
emcpower13s2 auto      -             -            online       emcpower7c   -
emcpower14s2 auto      -             (newdg)      online       emcpower11c  -
emcpower15s2 auto      -             (newdg)      online       emcpower8c   -
emcpower16s2 auto      -             -            online       emcpower12c  -
emcpower17s2 auto      -             -            online       emcpower13c  -
emcpower18s2 auto      -             (testdg)     online       emcpower14c  -

 

Note: The EMC PowerPath pseudo names should correspond to the Veritas Disk access name (DA) when the tpdmode is set to pseudo naming.

 

EMC CLARiiON ALU references to Veritas Disk Access Names

EMC CLARiiON ALU reference "ALU 3" refers to emcpower3, Veritas disk access name emcpower5
EMC CLARiiON ALU reference "ALU 78" refers to emcpower4, Veritas disk access name emcpower7s2
EMC CLARiiON ALU reference "ALU 79" refers to emcpower2, Veritas disk access name emcpower6s2

 

Additional Content

For Third Party Driver(TPD) controlled devices, the effect of the namingscheme also depends on the vxdmpadm "tpdmode" attribute setting which is enclosure specific.

If the tpdmode is set to "pseudo", then TPD naming is used, regardless of the defined device namingscheme.  

 

Note: To use enclosure-based naming for TPD devices, set the tpdmode to native for the given enclosure.  

 

Steps:


To use ebn, the tpdmode must be set to native. Here is the procedure to switch to ebn.

See the vxdmpadm(1) man page for details.

# vxddladm set namingscheme=osn persistence=yes

# vxdmpadm setattr enclosure tpdmode=native

# vxddladm set namingscheme=ebn persistence=yes

 

Examples of different namingschemes

 

Revised "vxdisk list" output whilst tpdmode=native and namingscheme=ebn

 

# vxdisk -e -o alldgs list
DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   ATTR
disk_0       auto      -             (51dg)       online       c2t1d0s2     -
disk_1       auto      -             (50MP1RP5dg) online       c2t2d0s2     -
disk_2       auto      c2t0d0        rootdgrp4    online       c2t0d0s2     -
emcpower0s2  auto      -             (datadg)     online       emcpower0c   -
emcpower1s2  auto      -             (datadg)     online       emcpower1c   -
emcpower5s2  auto      -             -            error        emcpower5c   -
emcpower6s2  auto      -             (terrydg)    online       emcpower6c   -
emcpower7s2  auto      -             -            online       emcpower7c   -
emcpower8s2  auto      -             (newdg)      online       emcpower8c   -
emcpower9s2  auto      -             (datadg)     online       emcpower9c   -
emcpower10s2 auto      -             (datadg)     online       emcpower10c  -
emcpower11s2 auto      -             (newdg)      online       emcpower11c  -
emcpower12s2 auto      -             -            online       emcpower12c  -
emcpower13s2 auto      -             -            online       emcpower13c  -
emcpower14s2 auto      -             (testdg)     online       emcpower14c  -
emcpower15s2 auto      -             -            online       emcpower15c  -
emcpower16s2 auto      -             (datadg)     online       emcpower16c  -
emcpower17s2 auto      -             (testdg)     online       emcpower17c  -
emcpower18s2 auto      -             -            online       emcpower18c  -
pp_emc_clariion0_0 auto      -             -            error        emcpower3    -
pp_emc_clariion0_1 auto      -             -            online       emcpower4c   -
pp_emc_clariion0_2 auto      -             (rootdg)     online       emcpower2c   -

 

Revised "vxdisk list" output whilst tpdmode=native and namingscheme=osn

 

# vxddladm set namingscheme=osn persistence=yes

# vxdisk -e -o alldgs list

DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   ATTR
c1t500601683021C60Ed5s2 auto      -             -            online       emcpower4c   -
c1t500601683021C60Ed7 auto      -             -            error        emcpower3    -
c1t500601693021C60Ed6s2 auto      -             (rootdg)     online       emcpower2c   -

c2t0d0s2     auto      c2t0d0        rootdgrp4    online       c2t0d0s2     -
c2t1d0s2     auto      -             (51dg)       online       c2t1d0s2     -
c2t2d0s2     auto      -             (50MP1RP5dg) online       c2t2d0s2     -
emcpower0s2  auto      -             (datadg)     online       emcpower0c   -
emcpower1s2  auto      -             (datadg)     online       emcpower1c   -
emcpower5s2  auto      -             -            error        emcpower5c   -
emcpower6s2  auto      -             (terrydg)    online       emcpower6c   -
emcpower7s2  auto      -             -            online       emcpower7c   -
emcpower8s2  auto      -             (newdg)      online       emcpower8c   -
emcpower9s2  auto      -             (datadg)     online       emcpower9c   -
emcpower10s2 auto      -             (datadg)     online       emcpower10c  -
emcpower11s2 auto      -             (newdg)      online       emcpower11c  -
emcpower12s2 auto      -             -            online       emcpower12c  -
emcpower13s2 auto      -             -            online       emcpower13c  -
emcpower14s2 auto      -             (testdg)     online       emcpower14c  -
emcpower15s2 auto      -             -            online       emcpower15c  -
emcpower16s2 auto      -             (datadg)     online       emcpower16c  -
emcpower17s2 auto      -             (testdg)     online       emcpower17c  -
emcpower18s2 auto      -             -            online       emcpower18c  -

 

 

As of 5.0 MP3 onwards, the /etc/vx/disk.info file contents and the "vxdisk list" output can be updated using the "vxddladm assign names" command.

 

# vxddladm assign names

 

Revised Volume Manager disk details


# vxdisk -e -o alldgs list

DEVICE       TYPE      DISK         GROUP        STATUS       OS_NATIVE_NAME   ATTR
disk_0       auto      -             (51dg)       online       c2t1d0s2     -
disk_1       auto      -             (50MP1RP5dg) online       c2t2d0s2     -
disk_2       auto      c2t0d0        rootdgrp4    online       c2t0d0s2     -
emcpower0s2  auto      -             -            online       emcpower0c   -
emcpower1s2  auto      -             (datadg)     online       emcpower1c   -
emcpower2s2  auto      -             (rootdg)     online       emcpower2c   -            <<<< ALU "79"
emcpower3    auto      -             -            error        emcpower3    -            <<<< ALU "3"          
emcpower4s2  auto      -             -            online       emcpower4c   -            <<<< ALU "78"

emcpower5s2  auto      -             -            error        emcpower5c   -
emcpower6s2  auto      -             (terrydg)    online       emcpower6c   -
emcpower7s2  auto      -             -            online       emcpower7c   -
emcpower8s2  auto      -             (newdg)      online       emcpower8c   -
emcpower9s2  auto      -             (datadg)     online       emcpower9c   -
emcpower10s2 auto      -             (datadg)     online       emcpower10c  -
emcpower11s2 auto      -             (newdg)      online       emcpower11c  -
emcpower12s2 auto      -             -            online       emcpower12c  -
emcpower13s2 auto      -             (datadg)     online       emcpower13c  -
emcpower14s2 auto      -             -            online       emcpower14c  -
emcpower15s2 auto      -             -            online       emcpower15c  -
emcpower16s2 auto      -             (datadg)     online       emcpower16c  -
emcpower17s2 auto      -             (testdg)     online       emcpower17c  -
emcpower18s2 auto      -             -            online       emcpower18c  -

 

Revised EMC CLARiiON ALU references to Veritas Disk Access Names

EMC CLARiiON ALU reference "ALU 3" refers to emcpower3, Veritas disk access name emcpower3
EMC CLARiiON ALU reference "ALU 78" refers to emcpower4, Veritas disk access name emcpower4s2
EMC CLARiiON ALU reference "ALU 79" refers to emcpower2, Veritas disk access name emcpower2s2

 

Note: The EMC PowerPath pseudo names now correspond to the Veritas Disk access name (DA) as summarized above.

Issue/Introduction

How to refresh the Veritas Volume Manager disk details when using EMC PowerPath (Solaris)