Re: [Pacemaker] Pacemaker fails to transition single node master/slave resource to master

2012-08-27 Thread Andrew Beekhof
On Mon, Aug 27, 2012 at 1:44 AM, Eliot Gable wrote: > On Sun, Aug 26, 2012 at 11:31 AM, Eliot Gable > wrote: >> >> >> I have also tried doing a resource cleanup on FreeSWITCH-MS, restarting >> pacemaker and corosync, putting the node in standby and bringing it back >> out, upgrading pacemaker and

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-27 Thread Jake Smith
Andrew, Snipped off the old stuff as this is getting quite large for those that read via mobile devices ;-) To answer your question - no not that I am aware of. Maybe someone else on the list with a better option will speak up. However if your really only looking to make sure the node runni

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-27 Thread Andrew Martin
Hi Jake, Thank you for the detailed analysis of this problem. The original reason I was utilizing ocf:pacemaker:ping was to ensure that the node with the best network connectivity (network connectivity being judged by the ability to communicate with 192.168.0.128 and 192.168.0.129) would be th

Re: [Pacemaker] Pacemaker fails to transition single node master/slave resource to master

2012-08-27 Thread Lars Marowsky-Bree
On 2012-08-27T10:10:06, Eliot Gable wrote: > I was not; but now I am setting the final score on successful start. I am > calculating the score by using the monitor actions. For each portion of > monitoring which returns successful, I am adding 10 to the score. The final > score set should be 40.

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-27 Thread Jake Smith
- Original Message - > From: "Andrew Martin" > To: "Jake Smith" , "The Pacemaker cluster resource > manager" > Sent: Monday, August 27, 2012 1:01:54 PM > Subject: Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces > resources to restart? > > Jake, > > > Attached is t

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-27 Thread David Parker
On 08/23/2012 05:26 PM, Jake Smith wrote: - Original Message - From: "David Parker" To: pacemaker@oss.clusterlabs.org Sent: Thursday, August 23, 2012 4:47:11 PM Subject: Re: [Pacemaker] Issues with HA cluster for mysqld On 08/23/2012 04:19 PM, Jake Smith wrote: Okay, I think I've al

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-27 Thread Andrew Martin
Jake, Attached is the log from the same period for node2. If I am reading this correctly, it looks like there was a 7 second difference between when node1 set its score to 1000 and when node2 set its score to 1000? Aug 22 10:40:38 node1 attrd_updater: [1860]: info: Invoked: attrd_updater -n p_

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-27 Thread Jake Smith
- Original Message - > From: "Andrew Martin" > To: "The Pacemaker cluster resource manager" > Sent: Thursday, August 23, 2012 7:36:26 PM > Subject: Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources > to restart? > > Hi Florian, > > > Thanks for the suggestion. I ga

Re: [Pacemaker] Pacemaker fails to transition single node master/slave resource to master

2012-08-27 Thread Eliot Gable
I was not; but now I am setting the final score on successful start. I am calculating the score by using the monitor actions. For each portion of monitoring which returns successful, I am adding 10 to the score. The final score set should be 40. However, it is still not working. Any other suggestio

Re: [Pacemaker] Pacemaker fails to transition single node master/slave resource to master

2012-08-27 Thread Lars Marowsky-Bree
On 2012-08-26T11:44:52, Eliot Gable wrote: > Looking back through my E-mails, it looks like this was originally deployed > on 1.1.2. My guess is that someone did a sweeping software update on the > system but never restarted/reloaded pacemaker + corosync until that reboot > occurred last week. Di

Re: [Pacemaker] Apparent error passing stonith resource parameters (external/libvirt)

2012-08-27 Thread Dejan Muhamedagic
Hi, On Fri, Aug 24, 2012 at 11:25:19AM -0400, Nathan Bird wrote: > On 08/24/2012 10:47 AM, Nathan Bird wrote: > >I'm trying to setup an external/libvirt stonith fencing > >thingiemadoodle but ran into an error > > > >My pacemaker configuration is (read back out it looks the same): > > > >primitive