Hello, I have some init based scripts that I configure as lsb resources. They are java based (in this case ovirt-engine and ovirt-websocket-proxy from oVirt project) and they are started through the rhel "daemon" function. Basically it needs a few seconds before the scripts exit and the status option returns ok. So most of times when used as resources in pacemaker, their start is registered as FAILED because the "status" call happens too quickly. In the mean time I solved the problem putting a "sleep 5" before the exit, but I would like to know if I can set a resource or cluster parameter so that the first status monitor after start is delayed. So I don't need to ask maintainer to make the change to the script and I don't need after every update to remember to re-modify the script.
Another option would be to try the status after start more than once so that eventually the first time is not ok, but it is so the second one.... Thanks in advance, Gianluca _______________________________________________ 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