Re: [Pacemaker] How to flush the arp cache of a router?

2012-01-26 Thread Florian Crouzat
Le 26/01/2012 01:05, ge...@riseup.net a écrit : I tried to put it into a file and made this executable, and used lsb: to call it (which didn't work). Then I googled for hours to find out, how to call scripts from within crm, but had no success... You should be able to run any script you want

Re: [Pacemaker] LVM Setup

2012-01-26 Thread Florian Haas
On Wed, Jan 25, 2012 at 6:49 PM, Gregg Stock gr...@damagecontrolusa.com wrote: Hi, I'm trying to setup a 5 node cluster, the same topology as described in Roll Your Own Cloud: Enterprise Virtualization with KVM, DRBD, iSCSI and Pacemaker

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique=true

2012-01-26 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 07:22:44PM +0100, Anton Melser wrote: I actually did 1 to 3 (with both configure primitive and configure clone) which worked successfully, and then launched the following. Both FW1 and FW2 are up, and it seems to be distributing the IPs between the two. The IPs are

Re: [Pacemaker] corosync vs. pacemaker 1.1

2012-01-26 Thread Dan Frincu
Hi, On Wed, Jan 25, 2012 at 5:08 PM, Kiss Bence be...@noc.elte.hu wrote: Hi, I am newbie to the clustering and I am trying to build a two node active/passive cluster based upon the documentation: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf My systems are Fedora 14, uptodate.

Re: [Pacemaker] MySQL Master-Master replication with Corosync and Pacemaker

2012-01-26 Thread Dan Frincu
Hi, On Thu, Jan 26, 2012 at 1:43 AM, Peter Scott pe...@psdt.com wrote: Hello.  Our problem is that a Corosync restart on the idle machine in a 2-node cluster shutds down the mysqld process there and we need it to stay up for replication.  We are very new to Corosync and Pacemaker and have been

[Pacemaker] Issue with the latest Pacemaker revision

2012-01-26 Thread Borislav Borisov
Greetings, After upgrading from Pacemaker version 1.1.6 - 9971ebba4494 to version 1.1.6 - 2a6b296 crm fails to connect to the CIB. My setup is 2 Node cluster with corosync and cman. Both versions are compiled with the same options and my cluster.conf looks like this: ?xml version=1.0?

Re: [Pacemaker] corosync vs. pacemaker 1.1

2012-01-26 Thread Kiss Bence
Hi, On 01/26/2012 02:13 PM, Dan Frincu wrote: Hi, On Wed, Jan 25, 2012 at 5:08 PM, Kiss Bencebe...@noc.elte.hu wrote: Hi, I am newbie to the clustering and I am trying to build a two node active/passive cluster based upon the documentation:

Re: [Pacemaker] Proposed new stonith topology syntax

2012-01-26 Thread Dejan Muhamedagic
On Wed, Jan 25, 2012 at 11:24:43AM +1100, Andrew Beekhof wrote: On Wed, Jan 25, 2012 at 2:22 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: On Tue, Jan 24, 2012 at 03:11:31PM +1100, Andrew Beekhof wrote: On Tue, Jan 24, 2012 at 7:20 AM, Dejan Muhamedagic deja...@fastmail.fm wrote:

Re: [Pacemaker] MySQL Master-Master replication with Corosync and Pacemaker

2012-01-26 Thread Trevor Hemsley
Peter Scott wrote: Here's the detail: We have two MySQL comasters (each is a master and a slave of the other). Traffic needs to arrive at only one machine at a time because otherwise conflicting simultaneous updates at each machine would cause a problem. If this is true then your database

Re: [Pacemaker] MySQL Master-Master replication with Corosync and Pacemaker

2012-01-26 Thread Peter Scott
On 1/26/12 5:25 AM, Dan Frincu wrote: Hi, On Thu, Jan 26, 2012 at 1:43 AM, Peter Scottpe...@psdt.com wrote: Hello. Our problem is that a Corosync restart on the idle machine in a 2-node cluster shuts down the mysqld process there and we need it to stay up for replication. We are very

Re: [Pacemaker] IP Range Failover with IPaddr2 and clone / globally-unique=true

2012-01-26 Thread Anton Melser
Thousands? In that case you should extend the IPaddr2 RA to support IP ranges and then handle all of them in a loop within the RA. If any of the IP addresses fails you'll need to report failure, so the complete range would have to be restarted. I knew that would be an option but I'm going to

Re: [Pacemaker] How to flush the arp cache of a router?

2012-01-26 Thread georg
You should be able to run any script you want using a lsb RA. Just make sure to write your init script to be LSB compliant: http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ap-lsb.html and this should work. Yes, I tried this already. This worked for me once with

Re: [Pacemaker] MySQL Master-Master replication with Corosync and Pacemaker

2012-01-26 Thread Peter Scott
On 1/25/2012 11:29 PM, Florian Haas wrote: Well if you just want to restart Corosync by administrative intervention (i.e. in a planned, controlled fashion), then why not put the cluster in maintenance mode before you restart Corosync? Cheers, Florian Good point. My concern was about whether

Re: [Pacemaker] MySQL Master-Master replication with Corosync and Pacemaker

2012-01-26 Thread gustavo panizzo gfa
On Thu, Jan 26, 2012 at 06:56:28PM -0800, Peter Scott wrote: mysql02 starts mysqld from init. do not start clustered services from init mysql01 starts mysqld from init. crm_mon says it is starting mysqld on mysql01. (I think it actually stopped and restarted mysqld on mysql01 but haven't