I want a node to be considered "online" (and thus able to get resources) only after it is ready for them (that is, a particular process is up and running.)
Is there a way to configure pacemaker to check if a particular process is running, and only then set the node "online"?
Thanks!
corosync
is for cluster memebership andpacemaker
for resource management and node management, i think the only thing you can do is use in your resource a definition like this.When the monitor action of
Dummy1
will fail, the pacemaker will fence the node where the resource fail happened using the poweroff stonith action, in this way your node will be down and the status of node change from online to offline.