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
3
votes
2 answers

heartbeat: find out machine's status within a cluster?

I'm trying to do some heartbeat debugging. Is there a simple way to ask a machine whether it thinks it's part of a cluster, and whether it's the master or the slave? I've tried $ heartbeat -s But it only seems to print a very basic status -…
Richard
  • 133
  • 1
  • 3
  • 6
3
votes
1 answer

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 [node1] heartbeat[24829]: 2011/11/22_19:31:07 ERROR:…
Richard
  • 133
  • 1
  • 3
  • 6
3
votes
2 answers

Heartbeat tries to failover node but primary is still running

I have a primary-failover setup for HAProxy on two servers using Heartbeat. It has been running smooth for a while now. Today our service was down for a few minutes when the secondary server thought that the primary was down. It attempted to take…
Matt Beckman
  • 1,502
  • 18
  • 33
3
votes
1 answer

Heartbeat compared to CARP?

Provided I only require virtual IP (migrated between servers), is there any sense in using heartbeat, or CARP is enough?
SyRenity
  • 3,179
  • 11
  • 57
  • 79
3
votes
1 answer

Getting heartbeat to fallover when apache service fails

I've currently got heartbeat set up nicely on ubuntu linux server so that if the heartbeat service is not detected (either because the server is down or just the heartbeat service is down) it fallsover to the secondary server as described in a blog…
3
votes
3 answers

Linux Virtual IP Options

There seem to be lots of options in Linux to provide a virtual IP for failover between multiple hosts. Some that I have found are heartbeat, vrrpd, carp, and keepalived. In Linux I only have experience with heartbeat (and have used HSRP in Cisco).…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
2
votes
1 answer

Adding a deafult route during heartbeat handover on debian

We have a heartbeat handover that goes on between 2 firewalls out of one of our networks, the interface that the handover happens on has no IP set by default and only gets this IP when the handover happens. This also happens to be the default route…
johnstod
  • 23
  • 3
2
votes
1 answer

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 traffic going into and out of this environment is…
Decker
  • 123
  • 5
2
votes
1 answer

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 software. When i Prepare basic configuration with one…
Lisek
  • 309
  • 2
  • 7
  • 15
2
votes
1 answer

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] doesn't have setuid bit I installed the…
Robert
  • 1,302
  • 2
  • 10
  • 10
2
votes
1 answer

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 dump the output to a csv find.Essentially, i am…
2
votes
2 answers

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 openssl through rpm. When i have upgraded i have…
Huzefa
  • 65
  • 4
  • 13
2
votes
0 answers

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. During a system shutdown, this can stall the shutdown…
Stradigos
  • 121
  • 2
2
votes
1 answer

OpenVPN and heartbeat

I have several servers connected to OpenVPN and I want to make a simple IP failover with a heartbeat, but I can't figure out how to assign a virtual OpenVPN IP. Here is my config ha.cf on server1: keepalive 2 deadtime 10 udpport …
2
votes
1 answer

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 take over 10.15.1.52. This works perfectly and fails…
Ethan Hayon
  • 235
  • 1
  • 6
1 2
3
9 10