<html><body>
<p><font size="2" face="sans-serif">I've been fighting an issue where a kernel updates, an old 8.x drbd module gets installed, pacemaker tries firing up DRBD which then brings down my entire cluster that is running the 9.2.x module.</font><br>
<br>
<font size="2" face="sans-serif">I did a "systemct edit drbd.service" and inserted a line </font><font size="2" face="sans-serif">"</font><font size="2" face="sans-serif">ExecStartPre=/usr/local/bin/checkDRBDModule.sh</font><font size="2" face="sans-serif">". checkDRBDModule.sh is a script I wrote which basically checks the version of the modules and if it's 8.x it recompiles a new version and installs it. (The script always works great when run manually, so it appears that is NOT running from the ExecStartPre line.</font><br>
<br>
<font size="2" face="sans-serif">I tried the above solution because I've tried putting the nodes into both "standby" and "maintenance" modes before issuing a reboot. My hope is that pacemaker wouldn't fire up DRBD and stop the whole cluster on reboot, but it still does. Please, explain how I can either force my script to run or tell Pacemaker "DO NOT START DRBD UNTIL I SAY SO".</font><br>
<br>
<font size="2" face="sans-serif">Thanks for the help in advance.</font><br>
<br>
<font size="3" face="sans-serif"><b>Jay Fluharty</b></font><br>
<font size="2" face="sans-serif"><i>Network Analyst</i></font><br>
<font size="2" face="sans-serif">Wheeling-Nippon Steel Inc.</font><br>
<font size="2" face="sans-serif">PO Box 635</font><br>
<font size="2" face="sans-serif">Follansbee, WV 26037</font><br>
<font size="2" face="sans-serif">jayf@wheeling-nipponsteel.com</font><br>
<font size="2" face="sans-serif">1-304-527-4819</font></body></html>