[Pacemaker] Make pacemaker retry failed resources

Gareth Davis Gareth.Davis at ipaccess.com
Wed May 9 11:23:43 EDT 2012


Hi, 

This actually cross posted from
http://serverfault.com/questions/387425/make-pacemaker-retry-failed-resourc
es

I would like to get pacemaker to retry starting my resource

	primitive Imq ocf:example:imq \
   	  op monitor on-fail="restart" interval="10s" \
   	  op start interval="0" timeout="60s" on-fail="restart" \
   	  meta failure-timeout="30s"

Note that this resource is pinned to the first node via

	location location_Imq Imq inf: vm1
	location location_Imq1 Imq -inf: vm2

Currently if I break something that stops this resource from starting the
failure count returns INFINITY and stops attempting to restart the service.

I would like to never give up on the resource so that once the
intermittent issue clears its self the resource restarts and resumes
service.

Using pacemaker 1.0 on CentOS.

Gareth






This message contains confidential information and may be privileged. If you are not the intended recipient, please notify the sender and delete the message immediately.

ip.access Ltd, registration number 3400157, Building 2020, 
Cambourne Business Park, Cambourne, Cambridge CB23 6DW, United Kingdom




More information about the Pacemaker mailing list