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

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to