[ClusterLabs] Does anyone use or care about custom OCF actions?

Ken Gaillot kgaillot at redhat.com
Wed Aug 7 17:22:39 UTC 2024


Hi all,

Pacemaker supports the usual actions for OCF agents such as start,
stop, and monitor.

Usually monitor is the only action configured as recurring. However it
is possible to create a custom named action in an agent and configure
it as recurring in Pacemaker. 

Currently, a recurring custom action that fails will be handled
similarly to a failed monitor (taking the on-fail response, marking the
resource as failed, etc.). That's not documented or tested, and I
suspect it might be handled inconsistently.

For Pacemaker 3.0.0, we're considering ignoring the results of custom
recurring actions. They would still be run, they just wouldn't affect
the state of the resource. With OCF_CHECK_LEVEL, it's possible to
configure three different monitor behaviors, so I don't see much
benefit to custom actions.

What's your opinion? Does anyone use custom actions or find them
potentially worthwhile?
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list