Questions tagged [heartbeat]

heartbeat was initially developed by Alan Robertson. Later SuSE got into as well (Lars Morowski). It started as a simple two-node-cluster with ASCII-configuration files (v1-syntax) and developed into a complex cluster with xml-configuration (v2).

This wikipedia-entry explains it further

143 questions
2
votes
1 answer

How does Heartbeat determine when to switch to the secondary? Can you force it to switch?

I've been trying to understand exactly how Heartbeat works - I understand how when one server dies, it switches to the backup. But, for me, it also switches when the primary has a large increase in workload. But, it doesn't always switch at the same…
Luke Shaheen
  • 111
  • 1
  • 2
  • 9
2
votes
0 answers

How to check which node is the master with heartbeat?

I need to know which machine is the current active node in an active(1)-passive(n) cluster. Reading the docs I could come up with cl_status rscstatus which returns various values that are not that precise (all, transition, foreign,…
2
votes
0 answers

Heartbeat is not claiming the resources

I am trying to build a dynamic cluster of machines that have to communicate with the master node (for reporting, updates and various other tasks that are to be dealt with by the master node). For convenience I thought of using the heartbeat project…
2
votes
1 answer

How to setup heartbeat for IP fail over on SSH failure

I wonder if anyone can help me, I am trying to setup heartbeat on a redhat 5 to failover an IP address when ssh stops responding on a server. So basically you ssh to a VIP and then get put through which ever server has the floating ip. …
Tony
  • 311
  • 4
  • 11
2
votes
1 answer

IP failover on different subnets

I have two real servers, on different subnets, each one with a permanent IP, and with a failover IP that can be used by either server. The hoster provides an API with which I can assign the failover IP to any of the servers. So I need to run a…
2
votes
1 answer

IP failover with 2 nodes on different subnet: cannot ping virtual IP from second node?

I'm going to setup redundant failover Redmine: another instance was installed on the second server without problem MySQL (running on the same machine with Redmine) was configured as master-master replication Because they are in different subnet…
quanta
  • 51,413
  • 19
  • 159
  • 217
2
votes
1 answer

Heartbeat is giving me a heartache

I have 2 Ubuntu 11.04 VM's on which i have installed Heartbeat + apache2 to achieve a "high availability" setup. Heartbeat is up and running on both but im not able to ping the Virtual IP (cluster ip) From the guide which i followed Heartbeat is…
Nel
  • 179
  • 1
  • 11
2
votes
1 answer

Change hostname on linux ha failover case

I have configured two machines to do a warm standby so that machine 2 can take the ip of machine 1 if that should fail and become its replacement. sadly, thats not enough, i need to change the hostname/fqdn too because some software relies on the…
bash
  • 21
  • 1
2
votes
1 answer

Pacemaker virtual IP and IPTables

I'm attempting to set up a cluster of two VMware VMs running Heartbeat, Pacemaker and Varnish on Ubuntu Server 10.04, with the intent of using them as a main and backup loader balancer to further VMs. Varnish is working fine, and Heartbeat is…
jetboy
  • 912
  • 2
  • 11
  • 25
2
votes
3 answers

Varnish & Heartbeat as loadbalancers

Here is the set up I am trying to accomplish So, what I'm trying to accomplish is: a user goes to 10.0.0.1 it passes it to whichever loadbalancer is managing the requests. I then want varnish actually to handle the request. Here is my ha.cf…
lilott8
  • 496
  • 5
  • 14
2
votes
1 answer

Linux heartbeat: which one becomes master?

Suppose I confiugred 2 machines to be active/passive with the linux heartbeat and pacemaker, then I create a resource group in node1, commit it. If I am correct the configuration will be propagated to node2. The resource group is going to monitor…
Bin Chen
  • 165
  • 4
2
votes
3 answers

DRBD / Heartbeat on Virtual Machines

Does anyone have experience configuring drbd with heartbeat between 2 virtual linux machines (VMWare Infrastructure)? The problem I am running into is that heartbeat likes multiple data paths to see its peer node. For instance, it likes to have a…
Brent
  • 22,857
  • 19
  • 70
  • 102
2
votes
2 answers

Heartbeat on SLES 11

I am trying to setup Linux-HA (Heartbeat) on a new SLES 11 Server anyone know of a good step-by-step for this the site's docs leave a little to be desired... Thanks!
Autobyte
  • 171
  • 3
  • 8
2
votes
2 answers

Unexpected start of already-primary server processes when heartbeat on secondary is stopped

I've got an active-passive Heartbeat cluster with Apache, MySQL, ActiveMQ and DRBD. Today, I wanted to perform hardware-maintenance on the secondary node (node04), so I stopped the heartbeat service before shutting it down. Then, the primary node…
Ger Apeldoorn
  • 565
  • 3
  • 10
1
vote
1 answer

drdb giving error when being restarted in the configuration process

I am setting up HA following this tutorial https://www.howtoforge.com/tutorial/ubuntu-drbd-heartbeat-high-availability/ but when i try to sudo systemctl restart drbd after sudo drbdadm create-md r0 it fails to restart and gives me error IP…
Perovic
  • 21
  • 2