Re: [Pacemaker] Pacemaker-1.1.4, when?

2010-11-12 Thread nozawat
Hi Andrew, It is very good. I attach a patch for the time being. Regards Tomo 2010/11/12 Andrew Beekhof and...@beekhof.net Ah, silly me. After +iter-offset = 0; you need: +iter-values = NULL; On Fri, Nov 12, 2010 at 2:07 AM, nozawat noza...@gmail.com wrote: Hi Andrew,

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Dan Frincu
Hi, Ruzsinszky Attila wrote: You're not making sense, first you say MySQL Master-Master, then you mention master mysqld on clusterB and slave mysqld on clusterA. So, which one is it: Yes, it is true. If I stop openais and I start mysql without openais the config is M-M (or Multi-Master).

Re: [Pacemaker] making resource managed

2010-11-12 Thread Vadim S. Khondar
У ср, 2010-11-10 у 09:03 +0100, Andrew Beekhof пише: On Tue, Nov 9, 2010 at 2:14 PM, Vadim S. Khondar v.khon...@o3.ua wrote: У вт, 2010-11-09 у 09:49 +0100, Andrew Beekhof пише: being unmanaged is a side-effect of a) the resource failing to stop and b) no fencing being configured once

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
Hi, A MySQL Multi-Master architecture for a 2 node setup brings a lot of configuration and administration overhead and has no conflict detection or resolution. Integrating such a setup with Pacemaker only adds to the Yes, I found it. The real story: I want to learn clustering with a 2 node

Re: [Pacemaker] Pacemaker-1.1.4, when?

2010-11-12 Thread Andrew Beekhof
On Fri, Nov 12, 2010 at 11:19 AM, Nikola Ciprich extmaill...@linuxbox.cz wrote: it compiles well and doesn't crash, but seems to me like it misbehaves somehow... MS resources are not promoted properly or are suddenly marked as orphaned etc.. do the pe regression tests pass? On Fri, Nov 12,

Re: [Pacemaker] Pacemaker-1.1.4, when?

2010-11-12 Thread Andrew Beekhof
2010/11/12 Nikola Ciprich nikola.cipr...@linuxbox.cz: do the pe regression tests pass? Hi Andrew, how do I run PE tests? looking into regression directory, I'm a bit confused.. either pengine/regression.sh from the top of the source directory, or from somewhere under /usr/share/pacemaker

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Dan Frincu
Hi, Ruzsinszky Attila wrote: Hi, A MySQL Multi-Master architecture for a 2 node setup brings a lot of configuration and administration overhead and has no conflict detection or resolution. Integrating such a setup with Pacemaker only adds to the Yes, I found it. The real story: I

Re: [Pacemaker] Pacemaker-1.1.4, when?

2010-11-12 Thread Nikola Ciprich
(resent) 1.1.4 with new glib2: tests pass smoothly 1.1.4 + patch and older glib2 - all tests are segfaulting... ie: Program terminated with signal 11, Segmentation fault. #0 IA__g_str_hash (v=0x0) at gstring.c:95 95guint32 h = *p; (gdb) bt #0 IA__g_str_hash (v=0x0) at gstring.c:95 #1

[Pacemaker] Project updates

2010-11-12 Thread Andrew Beekhof
For those that aren't using RSS readers, I wanted to draw people's attention to a couple of updates that went out today. Nothing dramatic, just a new 1.0 release (and back-annoucement for some from 1.1): http://theclusterguy.clusterlabs.org/post/1551292286/pacemaker-release-roundup Also,

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
Hi, And now (officially) RHCS can also use Pacemaker http://theclusterguy.clusterlabs.org/post/1551292286 Nice. Yeah, like I said, Master-Master and Pacemaker without a proper resource agent will cause issues. Yes. big problems. Now let me explain this, a 2-node Multi-Master MySQL setup

Re: [Pacemaker] symmetric anti-collocation

