[Linux-HA] DRBD MC 0.7.9 / Pacemaker GUI

2010-08-12 Thread Rasto Levrinc
Hi, This is the next DRBD MC beta release 0.7.9. DRBD MC, is a Java application that helps to configure DRBD and Pacemaker. You can start DRBD MC on your workstation and connect to the cluster via SSH. DRBD MC is compatible with Heartbeat 2.1.3 to the Pacemaker 1.1.2 with Corosync or Heartbeat

Re: [Linux-HA] Question about grouping with a clone inside group ?

2010-08-12 Thread Alain.Moulle
Hi , this is not really true when grouping about with a clone, is it ? and if we remove the colocation configuration, I think there will be no failover of the group1 in the case clone-fs1 disappears , right ? ... but I've made some progress about this and there is something strange that experts

Re: [Linux-HA] Question about grouping with a clone inside group ?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 10:05:45AM +0200, Alain.Moulle wrote: Hi , this is not really true when grouping about with a clone, is it ? and if we remove the colocation configuration, I think there will be no failover of the group1 in the case clone-fs1 disappears , right ? ... but I've

Re: [Linux-HA] time to fork heartbeat?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Wed, Aug 11, 2010 at 05:28:27PM -0600, Greg Woods wrote: On Thu, 2010-08-12 at 00:38 +0200, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 09:53:01PM -, Yan Seiner wrote: Heck, it really should just take two things: 1. IP of remote computer 2. Device to use

[Linux-HA] Does this maintenance plan make sense

2010-08-12 Thread Igor Chudov
As some of you may know, I run a simple two node cluster. After much trouble getting one node to start when both reboot, I think that I have it under control with the ugly hack described yesterday. Both run Ubuntu Lucid. I am now trying to wrap up this task by 1) Adding scheduled system

Re: [Linux-HA] Question about grouping with a clone inside group ?

2010-08-12 Thread Alain.Moulle
Hi Dejan , pacemaker-1.1.2-2 ok, but in later versions, it will work as I would like ? meaning that all clone-fs will be started on both sides whatever the node where the group is active ? Thanks for precision. Alain Which version do you run? If it's not a recent post 1.1.2, then clones don't

[Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Peter Sylvester
Hey there guys. Today I'm going to start over with a couple of fresh VMs and try to get pacemaker going with heartbeat. I haven until the end of the day tomorrow to get this up and running before my client says we'll just go back to using heartbeat. As a note I should state that I am a MySQL

Re: [Linux-HA] time to fork heartbeat?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Wed, Aug 11, 2010 at 05:22:56PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 03:59:34PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 02:44:36PM -0700, David Lang wrote: I

Re: [Linux-HA] Question about grouping with a clone inside group ?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 04:28:24PM +0200, Alain.Moulle wrote: Hi Dejan , pacemaker-1.1.2-2 That sounds like quite recent. There was an important patch at the end of May. What does /usr/lib/heartbeat/crmd version say? ok, but in later versions, it will work as I would like ? meaning

Re: [Linux-HA] slave promoted to master does not auto mount?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 12:25:14PM +1200, Craig Hurley wrote: Hello, I have a two node cluster running pacemaker/heartbeat and drbd which is replicating an ext3 disk. Everything works with the following exception, when the master node fails and the slave node is promoted to master,

Re: [Linux-HA] Service FLAP LVM LOCK at boot

2010-08-12 Thread Alessandra Giovanardi
I created an init script which: - controls the VG defined in the cib.xml file - disables them the problem is solved. Thanks Alessandra Michele Codutti wrote: There isn't a perfect solution for this problem but only a workaround. You must wrote a LSB init script that disables the VG's that

[Linux-HA] failover and failback performance

2010-08-12 Thread Tim Pickard
Hi all, I have a pair of machines I am going to deploy as a proxy/smtp/dns server. These are RHEL 5.5 with heartbeat 2.1.4-11.el5. They are set up with machine A as the primary for virtual IP x.x.x.29 in the haresources. machinea.domain.com x.x.x.29 In simple testing, machine A network is

Re: [Linux-HA] failover and failback performance

2010-08-12 Thread Tim Pickard
We have rebooted both at the same time. They do come up as expected with the primary holding the virtual IP. I did bang my head on the learning curve and each node had its own name in the haresources so they each grabbed the IP. That is not the case now. It performs as I expect it to perform

Re: [Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 10:38:40AM -0400, Peter Sylvester wrote: Hey there guys. Today I'm going to start over with a couple of fresh VMs and try to get pacemaker going with heartbeat. I haven until the end of the day tomorrow to get this up and running before my client says we'll just

Re: [Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Peter Sylvester
All, I've had a litel success this morning. I have 2 servers that are now recognized as nodes by crm_mon, which is the furthest I've gotten in several days. My next task is to get them to use a VIP, and to get them to monitor eachother and MySQL. I'm currently reading through the pacemaker

Re: [Linux-HA] Am I even on the right track here with Heartbeat?

2010-08-12 Thread Dimitri Maziuk
On Wednesday 11 August 2010 23:29, Greg Woods wrote: On Wed, 2010-08-11 at 20:01 -0500, Dimitri Maziuk wrote: That aside, the real problem for me is I haven't seen V2-style docs that actually made sense yet. I found the clusterlabs documents useful, but I too had to learn much through the

Re: [Linux-HA] time to fork heartbeat?

2010-08-12 Thread David Lang
On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 05:22:56PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 03:59:34PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at

Re: [Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Peter Sylvester
I had checked that pdf before but didn't think to check it again now that CRM is actually working. This helped me get a VIP up and running between my 2 nodes. Now I need to get MySQL going. One would presume by looking at this command to add httpd as a resource... crm configure primitive

Re: [Linux-HA] time to fork heartbeat?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 12:09:40PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 05:22:56PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 03:59:34PM -0700, David Lang wrote: On Thu,

Re: [Linux-HA] Am I even on the right track here with Heartbeat?

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 12:29:10PM -0500, Dimitri Maziuk wrote: On Wednesday 11 August 2010 23:29, Greg Woods wrote: On Wed, 2010-08-11 at 20:01 -0500, Dimitri Maziuk wrote: That aside, the real problem for me is I haven't seen V2-style docs that actually made sense yet. I

Re: [Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Dejan Muhamedagic
Hi, On Thu, Aug 12, 2010 at 03:18:51PM -0400, Peter Sylvester wrote: I had checked that pdf before but didn't think to check it again now that CRM is actually working. This helped me get a VIP up and running between my 2 nodes. Now I need to get MySQL going. One would presume by looking at

Re: [Linux-HA] Am I even on the right track here with Heartbeat?

2010-08-12 Thread Les Mikesell
On 8/12/2010 3:08 PM, Dejan Muhamedagic wrote: It's that heartbeat project was split into resource manager and communications layer so we're not supposed to use heartbeat (-3.0.3) anymore, right? Heartbeat works with Pacemaker. I mean, the other way around. We're supposed to use this new

Re: [Linux-HA] slave promoted to master does not auto mount?

2010-08-12 Thread Craig Hurley
On 13 August 2010 03:28, Dejan Muhamedagic deja...@fastmail.fm wrote: cr...@alpha:~$ sudo crm configure show node $id=9f30b106-0f96-483c-9976-5eded7c810df alpha node $id=c1f2d7c5-f66d-4dab-8da3-bb10bc6f2046 bravo primitive drbd_disk ocf:linbit:drbd \       params drbd_resource=r0 \       op

Re: [Linux-HA] Starting over with Pacemaker / hoping to make some docs

2010-08-12 Thread Peter Sylvester
Ok, so I've got pacemaker and heartbeat going, I have mysql installerd, pacemaker is set to have a VIP and mysql. I can fail back and forth between the two servers with no problems. The two resources are configured to work together to make sure they don't end up on seperate boxes. In short, a

Re: [Linux-HA] Am I even on the right track here with Heartbeat?

2010-08-12 Thread Dimitri Maziuk
On Thursday 12 August 2010 15:08, Dejan Muhamedagic wrote: On the plus side, there are more people available creating the mess. Right. So forking off another heartbeat looks like just the ticket. What I'd like is a document that says 1. Corosync is the comms component. Install 1.2.3 rpm from

Re: [Linux-HA] time to fork heartbeat?

2010-08-12 Thread Lars Ellenberg
On Thu, Aug 12, 2010 at 01:31:28AM +0200, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 03:59:34PM -0700, David Lang wrote: On Thu, 12 Aug 2010, Dejan Muhamedagic wrote: On Wed, Aug 11, 2010 at 02:44:36PM -0700, David Lang wrote: haresources2cib.py is obsolete and probably produces a

Re: [Linux-HA] Am I even on the right track here with Heartbeat?

2010-08-12 Thread Skip Carter
Igor, On Wed, 11 Aug 2010 15:12:32 -0500 Igor Chudov ichu...@gmail.com wrote: At this point, I am beginning to have my doubts about this whole heartbeat system and its ability to serve for years, in what looks to me like simple configuration. Even more than the fact that it does not