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).

learn more… | top users | synonyms

0
votes
1answer
31 views

Which technique should be chosen for IP failover with manual control

I have the following setup, Linux stack, with front-end running nginx proxy and static assets and back-end running Ruby on Rails and MySQL in master-master replication: Primary site: front-end.a, ...
5
votes
3answers
4k views

What is the difference between keepalive and heartbeat?

I want to structure a high available server cluster . Now I want to know detail about keepalive and heartbeat, what is the difference between both, and How to choice one.
9
votes
5answers
6k views

How do you automate failover on EC2?

Of the folks managing their own clusters (i.e. not using/paying for Amazon Autoscale, Rightscale, Scalr, etc.), how are you managing your instances on EC2 and handling (e.g.) failover? I'm wondering ...
0
votes
0answers
97 views

AWS VPC custom VIP: How to get a IP Address assumption to work across two EC2 VPC instances?

I created an AWS VPC and three instances therein (head, nodeA, and nodeB). I also associated them all with a security group that allows fully open networking among the private (RFC-1918) addresses ...
1
vote
2answers
105 views

Redis: Configuration Options for limiting key/value sizes?

My boss recently asserted, in conversation, that Redis supports some configuration options for controlling maximum key or key/value sizes ... so we could set some option to prevent our applications ...
1
vote
0answers
22 views

Ipfail ignores Heartbeats command to stop

I currently have two RHEL 6.4 servers running Heartbeat 2.1.3-3, DRDB, and Monit. Heartbeat refuses to shut down gracefully. The "ipfail" process will not listen to heartbeat's command to stop. ...
-3
votes
2answers
106 views

What is the best way to setup a heartbeat agent for failover between two VMs? [closed]

I have two VMs in VirtualBox that use NAT for their network adapters. They are both getting the same IP address, so I will need to reconfigure that; but knowing that, is it possible to set up a ...
0
votes
0answers
92 views

DRBD show StandAlone on Primary node after secondary node attach with it?

I am using Centos5.4 & DRBD8.2.6 heartbeat2.1.3 & one java program with Mysql & Asterisk1.6.2.6. On DRBD disk i put 2 service Asterisk & Mysql. SO if DRBD Disk not up both services ...
0
votes
1answer
177 views

Openvpn and heartbeat

I have several servers connected to openvpn and I want to make simple ip failover with heartbeat, but I can't figure out how to assign virtual openvpn ip. Is it possible to configure heartbeat in ...
1
vote
2answers
6k views

crm command(cluster managment for pacemaker) not found in latest Centos 6

I have done such setup before, was no any issues. Now i can't do "crm configure" becuase no crm command availible in current package. Am I missing something? Maybe it replaced by other way/command? ...
0
votes
0answers
81 views

Timeout on heartbeat STONITH (IPMI fencing)

I am managing a two node heartbeat DRBD+MySQL+FreeRADIUS cluster. I am currently using external/ipmi fencing as my STONITH solution. However, I am running into a problem where the primary node has a ...
0
votes
0answers
38 views

heartbeat ip failover not working

I followed tutorial from this link. If I stop heartbeat service, the other node will take the virtual ip and bind http to that ip. But if I disconnect the network or turnoff power of currently active ...
7
votes
1answer
180 views

Heartbeat meatware STONITH on kernel panic

I have a two node cluster with heartbeat and DRBD managing a mysql resource. The failover works great if I halt the primary, reboot it, or disconnect the network connection. However, if the primary ...
0
votes
1answer
107 views

Heartbeat is not running on centos?

i'm install on centos CRITICAL: Resource IPaddr::192.168.137.20/24/eth0 is active, and should not be! fix: remove alias /etc/network/interface but i'm not find link /etc/network/interface on ...
0
votes
0answers
119 views

heartbeat 3 nodes don't see eachother

So I've got two ubuntu VM nodes running heartbeat3 hooked up via a switch and a crossover cable. After starting both nodes, they both take over the shared VIP in my haresources file and the logs show ...
3
votes
1answer
243 views

Relation between Heartbeat and Corosync on openSUSE

