[ClusterLabs] Services trying to start even when node is in standby or maintenance mode
jayf at wheeling-nipponsteel.com
jayf at wheeling-nipponsteel.com
Mon May 19 13:25:18 UTC 2025
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.
I did a "systemct edit drbd.service" and inserted a line "
ExecStartPre=/usr/local/bin/checkDRBDModule.sh". 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.
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".
Thanks for the help in advance.
Jay Fluharty
Network Analyst
Wheeling-Nippon Steel Inc.
PO Box 635
Follansbee, WV 26037
jayf at wheeling-nipponsteel.com
1-304-527-4819
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20250519/7632d010/attachment.htm>
More information about the Users
mailing list