2010-11-12 Thread Alan Jones
On Thu, Nov 11, 2010 at 11:31 PM, Andrew Beekhof and...@beekhof.net wrote: colocation X-Y -2: X Y colocation Y-X -2: Y X the second one is implied by the first and is therefore redundant If only that were true! What happens with the first rule is that other constraints that force Y to a node

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Dan Frincu
Hi, Ruzsinszky Attila wrote: Hi, And now (officially) RHCS can also use Pacemaker http://theclusterguy.clusterlabs.org/post/1551292286 Nice. Yeah, like I said, Master-Master and Pacemaker without a proper resource agent will cause issues. Yes. big problems. Now let me

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
The mysql RA controls a single MySQL instance and the rest of the HA setup is done via DRBD Master-Slave resources. OK. Thank you for your help. Ruzsi ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Dennis Jacobfeuerborn
On 11/12/2010 01:50 PM, Dan Frincu wrote: [SNIP] server. Even the LSB script doesn't handle a Multi-Master setup. You'd have to write a custom resource agent, and it would probably fit your setup and your setup alone, meaning it couldn't be widely used for other setups, I know I had to make some

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
Isn't a Multi-Master and DRBD a big no-no? It implies that two MySQL In this situation there isn't Multi-Master setup. It is just a normal single instance mysql process which will be switched by DRBD to active node. TIA, Ruzsi ___ Pacemaker mailing

Re: [Pacemaker] start filesystem like this is right?

2010-11-12 Thread Pavlos Parissis
On 12 November 2010 07:37, jiaju liu liujiaj...@yahoo.com.cn wrote: start resource steps step(1) crm configure primitive vol_mpath0 ocf:heartbeat:Filesystem meta target-role=stopped params device=/dev/mapper/mpath0 directory=/mnt/mapper/mpath0 fstype='lustre' op start timeout=300s  op stop

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 11:14 AM, Ruzsinszky Attila wrote: Hi, And now (officially) RHCS can also use Pacemaker http://theclusterguy.clusterlabs.org/post/1551292286 Nice. Yeah, like I said, Master-Master and Pacemaker without a proper resource agent will cause issues. Yes. big

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
I am pretty sure Linbit announced mysql RA with replication capabilities. Haven't seen documentation though. Any URL, or anything? Thanks, Ruzsi ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 1:11 PM, Ruzsinszky Attila wrote: I am pretty sure Linbit announced mysql RA with replication capabilities. Haven't seen documentation though. Any URL, or anything? http://lmgtfy.com/?q=linbit+mysql+replication Thanks, Ruzsi

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
http://lmgtfy.com/?q=linbit+mysql+replication OK. I found that webinar. There isn't any printed (readable) doc. :-( TIA, Ruzsi ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Vadym Chepkov
On Nov 12, 2010, at 1:22 PM, Ruzsinszky Attila wrote: http://lmgtfy.com/?q=linbit+mysql+replication OK. I found that webinar. There isn't any printed (readable) doc. :-( That's what I said - I didn't see it either. but if you you check the current RA: # crm ra meta mysql|grep ^replica

Re: [Pacemaker] 2 node failover cluster + MySQL Master-Master replica setup

2010-11-12 Thread Ruzsinszky Attila
That's what I said - I didn't see it either. but if you you check the current RA: OK, sorry. # crm ra meta mysql|grep ^replica replication_user (string): MySQL replication user replication_passwd (string): MySQL replication user password replication_port (string, [3306]): MySQL replication

[Pacemaker] understanding scores

2010-11-12 Thread Pavlos Parissis
Hi, I am trying to understand how the scores are calculated based on the output of ptest -sL and I have few questions Below is my scores with a line number column and the bottom you will find my configuration So, let's start 1 group_color: pbx_service_01 allocation score on node-01: 200 2

Re: [Pacemaker] symmetric anti-collocation

2010-11-12 Thread Alan Jones
I've looked into the code more and added more logging, etc. The pengine essentially walks the list of constraints, applying weights, and then walks the list of resources and tallies the weights. In my example, it ends up walking the resources backward, i.e. it assigns a node to Y and then assigns

Re: [Pacemaker] [Problem]Number of times control of the fail-count is late.

2010-11-12 Thread renayama19661014
Hi Andrew, Thank you for comment. It seems to be a problem that update of fail-count was late. But, this problem seems to occur by a timing. It affects it in fail over time of the resource that the control number of times of fail-count is wrong. Is this problem already