[Pacemaker] set the timeout

Florian Crouzat gentoo at floriancrouzat.net
Mon Mar 11 15:07:51 UTC 2013


Le 11/03/2013 15:44, fatcharly at gmx.de a écrit :
> Hi,
>
> how can I adjust the timeout for the start of a mysqld or a httpd in a config. It seems to me as if this is a little to short for our systems.
> One of my configuration looks like this:
>

See 
http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Pacemaker_Explained/_resource_operations.html
It's the same as defining a timeout for a "monitor" operation.
You can do it for any operation.

Eg:

primitive foo lsb:bar \
         op monitor on-fail="restart" interval="10s" \
         op start interval="0" timeout="3min" \
         op stop interval="0" timeout="1min"

Don't forget stop timeouts or you'll (probably) get fenced ;)

-- 
Cheers,
Florian Crouzat




More information about the Pacemaker mailing list