[Pacemaker] resource file

Alex Samad - Yieldbroker Alex.Samad at yieldbroker.com
Mon Jun 3 04:39:23 EDT 2013


Hi

Written my own resource script file

In the monitor command, what error code should I return to say the resource has failed, but to no make it permanent 

Currently I am using 
return $OCF_ERR_PERM

but it means that ones the resource is unavailable it is permanently unavailable

This is not my preferred option I would like to the resource to fail and potentially be moved to another node, but I would like pacemaker to attempt to retry, but it doesn't until I issue a clean command on that resource

Alex




More information about the Pacemaker mailing list