Re: [Pacemaker] Return value from promote function

2011-02-16 Thread Bob Schatz
Thanks Andrew! This works. - Original Message From: Andrew Beekhof and...@beekhof.net To: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org Sent: Thu, February 10, 2011 1:37:52 AM Subject: Re: [Pacemaker] Return value from promote function On Tue, Feb 8, 2011 at 3

Re: [Pacemaker] Return value from promote function

2011-02-10 Thread Andrew Beekhof
On Tue, Feb 8, 2011 at 3:42 AM, Bob Schatz bsch...@yahoo.com wrote: I am running Pacemaker 1.0.9.1 and Heartbeat 3.0.3. I have a master/slave resource with an agent. When the resource hangs while doing a promote, the resource returns OCF_ERR_GENERIC. However, all this does is call demote

[Pacemaker] Return value from promote function

2011-02-07 Thread Bob Schatz
I am running Pacemaker 1.0.9.1 and Heartbeat 3.0.3. I have a master/slave resource with an agent. When the resource hangs while doing a promote, the resource returns OCF_ERR_GENERIC. However, all this does is call demote on the resource, restart the resource on the same node and then retry