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
1
vote
1 answer

linux heartbeat losing packets

I am using linux heartbeat to keep ldirectord running on my webservers. My logs show heartbeat WARN: 1 lost packet(s) every couple of minutes, and I'm having trouble figuring out why. I have tried altering DEADTIME and WARNTIME in /etc/ha.d/ha.cf,…
Brent
  • 22,857
  • 19
  • 70
  • 102
1
vote
1 answer

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 more clearly My setup: ---------VIP…
Jon Skarpeteig
  • 951
  • 2
  • 14
  • 29
1
vote
0 answers

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 2.6.18-308.13.1.el5PAE mysql version 14.14 Distrib 5.1.65, for…
Mandar Khire
  • 13
  • 1
  • 5
1
vote
1 answer

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. Anyway, the strange thing: # tail -12…
1
vote
1 answer

NFS failover WITHOUT DRBD?

So I am trying to set up a redundant NFS share in a cloud environment(all links internal, half gig links), and I am looking into using heartbeat for failover, but all the guides seem to be about combining DRBD and heartbeat to create a robust…
user439407
  • 155
  • 1
  • 6
1
vote
0 answers

How does Tomcat know, if an application is OK or NOK?

Apache webserver is talking to tomcat and putting him into error state, if he isn't reachable ("heartbeat") but also putting him into error state if the application has internal problems. Problems like a database, which can't be accessable etc. How…
TOM
  • 11
  • 1
1
vote
1 answer

Stop heartbeat from failing over on failures

I have 2 CentOS machines with Heartbeat. If node01 has a problem or reboots, node02 takes over -- this works. After node01 comes back up, node01 is no longer my primary which is great (node02 has taken over). But when I reboot node02, node01…
edotan
  • 1,876
  • 13
  • 39
  • 57
1
vote
2 answers

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 the job. I don't want that both application runs…
1
vote
1 answer

Linux HA - Best Heartbeat hardware solution

Hi all I would ask anyone what is the best layer 2 medium for heartbeat in Linux and how it's best configured. More precisely I've been thinking about a dedicated NIC for that purpose but then i thought that if a switch breaks then i would loose the…
Martino Dino
  • 1,145
  • 1
  • 10
  • 17
1
vote
0 answers

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 ip-10-130-83-33 node ip-10-130-71-107 SERVER…
Tampa
  • 338
  • 2
  • 8
  • 17
1
vote
1 answer

How to run multiple Heartbeat/Corosync/Pacemaker clusters in the same network? (Quorum)

We intend to run several components to run a web site. Like a load balancer, a cache and a couple of web serserves. To avoid single-points-of-failure we intended to use Heartbeat/Corosync/Pacemaker and instead of one load balancer just run two of…
Signum
  • 1,238
  • 1
  • 12
  • 14
1
vote
1 answer

Heartbeat ip failover on Ubuntu

I have 3 servers, 1 as load balancer and 2 as web-servers(apache tomcat) hosting some jsp pages. I want to add one more load balancer in active/passive mode to avoid SPOF and below is the expected setup. lb1--> eth0=123.123.123.123,…
user53864
  • 1,723
  • 11
  • 37
  • 66
1
vote
1 answer

Linux-HA + dm-multipath: path removal causes segfault, kernel null pointer dereference, and STONITH

well I am setting up a Linux-HA cluster running *pacemaker-1.1.5 *openais-1.1.4 *multipath-tools-0.4.9 *OpenSuSE 11.4, kernel 2.6.37 Cluster configuration passed healthcheck by LinBit, so I'm pretty confident in it. Multipath is being used because…
Kendall
  • 1,063
  • 12
  • 25
1
vote
1 answer

Heartbeat, linked VIPs

In Heartbeat, can I configure it so virtual IPs on different interfaces are linked together when it comes to failover? For example with: foo1 8.8.8.1/24/eth0 10.0.0.1/24/eth1 If eth0 were to fail, and cause foo2 to pick it up, the same would happen…
Kyle Brandt
  • 83,619
  • 74
  • 305
  • 448
1
vote
0 answers

Apache Balancer & Heartbeat

I'm using apache as a load balancer, I try to use heartbeat with it. To do this I have 2 load balancers with different IP adresses. This is my configuration : In the file /etc/ha.d/ha.cf : logfile /var/log/ha-log bcast eth0 keepalive 2 warntime…
tranen
  • 41
  • 1
  • 2