Re: [Linux-HA] Restarting a resource that failed to start

2007-04-19 Thread Andrew Beekhof
On 4/13/07, Piotr Kaczmarzyk <[EMAIL PROTECTED]> wrote: Hi, I'm using version 2.0.8 and I tried to provide a highly-available squid service. I wrote my own OCF script which was tested in two versions: ver 1. 'Start' function started squid, waited a few seconds, then tried to connect to port

Re: [Linux-HA] Restarting a resource that failed to start

2007-04-19 Thread Andrew Beekhof
On 4/13/07, Piotr Kaczmarzyk <[EMAIL PROTECTED]> wrote: > When I tested second version of the script the resource that failed to start > stayed on the node all the time and failcount increased. By changing > "default-resource-stickiness" and "default-resource-failure-stickiness" > parameters I wa

Re: [Linux-HA] Restarting a resource that failed to start

2007-04-13 Thread Piotr Kaczmarzyk
When I tested second version of the script the resource that failed to start stayed on the node all the time and failcount increased. By changing "default-resource-stickiness" and "default-resource-failure-stickiness" parameters I was be able to force it to move to another node after a number o

[Linux-HA] Restarting a resource that failed to start

2007-04-12 Thread Piotr Kaczmarzyk
Hi, I'm using version 2.0.8 and I tried to provide a highly-available squid service. I wrote my own OCF script which was tested in two versions: ver 1. 'Start' function started squid, waited a few seconds, then tried to connect to port 8080, issued a HTTP request and returned either $OCF