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
2answers
422 views

Heartbeat cluster - issue resource(httpd) migration back to primary

We have given the following setting with corosync and pacemaker. crm configure rsc_defaults resource-stickiness="100" And it works fine when the primary server goes down. But it wont work revers, ...
1
vote
1answer
57 views

How would you set up multiple SSL terminating Haproxy instances, which are themselves load balanced?

I've been doing a great deal of research and experimentation on this, and I'm really running into a wall: I'm trying to set up HAProxy as the reverse proxy for a high-availability environment. All ...
17
votes
1answer
6k views

Which messaging layer to use, Heartbeat or Corosync?

Just about finished my research into setting up a web server cluster and I'm still undecided as to which messaging layer to use with Pacemaker. The servers I'm using are all Fedora so both layers are ...
1
vote
1answer
29 views

Corosync 2.3.3: Unable to enable cipher

I'm trying to set up a new pacemaker/corosync stack of 2 machines. I was using it before with corosync1, but on Ubuntu 14.04 I've got corosync 2.3.3 OK - I said, and tried to use this version of ...
0
votes
1answer
123 views

pgpool run and only log one line

I am using pgpool and when I run: sudo pgpool -f pgpool.conf -F pcp.conf -n It just log one line and keep waitting.... : 2014-10-09 13:27:42 LOG: pid 28626: wd_chk_setuid: ifup[/sbin/ifconfig] ...
0
votes
2answers
178 views

Centos 6.5 configuring HA cluster

I need to configure HA cluster using 2 computers. But I've got a problem, when I'm trying to start a heartbeat service it starts but throws an error. Here's the error message: Starting ...
1
vote
1answer
78 views

High Availability/Failover hardware hookup

I'm learning about clustering and high availability techniques, and stumbled upon an article about configuring a network with a pair of servers, using DRBD for replication and heartbeat for monitoring ...
0
votes
1answer
131 views

HA - Heartbeat / Pacemaker - CentOS - Manual Symlinks

I have a MySQL Master <> Master pair setup for HA. I would like to setup automatic failover not just if the node hosting the current write mysql instance goes down, but also if the mysql instance ...
9
votes
6answers
7k 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 ...
3
votes
2answers
8k 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? ...
3
votes
2answers
167 views

Importance of ha.cf file in a heartbeat/pacemaker environment?

I'm having a few issues trying to understand ha.cf and how the cluster picks up on updates. For example, when creating a new cluster, I usually: Set some default options in ha.cf on node 1 - node x ...
1
vote
0answers
144 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 ...
2
votes
1answer
1k views

Continuously check LDAP connectivity to Domain Controllers ( LDAP Heartbeat Check)

working on developing script which runs via schedule task ; whole purpose of it is to target few domain controllers and continuously(for every 2 sec) do a ldap query targeting that particular DC and ...
1
vote
1answer
77 views

Monitoring heartbeat centos

I am using HAproxy on two servers and for high availability using heartbeat and everything is okay, but I want to monitoring heartbeat I have a long search and get clustat command but can't find it on ...
1
vote
0answers
77 views

heartbeat doesn't work on virtual interface

I try to use vertual interface as broadcast for heartbeat(bcast in ha.cf). When I try it I see this message in syslog: May 23 12:17:26 Ubuntu2 heartbeat: [1107]: ERROR: glib: Error setting socket ...
1
vote
2answers
1k views

Openssl not getting updated to 1.0.1g in CentOS 6.2

After the heartbleed bug i have updated my openssl to 1.0.1g. But to my shock when today i see my server-status it shows me openssl version 1.0.1e that was vulnerable to Heartbleed. I have upgraded my ...
6
votes
3answers
3k views

Is there a way to force heartbeat to add new ip addresses to the system without a full restart?

We utilize heartbeat for High Availability. I'd like to add an additional ip address to the heartbeat cluster, but I don't want to do a full restart of the cluster in the process. Is there a signal ...
2
votes
1answer
924 views

multicast address use in corosync

I'm wondering about the purpose of the multicast address in the corosync messaging software : Since we have to bind each net interface with an IP address and a specific port, and each ring communicate ...
0
votes
1answer
149 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, ...
6
votes
2answers
6k 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.
0
votes
0answers
430 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
382 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
50 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
221 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
1answer
281 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 ...
7
votes
1answer
275 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
151 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 ...
4
votes
1answer
385 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
51 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
159 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
72 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
110 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
219 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 ...
0
votes
1answer
579 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
476 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
643 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
1k 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
497 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
475 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 ...
1
vote
0answers
1k 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
604 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
2k 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
422 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
168 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
157 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
757 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
92 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
460 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 ...
1
vote
1answer
868 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