Veritas Volume Manager 5.0 MP3 RP1 HF13 (SOLARIS) is now able to encapsulate an EMC SAN bootable unmanaged PowerPath LUN

book

Article ID: 100023165

calendar_today

Updated On:

Description

Error Message



Sample console output


WARNING: VxVM vxio V-5-0-2 Subdisk ROOT block 65192272: Uncorrectable read error
NOTICE: VxVM vxdmp V-5-0-34 added disk array FAKE_ENCLR_SNO, datype = FAKE_ARRAY

NOTICE: VxVM vxdmp V-5-0-148 enabled path 118/0x170 belonging to the dmpnode 268/0x0

NOTICE: VxVM vxdmp V-5-0-147 enabled dmpnode 268/0x0

VxVM sysboot WARNING V-5-0-4817 Error starting vxconfigd
VxVM sysboot WARNING V-5-0-0
Errors were encountered in starting the boot disk group, as a result
VxVM is unable to configure the root and/or /usr volumes.  If you have
mirrored the root disk, you can try booting from that disk.

If you cannot boot from the root disk, you can try to repair the problem
using a network-mounted root file system or some other alternate root
file system.

Continue with system boot? [no] Failed to send email alert for recent event.

 

Cause


DIAGNOSTIC STEPS:

Debug drivers were created by VxVM engineering to troubleshoot the encapsulation/booting issues surrounding an unmanaged EMC DMX bootable PP LUN.

During the bootup sequence the EMC CLI "/sbin/powermt display unmanaged" command does not report the unmanaged luns as required.

The EMC CLI  "powermt display unmanaged" command is failing(with error 103) at the time of VxVM vxvm-sysboot startup script.
Resulting in the libvxpp.so (EMC TPD PowerPath ASL) to obtain the list of unmanaged EMC PowerPath devices.
 

Resolution



To fix the issue:


VxVM engineering enhanced the libvxpp.so ASL code for EMC PowerPath as follows:

       1) If "powermt" command fails, set a variable indicating that "unmanaged device list is not configured"
       2) If unmanaged device list is not configured, then libvxpp.so asl does not claim any device.


With the above fix, the libvxpp.so ASL does not claim any device at boot time, so that system is allowed to boot in an encapsulation state using the EMC unmanaged SAN bootable LUN.


Later on when VxVM "vxvm-startup2" startup script is executed, the "vxdctl enable" command is triggered. This enabled the libvxpp.so ASL  to reload, at that time libvxpp.so will capable of obtaining a list of the EMC unmanaged devices.
 
The remaining EMC PowerPath managed devices are then migrated as designed.



PROBLEM DESCRIPTION:

VxVM was unable to encapsulate an unmanaged EMC SAN bootable bootdisk

CAUSE:

libvxpp has to be enhanced to handle an unmanaged EMC SAN bootable LUN

SOLUTION:

5.0 MP3 RP1 HF13 provided to Veritas support, enabling the encapsulation of an unmanaged EMC PowerPath SAN bootable LUN.



How to unmanage an EMC PowerPath managed SAN bootable lun:


In this instance, the EMC PowerPath managed device "emcpower128" will be unmanaged as follows:


1.] # vxdisk rm emcpower128s2                         

Note: If applicable, the disk must be either removed from the diskgroup or the corresponding diskgroup must be deported for the above command to work.


2.] # powermt unmanage dev=emcpower128c

# powermt display unmanaged

Symmetrix ID=000290300822
Logical device ID=000029030082232D
Vendor ID=EMC     ; Product ID=SYMMETRIX
===============================================
-------------------- Host ---------------------
HW Path                            I/O Paths
===============================================
pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w5006048c5368e580,d2 c1t5006048C5368E580d210s0
pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w5006048c5368e5a0,e4 c1t5006048C5368E5A0d228s0


The powermt unmanage operation populates the /kernel/drv/emcp.conf file with the "Logical device ID" for the unmanaged device.

In this instance the "Logical device ID" for the unmanaged EMC PowerPath "emcpower128c" is "000029030082232D".
 

# head /kernel/drv/emcp.conf
#This file is automatically generated. Please don't edit.

global-exts="emcpgpx","emcpmpx","emcpvlumd","emcpxcrypt","emcpdm","emcpioc";
managed-class="symm","clariion","hitachi","invista","hpxp","ess","hphsx";
unmanaged-volumes=
"000000004D700000000000000000000000000000000000010000000200000000000029030082232D000000000000000000000000000000000000000000000000";
name="emcp" parent="pseudo" instance=0x7fff;
name="emcp" parent="pseudo" instance=0 userdev=0x15300000000 did="000000004D7000000000000000000000000000000000000100000002000000000000290301414142000000000000000000000000000000000000000000000000" np=1 dev=0x76,0x100;
name="emcp" parent="pseudo" instance=1 userdev=0x15300000008 did="000000004D70000000000000000000000000000000000001000000020000000000002903008222BF000000000000000000000000000000000000000000000000" np=2 dev=0x76,0x860,0x76,0x470;
name="emcp" parent="pseudo" instance=2 userdev=0x15300000010 did="000000004D70000000000000000000000000000000000001000000020000000000002903008222C5000000000000000000000000000000000000000000000000" np=2 dev=0x76,0x830,0x76,0x440;

 

It is recommend that the Solaris server be rebooted to ensure the VxVM/DMP kernel database structures are updated as required.
 


Applies To

Solaris



How to list the unmanaged EMC PowerPath devices


# powermt display unmanaged

No unmanaged devices found.


Once an EMC PowerPath device has been unmanaged, the unmanaged LUNs can be listed as follows:


# powermt display unmanaged
Symmetrix ID=000290300822
Logical device ID=000029030082232D
Vendor ID=EMC     ; Product ID=SYMMETRIX
===============================================
-------------------- Host ---------------------
HW Path                            I/O Paths
===============================================
pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w5006048c5368e580,d2 c1t5006048C5368E580d210s0
pci@1e,600000/SUNW,jfca@2/fp@0,0/ssd@w5006048c5368e5a0,e4 c1t5006048C5368E5A0d228s0

Issue/Introduction

Prior to the release of the Veritas Volume Manager (VxVM) 5.0 MP3 RP1 HF13 (SOLARIS) hot-fix, it was not possible to unmanage an EMC PowerPath managed SAN bootable LUN on Solaris.

The hot-fix enables VxVM to encapsulate an unmanaged EMC PowerPath SAN bootable LUN on Solaris.  

Additional Information

ETrack: 1708008