EMC power devices not showing in "vxdisk list" output, generic EMC Powerpath & DMP troubleshooting

book

Article ID: 100021435

calendar_today

Updated On:

Resolution

When using EMC Powerpath to manage your SAN multipathing,It is one of very common issue that you don't see emcpower devices in "vxdisk list" output.

Following are some of very basic steps which would help you to diagnose this issue.

The way to proceed ahead in troubleshooting this should be:

a) What array customer is being used? Is it a Clariion array or a Symmetrix array? The commands below should give you an idea:

#vxdmpadm listenclosure all    

b) Are the EMC power devices correctly visible to Powerpath? If Powerpath itself is not seeing the devices clearly, the devices would not be visible at the DMP layer.

To check the above, use the following steps:

STEP 1:
a) Check if the Powerpath modules are loaded:

# modinfo | grep -i emc

b) Check devices at powerpath layer

# powermt display dev=all  
(This should list all EMC power devices with actual paths lying underneath, please note paths should be enabled& active in this case)

In case devices are not visible correctly at this layer, you can rebuild powerpath device tree by using following steps:

# rm /dev/dsk/emcpower*              --- delete the old emcpower nodes
# rm /dev/rdsk/emcpower*             --- delete the old emcpower nodes
# mv /kernel/drv/emcpower.conf /kernel/drv/emcpower.conf.old
# mv /etc/emcpower_to_volnum /etc/emcpower_to_volnum.old
# powercf -q                                --- quietly reconfigure . Creates a new emcpower.conf and emcpower_to_volnum.
# reboot ---r                                --- reboot reconfigure


Once the Powerpath device tree is rebuild, you should be able to see the power devices in "powermt display dev=all" output as mentioned above. Additionally, an emcpower device list should be generated under the /dev/dsk & /dev/rdsk directories.

If you are still not able to see power devices generating correctly, you should contact EMC for assistance. If you can see the devices fine, proceed to STEP 2

STEP 2:

2.1)  In case you are using a Clariion array:

a)  Are you not able to see the emcpower devices?
-- Check if you can see the devices in "format" command.
 If yes - Run "vxdctl enable" or try restarting vxconfigd daemon, if you are using CVM cluster, be sure to freeze service groups before restarting vxconfigd.
          - Also check if anything is excluded from VXVM or DMP, following commands should help you to determine:
            # vxdmpadm listexclude all
            # vxddladm listexclude all

         
- You should exclude the ASL library for EMC power devices to take control.  To do this, first determine which ASL library you are using
            # vxddladm listsupport all  
         (This should list libraries name, check the library as per your array)
          -  to get further details on each library, as to which library is meant for which array, use below command:
            # vxddladm listsupport libname=
          - If still you are unsure of what ASL library your array is using, run following command
            #/etc/vx/diag.d/vxasldebug    
(This command should generate a tar file for review, which can be opened or generated to provide to Veritas Support)
 
          - Once you are sure of your library

            #vxddladm exclude array libname=libvxemc.so (insert correct libname as per your setup)
          - Run following to verify
            # vxdctl enable
            # vxdisk list


         Else

          - Check if any controller is not disabled
            # vxdmpadm listctlr all
          - If any controller is disabled, you can enable it by using
            # vxdmpadm enable ctlr=c2  (change the controller number as per yoursetup)
         
             
If format is not able to see the devices then issue still lies below DMP, either at EMC Powerpath layer or OS layer.
          - Check if controller is configured
         # cfgadm-al (if on Solaris)
          - Try running devfsadm to rescan all devices
            # devfsadm -Cv (if on Solaris)

2.2)  In case you are using Symmetrix array

         - Most of the troubleshooting goes like above, however something different here would be to check the tpdmode. Veritas has built-in support for Third Party Drivers like EMC Powerpath.

           # vxdmpadm getattr enclosure tpdmode

         -Above should be set to pseudo, if not then set it
 
          # vxdmpadm setattr enclosure tpdmode=pseudo

         -Also you should be able to see a virtual controller called "emcp" in

          # vxdmpadm listctlr all

         - All of above steps mentioned in previous sections stands valid here as well


Hopefully the steps listed in this article will help to get the issue resolved.




 
 

 

Issue/Introduction

EMC power devices not showing in "vxdisk list" output, generic EMC Powerpath & DMP troubleshooting