Disabling dmp_monitor_osevent using vxdmpadm settune command is not persistent across reboot on Solaris platform
Problem
Disabling dmp_monitor_osevent using vxdmpadm settune command is not persistent across reboot on Solaris platform.
Error Message
After dmp_monitor_osevent is disabled using vxdmpadm settune, rebooting the system will have the parameter enabled again.
Cause
In Storage Foundation version 5.1SP1 to 6.0 on Solaris platform, the following commands are found in the /lib/svc/method/vxvm-startup2.
#Prevent OS device attach events from esd if powerpath is present
pp_present=`modinfo | grep emcp | wc -l`
if [ $pp_present -gt 0 ]
then
/usr/sbin/vxdmpadm settune dmp_monitor_osevent=off 2> /dev/null
else
/usr/sbin/vxdmpadm settune dmp_monitor_osevent=on 2> /dev/null ## dmp_monitor_osevent is turned on if EMC Powerpath driver is not loaded
fi
Because of the statement found in the else clause, the dmp_monitor_osevent is turned on explicitly, even if EMC Powerpath driver is not loaded.
Solution
The problem is fixed in Storage Foundation 6.0.1 onward on Solaris due to the following change to the code in /lib/svc/method/vxvm-startup2:
#Prevent OS device attach events from esd if powerpath is present
pp_present=`modinfo | grep emcp | wc -l`
if [ $pp_present -gt 0 ]
then
/usr/sbin/vxdmpadm settune dmp_monitor_osevent=off 2> /dev/null
fi
Starting from VxVM 6.0.1 dmp_monitor_osevent will not be turned on if EMC Powerpath driver is not loaded.
Applies To
The problem affects Storage Foundation versions 5.1SP1 to 6.0 on Solaris platform only.