[Pacemaker] set the timeout

Tim Small tim at seoss.co.uk
Mon Mar 11 11:12:51 EDT 2013


On 11/03/13 14:44, fatcharly at gmx.de wrote:
> 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.
>
>   

Change this:

> primitive Apache ocf:heartbeat:apache \
>         params configfile="/etc/httpd/conf/httpd.conf" \
>         op monitor interval="45s" timeout="120s"
>   

to this:




primitive Apache ocf:heartbeat:apache \
        params configfile="/etc/httpd/conf/httpd.conf" \
        op monitor interval="45s" timeout="120s" \
        op start interval="0" timeout="240s"


or similar.  The 120s is the timeout for the monitor operation (i.e. the
call which checks if the resource is running).

Tim.

-- 
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.  
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53  http://seoss.co.uk/ +44-(0)1273-808309





More information about the Pacemaker mailing list