Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-14 Thread Vladislav Bogdanov
13.01.2012 13:04, Niclas Müller wrote: I've grouped both as www-services and not it is running like i want. Change to takeover is 4-6 sec. Its good, but I want to go to 1-3 sec as far as possible. Much process last will there not because I only made a Pacemaker runs monitor actions at a

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-13 Thread Niclas Müller
I've got it that apache and failover-ip runns on the cluster. I'm haning on the problem that hearbeat starts apache on node1 and failover-ip on node2 if both of them are running. Only if one node is offline, both resources are running on the online node. How can i say pacemaker - run this two

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-13 Thread Andreas Kurz
Hello, On 01/13/2012 08:39 AM, Niclas Müller wrote: Is it necessary to put services like drbd, apache or mysql into pacemaker as a resource ? It worked without that, but is it better to add this as a service ? If you want them to be highly available, means monitored and automatically

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-13 Thread Andreas Kurz
On 01/13/2012 10:34 AM, Niclas Müller wrote: I've got it that apache and failover-ip runns on the cluster. I'm haning on the problem that hearbeat starts apache on node1 and failover-ip on node2 if both of them are running. Only if one node is offline, both resources are running on the

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-13 Thread Niclas Müller
I've grouped both as www-services and not it is running like i want. Change to takeover is 4-6 sec. Its good, but I want to go to 1-3 sec as far as possible. Much process last will there not because I only made a Projekt for school with Linux HA, and faster takeover will be better for

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-13 Thread Maloja01
On 01/13/2012 11:04 AM, Niclas Müller wrote: I've grouped both as www-services and not it is running like i want. Change to takeover is 4-6 sec. Its good, but I want to go to 1-3 sec as far as possible. Much process last will there not because I only made a Projekt for school with Linux HA,

[Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-12 Thread Niclas Müller
I'm currently going to setup a Linux HA Cluster with apache and MySQL. I've created three VM with KVM Vitalization. One NetworkManager as DNS and DHCP Server, and two other as Cluster Nodes. All VMs are both Debian Squeeze minimal installations. On the Nodes i've installed the packages heartbeat

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-12 Thread Andreas Kurz
On 01/12/2012 10:22 PM, Niclas Müller wrote: I'm currently going to setup a Linux HA Cluster with apache and MySQL. I've created three VM with KVM Vitalization. One NetworkManager as DNS and DHCP Server, and two other as Cluster Nodes. All VMs are both Debian Squeeze minimal installations. On

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-12 Thread Niclas Müller
That the VirtualIP isn't shown by 'ifconfig -a' is realy nice, because i made my failed search on this because of this howto : http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster Im going to understand now all. I've configurated a resource for failover-ip from your link,

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-12 Thread Andreas Kurz
Hello, On 01/12/2012 11:29 PM, Niclas Müller wrote: That the VirtualIP isn't shown by 'ifconfig -a' is realy nice, because i made my failed search on this because of this howto : http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster You follow a howto from the year 2006?

Re: [Linux-HA] Resended : Understanding how heartbeat and pacemaker work together

2012-01-12 Thread Niclas Müller
Is it necessary to put services like drbd, apache or mysql into pacemaker as a resource ? It worked without that, but is it better to add this as a service ? On 01/13/2012 01:59 AM, Andreas Kurz wrote: Hello, On 01/12/2012 11:29 PM, Niclas Müller wrote: That the VirtualIP isn't shown