I'm moving a Heartbeat + Pacemaker setup to openSUSE 12.1. It turns out that Heartbeat isn't supported on this platform anymore, and therefore it is not available from the official repos. Switching ...
0
votes
0answers
41 views

DRBD mount randomly unmounts itself

We have setup setup an NFS HA "cluster" using drbd/heartbeat. Everything works as expected when tested... If the instance nfs1 goes down, nfs2 picks up and everything seems to be fine. On both ...
0
votes
0answers
105 views

configure heartbeat HA on Amazon VPC instance

I'm trying to implement HA with Heartbeat (and monit) on two Amazon VPC instances. I read many articles about it and I tried all possible options I can think of. few articles I read (don't work for ...
0
votes
1answer
50 views

Heartbeat with two machines each different network

I am able to configure the heartbeat for two machines at same network. Properly set&configure ha.conf and haresources. I would like to know how I can establish same configuration for two machines ...
0
votes
1answer
96 views

Make heartbeat check MySQL replication lag before resource takeover

I am using heartbeat with MySQL master-master configuration, and using mon to check up on MySQL health. All works well for detecting downed host or broken MySQL. But the problems start after takeover, ...
1
vote
1answer
187 views

SSL Session Persistence - HA Heartbeat

I have two servers, let's call them Milo and Otis. Now Milo and Otis are setup to be an active-passive pair of highly available servers where Milo is usually the master and Otis stands-by waiting for ...
1
vote
0answers
107 views

HAProxy Redundancy, is it possible

I've read through this question, Is it possible to make redundancy on HAProxy server?, and I'm using hearbeat to do my redundancy. My redundant server DOES indeed come alive and answer on the virtual ...
0
votes
1answer
302 views

Howto setup 3-node heartbeat cluster?

I want to set up a virtual IP on three nodes using heartbeat. Currently, I have this: ha.cf: # Facility to use for syslog()/logger (alternative to log/debugfile) logfacility local0 # ...
1
vote
0answers
383 views

Trying to get heartbeat to work on ec2 on ubuntu 64

I am trying to get heartbeat to work on ec2. I followed the steps in this blog post. SERVER1 autojoin none ucast eth0 175.41.181.175 warntime 5 deadtime 15 initdead 60 keepalive 2 crm respawn node ...
0
votes
1answer
437 views

Heartbeat removes default gateway

I'm setting up 2 mailservers (Postfix) with heartbeat failover & drbd shared maildirs. For some reason, when starting the heartbeat, the default gateway is lost. Any idea how / why this happens ...
2
votes
1answer
975 views

heartbeat: Bad nodename in /etc/ha.d//haresources [node1]

I'm trying to start heartbeat on Ubuntu 10.04 with service heartbeat start, but getting the following errors: heartbeat[24829]: 2011/11/22_19:31:07 ERROR: Bad nodename in /etc/ha.d//haresources ...
0
votes
2answers
1k views

configure Heartbeat on Centos Linux - error message

I installed Heartbeat on my Centos Linux and it seems to partially work..but I'm trying to monitor a service with no success. only when I reboot the main server the backup server takes over. in the ...
0
votes
1answer
379 views

Heartbeat active/passive not working

I've installed Heartbeat in two CentOS 6.2 machines which are running http service. I want these machines to be in Active/Passive state. I want only one machine to be active. Here's my ha.cf file: ...
1
vote
0answers
372 views

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 ...
0
votes
0answers
643 views

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 <node name> which returns various values ...
1
vote
1answer
416 views

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 ...
3
votes
1answer
1k views

Heartbeat won't successfully start up resources from a cold boot when a failed node is present

I currently have two ubuntu servers running Heartbeat and DRBD. The servers are directly connected with a 1000Mbps crossover cable on eth1 and have access to an IP camera LAN on eth0. Now, let's say ...
1
vote
1answer
222 views

could heartbeat v3 monitor service/resource status without pacemaker?

I am trying to setup a HA system based on CentOS, I want to use heartbeat v3 for the "heartbeat" mechanism, resource start/stop, looks heartbeat can get it done. But about the resource status, ...
0
votes
1answer
142 views

