Re: [Pacemaker] Batch pacemaker configuration

2012-06-08 Thread Matteo Bignotti
No the nodes it's ok, shouldn't delete them. but to use the crm configure erase I would need to stop any resource that's running, correct? what is better? is the cibadmin too invasive? On 06/08/2012 03:05 AM, Dejan Muhamedagic wrote: Hi, On Thu, Jun 07, 2012 at 12:01:16PM -0700, Matteo Bign

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread David Vossel
- Original Message - > From: "Brad Jones" > To: "David Coulson" > Cc: "The Pacemaker cluster resource manager" > Sent: Friday, June 8, 2012 10:21:51 AM > Subject: Re: [Pacemaker] Configuring a cluster for asymmetric operation > > David - thanks much. I installed drbd, kept the skeleton

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread David Vossel
- Original Message - > From: "Jake Smith" > To: "The Pacemaker cluster resource manager" > Sent: Friday, June 8, 2012 10:45:59 AM > Subject: Re: [Pacemaker] Configuring a cluster for asymmetric operation > > > > > > David, > > > > Just so I'm clearer (when I run into this issue...

Re: [Pacemaker] Announce: pcs / pcs-gui (Pacemaker/Corosync Configuration System)

2012-06-08 Thread Lars Ellenberg
On Wed, Jun 06, 2012 at 07:22:47PM +0200, Rasto Levrinc wrote: > On Wed, Jun 6, 2012 at 4:45 PM, Lars Ellenberg > wrote: > > On Tue, Jun 05, 2012 at 05:15:04PM +0200, Rasto Levrinc wrote: > >> On Tue, Jun 5, 2012 at 1:27 PM, Lars Marowsky-Bree wrote: > >> > On 2012-06-05T09:43:09, Andrew Beekhof

Re: [Pacemaker] Finer control over when email is sent?

2012-06-08 Thread Lars Ellenberg
On Tue, Jun 05, 2012 at 04:08:02PM -0700, Peter Skirko wrote: > Looking at the source, it seems like the assumption is to just wire up an > external program to do the notifications for you, that way you can send > whatever you do or don't want. > > Thanks, > -Peter > > On Tue, Jun 5, 2012 at 3:37

Re: [Pacemaker] [RFC] [Patch] DC node preferences (dc-priority)

2012-06-08 Thread Lars Ellenberg
On Mon, Jun 04, 2012 at 11:33:45AM +1000, Andrew Beekhof wrote: > On Mon, Jun 4, 2012 at 11:28 AM, Andrew Beekhof wrote: > > On Fri, May 25, 2012 at 7:48 PM, Florian Haas wrote: > >> On Fri, May 25, 2012 at 11:38 AM, Lars Ellenberg > >> wrote: > >>> On Fri, May 25, 2012 at 11:15:32AM +0200, Flor

Re: [Pacemaker] Removed nodes showing back in status

2012-06-08 Thread David Vossel
- Original Message - > From: "Larry Brigman" > To: "The Pacemaker cluster resource manager" > Sent: Friday, June 8, 2012 3:46:52 PM > Subject: Re: [Pacemaker] Removed nodes showing back in status > > ping. What can I do to assist in moving this bug forward to be fix? Submitting a patch

Re: [Pacemaker] Removed nodes showing back in status

2012-06-08 Thread Larry Brigman
ping. What can I do to assist in moving this bug forward to be fix? On Wed, May 30, 2012 at 10:42 AM, Larry Brigman wrote: > On Tue, May 29, 2012 at 3:08 PM, Larry Brigman > wrote: >> On Fri, May 25, 2012 at 3:40 PM, David Vossel wrote: >>> - Original Message - From: "Larry Brigm

Re: [Pacemaker] MySQL not starting

2012-06-08 Thread Yves Trudeau
Hi, please use the latest version of the agent and look here for documentation: https://github.com/jayjanssen/Percona-Pacemaker-Resource-Agents/blob/master/doc/PRM-setup-guide.rst Regards, Yves Le 2012-05-16 08:29, Stallmann, Andreas a écrit : Hi! I try to get a mysql master / slave set

Re: [Pacemaker] MySQL not starting

2012-06-08 Thread Yves Trudeau
Hi, the agent does a RESET SLAVE now and check for master log file afterward. I think this is handled correctly. Regards, Yves Le 2012-05-29 10:19, Stallmann, Andreas a écrit : Hi! MySQL has changed CHANGE MASTER TO syntax in 5.1 (IIRC), and it won't accept an empty host argument anymo

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread Jake Smith
David, Just so I'm clearer (when I run into this issue...) You have to have all of the supporting software for each resource installed (i.e. drbd, nfs, mysql, or whatever) not just the RA's? If you have the RA's installed you'd get "not installed" but that is not sufficient for Pacemaker to a

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread Brad Jones
David - thanks much. I installed drbd, kept the skeleton (basically empty) config file in place on server C, and it has stopped trying to monitor. I still don't quite understand how a server not running a particular RA can monitor a service anyway? But my immediate problem is indeed solved and I

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread David Vossel
- Original Message - > From: "Matthew O'Connor" > To: "The Pacemaker cluster resource manager" > Sent: Friday, June 8, 2012 8:36:13 AM > Subject: Re: [Pacemaker] Configuring a cluster for asymmetric operation > > I ran across the same issue when putting together an asymmetric > cluster.

