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

2012-02-09 Thread Yves Trudeau
Hi Mark, nothing happens to the VIP? As it is, the agent is not monitoring mysqld itself. In my case, I call mysqld_safe so the kill -9 would be handled. I am out for a few days, answers will be delayed until end of next week. Regards, Yves On 12-02-09 06:04 PM, Mark Grennan wrote: Y

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

2012-02-09 Thread Mark Grennan
Yves I've been testing the Master-Master / Pacemaker / MHA failover with some good results. Oddly, the one thing that is not happening is, if I just kill -9 mysql Pacemaker doesn't see it. Pulling the network cable works good. This is a really the worst thing to do. Pacemaker sees it and tu

[Pacemaker] remove scheduled action

2012-02-09 Thread gustavo panizzo
hi while seting up a 2 node cluster, one of the boxes was being used by app folks to prepare the app. i worked on the other node. the node being used was on standby or even corosync stopped. now my cluster config is done, but as soon as i start the stonith resources one of the nodes will be re

Re: [Pacemaker] heartbeat/nfsserver: is_bound function no longer works with current linux kernel

2012-02-09 Thread Dejan Muhamedagic
Hi, On Thu, Feb 09, 2012 at 01:41:33PM +0100, Eberhard Kuemmerle wrote: > Hi, > > my nfsserver resource is configured like that: > > primitive nfs ocf:heartbeat:nfsserver \ > params nfs_shared_infodir="/server/nfs_infodir" > > With older kernels, the bind mount produced by ocf:heartbeat:nf

Re: [Pacemaker] cLVM stuck

2012-02-09 Thread Andreas Kurz
Hello, On 02/09/2012 03:29 PM, Karl Rößmann wrote: > Hi all, > > we run a three Node HA Cluster using cLVM and Xen. > > After installing some online updates node by node While cluster was in maintenance-mode or when cluster was shut down on the node that received updates? > the cLVM is stuck,

Re: [Pacemaker] resource agents package linage

2012-02-09 Thread Dejan Muhamedagic
Hi, On Mon, Feb 06, 2012 at 10:06:42AM +1100, Andrew Beekhof wrote: > On Sat, Feb 4, 2012 at 8:37 AM, Larry Brigman wrote: > > I'm looking at the packages from clusterlabs.org > > and the RHEL6 package for > > resource-agents and find that there is a numbering conflict. > > Clusterlabs Pacemaker

Re: [Pacemaker] Proper way to migrate multistate resource?

2012-02-09 Thread Rasto Levrinc
On Thu, Feb 9, 2012 at 4:18 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Feb 07, 2012 at 01:54:44PM +0100, Lars Ellenberg wrote: >> On Mon, Feb 06, 2012 at 04:48:26PM -0800, Chet Burgess wrote: >> > Greetings, >> > >> > I'm some what new to pacemaker and have been playing around with a >> > numb

Re: [Pacemaker] Proper way to migrate multistate resource?

2012-02-09 Thread Dejan Muhamedagic
Hi, On Tue, Feb 07, 2012 at 01:54:44PM +0100, Lars Ellenberg wrote: > On Mon, Feb 06, 2012 at 04:48:26PM -0800, Chet Burgess wrote: > > Greetings, > > > > I'm some what new to pacemaker and have been playing around with a > > number of configurations in a lab. Most recently I've been testing a >

Re: [Pacemaker] [Linux-HA]I revised resource-agents of tomcat.

2012-02-09 Thread Dejan Muhamedagic
Hi Brett, On Thu, Feb 09, 2012 at 09:31:48AM +, Brett Delle Grazie wrote: > Hi Dejan / Tomo, > > Apologies for the long delay in response but I've been scratching my > head as to some of the patches > caused me some concern. > > Specifically: > 1) Patch #2 from the first link > (http://www.g

Re: [Pacemaker] Question about cluster start-up in a 2 node cluster with a node offline.

