[Pacemaker] LCMC user guide

2011-11-28 Thread Rasto Levrinc
Hi, Here is a new LCMC user guide, well sort of: http://lcmc.sourceforge.net/lcmc-user-guide.html The LCMC is a great piece of software, only thing missing was a user guide. So I started to write one, but got bored after like two sentences every time and I couldn't simply do it. But good news is

Re: [Pacemaker] Fencing libvirt/KVM nodes running on different hosts?

2011-11-28 Thread Vladislav Bogdanov
28.11.2011 22:55, Andreas Ntaflos wrote: > Hi, > > Scenario: two physical virtualisation hosts run various KVM-based > virtual machines, managed by Libvirt. Two VMs, one on each host, form a > Pacemaker cluster, say for a simple database server, using DRBD and a > virtual/cluster IP address. Using

Re: [Pacemaker] colocation issue with master-slave resources

2011-11-28 Thread Patrick H.
Sent: Mon Nov 28 2011 15:27:10 GMT-0700 (MST) From: Andrew Beekhof To: The Pacemaker cluster resource manager Andreas Kurz Subject: Re: [Pacemaker] colocation issue with master-slave resources Perhaps try and ordering constraint, I may have also fixed something in this area for 1.1.6 so an u

Re: [Pacemaker] Fencing libvirt/KVM nodes running on different hosts?

2011-11-28 Thread Andrew Beekhof
On Tue, Nov 29, 2011 at 6:55 AM, Andreas Ntaflos wrote: > Hi, > > Scenario: two physical virtualisation hosts run various KVM-based > virtual machines, managed by Libvirt. Two VMs, one on each host, form a > Pacemaker cluster, say for a simple database server, using DRBD and a > virtual/cluster IP

Re: [Pacemaker] colocation issue with master-slave resources

2011-11-28 Thread Andrew Beekhof
Perhaps try and ordering constraint, I may have also fixed something in this area for 1.1.6 so an upgrade might also help On Tue, Nov 29, 2011 at 1:38 AM, Patrick H. wrote: > Sent: Mon Nov 28 2011 01:31:22 GMT-0700 (MST) > From: Andreas Kurz > To: The Pacemaker cluster resource manager > Subjec

Re: [Pacemaker] How to build Pacemaker with Cman support?

2011-11-28 Thread Andrew Beekhof
2011/11/28 Богомолов Дмитрий Викторович : > Thanks for your reply! > > > 28 ноября 2011, 03:54 от Andrew Beekhof : >> 2011/11/28 Богомолов Дмитрий Викторович : >> > Hello. >> > Addition. OS - Ubuntu 11.10 >> > I have  installed libcman-dev, and know in config.log I can see >> >> I'm pretty sure the

[Pacemaker] Fencing libvirt/KVM nodes running on different hosts?

2011-11-28 Thread Andreas Ntaflos
Hi, Scenario: two physical virtualisation hosts run various KVM-based virtual machines, managed by Libvirt. Two VMs, one on each host, form a Pacemaker cluster, say for a simple database server, using DRBD and a virtual/cluster IP address. Using Ubuntu 10.04 and Pacemaker 1.1.6, with Corosync 1.4.

Re: [Pacemaker] Cluster wide attribute

2011-11-28 Thread Yves Trudeau
On 11-11-26 05:29 PM, Andreas Kurz wrote: colocation writer_vip_coloc_master inf: ms_MySQL:Master writer_vip default is to use role from left resource ... writer_vip never has Master role use "writer_vip:Started" Ok, I'll try this. I did found an effective work around though. Regards

Re: [Pacemaker] colocation issue with master-slave resources

2011-11-28 Thread Patrick H.
Sent: Mon Nov 28 2011 01:31:22 GMT-0700 (MST) From: Andreas Kurz To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] colocation issue with master-slave resources On 11/28/2011 04:51 AM, Patrick H. wrote: I'm trying to setup a colocation rule so that a couple of master-slave res

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-28 Thread Takatoshi MATSUO
Hi Attila 2011/11/28 Attila Megyeri : > Hi Takatoshi, > > I understand your point and I agree that the correct behavior is not to start > replication when data consistency exists. > The only thing I do not really understand is how it could have happened: > > 1) nodes were in sync (psql1=PRI, psql

Re: [Pacemaker] Postgresql streaming replication failover - RA needed

2011-11-28 Thread Attila Megyeri
Hi Takatoshi, I understand your point and I agree that the correct behavior is not to start replication when data consistency exists. The only thing I do not really understand is how it could have happened: 1) nodes were in sync (psql1=PRI, psql2=STREAMING|SYNC) 2) I shut down node psql1 (by pla

Re: [Pacemaker] colocation issue with master-slave resources

2011-11-28 Thread Andreas Kurz
On 11/28/2011 04:51 AM, Patrick H. wrote: > I'm trying to setup a colocation rule so that a couple of master-slave > resources cant be master unless another resource is running on the same > node, and am getting the exact opposite of what I want. The master-slave > resources are getting promoted to

Re: [Pacemaker] PM 1.1.5- make errors -SOLVED!

2011-11-28 Thread Nikita Michalko
Hi Andrew, Problem solved: for some unclear reason were permissions on the first server for: /usr/lib64/heartbeat only "400" for root ! - so simple: chmod 755 /usr/lib64/heartbeat did the trick ... Thank you very much for your time! Nikita Michalko Am Montag, 28. November 2011 00: