During LUN addition or removal, the following sequence of commands are executed by user/admin:
When cfgadm is executed and completes, indicating device state changes, either additions or removals, syseventd notifies vxesd. Upon receiving notification from systeventd, vxesd will trigger an automatic device discovery.
2. powermt commands are run by user/admin.
Powerpath performs device discovery and creates TPD metanodes.
3. vxdctl enable or vxdisk scandisks command is run by user/admin
DMP will perform device discovery and claim the device correctly as being managed by powerpath.
The problem occurs when vxesd triggers an automatic device discovery while PowerPath has not yet discovered or is in process of discovering newly added devices. A small window of opportunity exists where some paths of a disk are claimed as managed by powerpath (powermt commands followed by vxdctl enable) and some paths are claimed as being managed by DMP (vxesd triggered automatic discovery). This is not the expected sequence of events and thus leads to an inconsistent DMP database and could lead to a potential system panic.
Workarounds:
Veritas recommends that vxesd be permanently disabled in configurations where Powerpath is the multipathing driver of choice.
Check if vxesd daemon is running on the system:
# ps -eaf | grep -i vxesd
root 624 1 0 Jun 24 ? 3:16 /sbin/vxesd
#
From command line - disable vxesd prior to LUN addition or removal using command:
# vxddladm stop eventsource
# ps -eaf | grep -i vxesd
#
To permanently disable vxesd and make the change persistent across reboot - comment out the pertinent entry in VxVM startup script. Edit the vxvm-startup file, and comment out the following line:
/usr/sbin/vxddladm start eventsource
Depending on the OS/version, the file will be in different locations:
Solaris 10: /lib/svc/method/vxvm-startup2
Solaris 8,9: /etc/init.d/vxvm-startup2
Formal Resolution:
Veritas will be implementing the following code change and enhancement in upcoming releases.
This will be available in version 5.1RP2
Etrack: 2109397: Need to disable vxesd when PP is present on the system
2. vxesd behavior will be enhanced to operate in limited feature mode when Powerpath is present.
This feature will be implemented in 5.1SP1
Etrack: 2016129 : DDL: Have a tunable to disable OS event monitoring by vxesd
Applies To
Solaris 8,9 and 10 (sparc and X64 platforms)
VxVM 4.0, 4.1, 5.0 and 5.1 versions
EMC array and multipathing managed by EMC powerpath.