2012-02-09 Thread Andreas Kurz
Hello, On 02/08/2012 08:32 PM, James FLatten wrote: > Maybe someone can help me understand this behavior. I have a two node > cluster built using the "Cluster from Scratch" document. I am testing > various behaviors, one of which is to bring up the cluster services on > one node while it's partn

Re: [Pacemaker] MySQL-Cluster with Pacemaker

2012-02-09 Thread Yves Trudeau
Hi Andreas, with NDB, you have 3 types of node: SQL which is mysqld, Management running ndb_mgmd and data running ndbmtd. SQL and Management can be on the same physical host (cohosting) but you ideally need 2 for HA, the ndb_mgmd process is very small and low on resources. Data nodes, for H

[Pacemaker] cLVM stuck

2012-02-09 Thread Karl Rößmann
Hi all, we run a three Node HA Cluster using cLVM and Xen. After installing some online updates node by node the cLVM is stuck, and the last (updated) Node does not want to join the the cLVM. Two nodes are still running The xen VMs are running (they have there disks on cLVs), but commands like '

[Pacemaker] heartbeat/nfsserver: is_bound function no longer works with current linux kernel

2012-02-09 Thread Eberhard Kuemmerle
Hi, my nfsserver resource is configured like that: primitive nfs ocf:heartbeat:nfsserver \ params nfs_shared_infodir="/server/nfs_infodir" With older kernels, the bind mount produced by ocf:heartbeat:nfsserver and the mount of the base filesystem looked like that in /etc/mtab: /dev/map

Re: [Pacemaker] [Linux-HA]I revised resource-agents of tomcat.

2012-02-09 Thread nozawat
Hi Brett / Dejan >The string search is based upon the premise that every tomcat resource >agent must have a unique name. I think so, too. >If this name is used in the CATALINA_OPTIONS variable it will be >visible in the process table. >To be honest, I've never liked this and actually prefer the p

Re: [Pacemaker] Doc: Utilization and Placement Strategy

2012-02-09 Thread Andrew Beekhof
On Thu, Feb 9, 2012 at 6:38 PM, Gao,Yan wrote: > On 02/09/12 13:08, Andrew Beekhof wrote: >> On Thu, Feb 9, 2012 at 1:21 AM, Florian Haas wrote: >>> On Wed, Feb 8, 2012 at 3:09 PM, Dan Frincu wrote: I've reviewed both files and made some minor additions and fixed a couple of typos, oth

Re: [Pacemaker] Percona Replication Manager

2012-02-09 Thread Andreas Kurz
On 02/09/2012 09:34 AM, Stallmann, Andreas wrote: > Hi Mark and Yves, > > thank's for bringing the discussion to the mailing list. I felt a little bad > for flooding your blog with all my questions. :-) > > 1. @Yves: After setting "notify=true" for the mysql master/slave resource, > it works,

Re: [Pacemaker] [Linux-HA]I revised resource-agents of tomcat.

2012-02-09 Thread Brett Delle Grazie
Hi Dejan / Tomo, Apologies for the long delay in response but I've been scratching my head as to some of the patches caused me some concern. Specifically: 1) Patch #2 from the first link (http://www.gossamer-threads.com/lists/linuxha/dev/77116) This changes the 'status' check to a 'monitor' opera

Re: [Pacemaker] Percona Replication Manager

2012-02-09 Thread Stallmann, Andreas
Hi Mark and Yves, thank's for bringing the discussion to the mailing list. I felt a little bad for flooding your blog with all my questions. :-) 1. @Yves: After setting "notify=true" for the mysql master/slave resource, it works, thank's a lot! I really missed that bit. Damn, I should just hav

Re: [Pacemaker] MySQL-Cluster with Pacemaker

2012-02-09 Thread Stallmann, Andreas
Hi Yves, Ø NDB requires a minimum of 4 nodes for HA... I understood that in NDB-Cluster the concept of „nodes” has nothing to do with physical (or virtual) hosts but with running instances / processes. That’s at least, what can be derived from http://www.howtoforge.com/setting-up-a-loadbalanc