Re: [Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Digimer
I've seen the cable coming from the redundant PSU's backplane short against the chassis. I've seen the RJ45 connector for IPMI/iLO go back. Of course, a switch port could go bad or a network cable could come out. There are many ways that IPMI/iLO could fail independent of the incoming power.

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread Matthew O'Connor
I ran across the same issue when putting together an asymmetric cluster. Generally, I've found that it's necessary to make sure all nodes have the same resource-related backing software installed. For instance, I too have had to install DRBD on all nodes, even those not running DRBD. iSCSITarget

Re: [Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Juan M. Sierra
Hello, Thank you a lot. It's an interesting thread for my problem. I'll investigate about it more. Regards, El 08/06/12 13:51, Florian Crouzat escribió: Le 08/06/2012 13:01, Juan M. Sierra a écrit : Problem with state: UNCLEAN (OFFLINE) Hello, I'm trying to get up a directord service with

Re: [Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Juan M. Sierra
Hello, First of all, thank you very much for your quickly reply. Your advice has made me thinking about the energy problem and its relation with stonith. In my case, I use two machines with ILO-similar system (like HP servers) and two power supplies. Really, it's a very strange event that th

Re: [Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Florian Haas
On Fri, Jun 8, 2012 at 1:01 PM, Juan M. Sierra wrote: > Problem with state: UNCLEAN (OFFLINE) > > Hello, > > I'm trying to get up a directord service with pacemaker. > > But, I found a problem with the unclean (offline) state. The initial state > of my cluster was this: > > Online: [ node2 node1 ]

Re: [Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Florian Crouzat
Le 08/06/2012 13:01, Juan M. Sierra a écrit : Problem with state: UNCLEAN (OFFLINE) Hello, I'm trying to get up a directord service with pacemaker. But, I found a problem with the unclean (offline) state. The initial state of my cluster was this: /Online: [ node2 node1 ] node1-STONIT

[Pacemaker] Problem with state: UNCLEAN (OFFLINE)

2012-06-08 Thread Juan M. Sierra
Problem with state: UNCLEAN (OFFLINE) Hello, I'm trying to get up a directord service with pacemaker. But, I found a problem with the unclean (offline) state. The initial state of my cluster was this: /Online: [ node2 node1 ] node1-STONITH(stonith:external/ipmi):Started no

Re: [Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread David Coulson
Pacemaker needs to be able to monitor on all nodes. Maybe if you install drbd on the third node but don't configure anything monitor will correctly report it is not running over there, and your location rules will stop it from even trying. Or just change the RA for DRBD to report not running i

Re: [Pacemaker] Batch pacemaker configuration

2012-06-08 Thread Dejan Muhamedagic
Hi, On Thu, Jun 07, 2012 at 12:01:16PM -0700, Matteo Bignotti wrote: > Hi guys, > > I'm trying to configure in batch pacemaker, so far what I am doing > in orders is > > # Flushing the old configuration > cibadmin -E --force You should use crm configure erase for this. Note that it doesn't dele

Re: [Pacemaker] Behavior of booth arbitrator when used pacemaker

2012-06-08 Thread Yuichi SEINO
Hi Jiaiu, I could understand this answer. I thought that this behavior is strange when watching crm_mon. Currently, I see that this behavior is correct. Thank you. Sincerely, Yuichi 2012/6/7 Jiaju Zhang : > On Thu, 2012-06-07 at 18:22 +0900, Yuichi SEINO wrote: >> Hi  Jiaju, >> >> I have a que

Re: [Pacemaker] ERROR: create_notification_boundaries

2012-06-08 Thread Florian Haas
On Fri, Jun 8, 2012 at 8:49 AM, Sébastien Riccio wrote: > Hi, > > while reading the corosync log file i'm seeing a lot of these entries: > > Jun 08 04:11:43 filer-01-b pengine: [13718]: ERROR: > create_notification_boundaries: Creating boundaries for ms_DATA1 > Jun 08 04:11:43 filer-01-b pengine:

[Pacemaker] Configuring a cluster for asymmetric operation

2012-06-08 Thread Brad Jones
I have a cluster with three nodes, A B and C. A and B can basically stand in for one another; they run a DRBD master/slave set, and failure of A where most things run normally fires up services on B. C helps arbitrate quorum and runs Stonith plugins. I've written location rules to prohibit most