does heartbeat v3 support same resource agent types of pacemaker?

As we know, Pacemaker supports three types of Resource Agents,  LSB Resource Agents,  OCF Resource Agents,  legacy Heartbeat Resource Agents http://www.linux-ha.org/wiki/Resource_Agents ...
0
votes
0answers
125 views

Delay in heartbeat service to be started on other server

I am using the heartbeat configuration on two of my servers as it is recommended. This is my heartbeat configuration file. auto_failback on <br> logfile /var/log/ha-log <br> logfacility ...
0
votes
1answer
303 views

Could not start heartbeat

I am having following erro when starting heartbeat. What is the problem? # service heartbeat start Starting High-Availability services: IPaddr[16856]: INFO: Running OK ...
1
vote
1answer
84 views

DBRD dual primary Heartbeat resource management

I have the following setup: Two servers with DRBD running dual primary with OCFS2 Heartbeat with two virtual ips, one for each server Round robin DNS to load balance NFS across the two vIPs ...
0
votes
2answers
215 views

can heartbeat notice a stopped service and re-start it

I have two nodes, the complete IP failover works for them very well - when node 1 is down, node 2 grabs the IP and starts services. What i would love to know is: if the server 1 does not crash ...
0
votes
1answer
417 views

Force heartbeat change active node

Is there a way to force heartbeat change active node? Or may be force to node to release resources so that one of other node take it. Ubuntu 12.04 Heartbeat
2
votes
1answer
302 views

Linux HA Heartbeat Virtual IP Switching with domain name linked to it

I have heartbeat set up on two servers like so: Master: 10.15.1.50 Backup: 10.15.1.51 (Virtual IP: 10.15.1.52) So, the master always has 10.15.1.52 as well, but if it goes down, the backup will ...
0
votes
1answer
139 views

Configure DRBD and Heartbeat on Cpanel

I am working to setup a high availability cPanel server. I have two servers on same data center. The cPanel server has got 150 websites and 15 ip addresses where 1 is main shared ip and 14 other ...
1
vote
1answer
186 views

How to set up Heartbeat to run a service only at one node

I have two Ubuntu 12.04 servers, which run mysql in a master-master setup, with mmm as manager. How can I set up heartbeat to make sure that mmm only runs at one node at the time? *Edit to explain ...
2
votes
5answers
577 views

DRBD with MySQL

Question about using DRBD to provide HA for MySQL. I need to be sure that my backup MySQL instance is always going to be in a functional state when the failover occurs. What happens, for example, ...
1
vote
0answers
137 views

DRBD heartbeat's resource role trouble in centos 5.4 by mysql files owner change?

I am using 2 machines with centos,mysql,drbd,heartbeat,asterisk. node 1 has hdc :SAMSUNG HD160JJ/P, ATA DISK drive kernel version 1 SMP Tue Aug 21 17:50:26 EDT 2012 kernel release ...
3
votes
3answers
1k views

Start heartbeat automatically on reboot?

Newbie question, sorry - I've been googling 'start automatically on reboot ubuntu' and the like, but I'm not sure I've found the definitive answer. I'm using Ubuntu 10.04 and I would like to make ...
1
vote
1answer
1k views

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 ...
1
vote
2answers
258 views

Linux High Availability

I have two Linux Active/Passive nodes on which i have the same simple processing application(not webapp). I just need to have a HA cluster when one machine is down the application on the second takes ...
0
votes
1answer
106 views

Heartbeat should not shut down spare webserver

I have a simple heartbeat setup that watches my 2 servers and transfers the ip public to another server in case of a crash /etc/heartbeat/haresources server1 192.168.1.203 nginx However I would ...
1
vote
1answer
445 views

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 ...
0
votes
1answer
302 views

NFS exportfs spamming logs. Is this a broken setup?

I have a NFS server running Ubuntu 10.04, serving an OCFS2 filesystem. The setup is somehow complicated because the server has Heartbeat and Pacemaker installed to make a cluster with another server. ...