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

Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

Configuring and rotating logs for Apache lbmethod_heartbeat module

The problem I'm having is a log file growing and using all available disk space on the server. The server is RHEL on AWS EC2. The file causing problems is located in /tmp/systemd-private-*-httpd....
its4net's user avatar
0 votes
0 answers
241 views

How to use Apache resource by HTTPS in pacemaker?

I have a problem when i change apache url to HTTPS. Before the change every this working fine with http. Now my company need to use the Virtal ip by HTTPS. so that i didn't find any suitable tutorial ...
Karippery's user avatar
0 votes
0 answers
483 views

DRBD node 2 doesn't become primary when node 1 restarts heartbeat but becomes Secondary/Secondary

I have an issue with heartbeat & drbd deployment for MySQL with 2 nodes on ubuntu 18.4. It used to work fine, but now it seems like its working, node1 has floating IP, MySQL runs on node1,drbd ...
Perovic 's user avatar
1 vote
1 answer
96 views

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 ...
Perovic 's user avatar
1 vote
0 answers
171 views

Route traffic through floating ip

I have a (kubernetes) cluster (3 servers, ips 172.20.10.[10,11,12]), and between them their is 1 floating ip (172.20.10.20). My provider has an 1:1 NAT for an dedicated public ip to the floating ip. ...
Igor Zulcão's user avatar
1 vote
1 answer
1k views

Does Splunk have a "heartbeat" feature?

I run an application with fairly chatty logs, which we are forwarding to Splunk. Users are building custom alerts (as well as searches and even dashboards) for themselves. We are increasingly relying ...
Mikhail T.'s user avatar
  • 2,377
-2 votes
1 answer
99 views

Heartbeat node that was kicked out doesn't rejoin virtual IP service [closed]

We have a 2-node heartbeat cluster that servers a virtual IP. Previous due to an error, the network interface for node1 died and resulted in the cluster kicking node1 from the virtual IP party. Now ...
user121392's user avatar
1 vote
1 answer
311 views

Is it possible to maintain a configuration of an arbitrary resource using pacemaker cluster

What I understood is that with resource agents (which are exactly same on all nodes), pacemaker can start/stop resource on any node. But can we also use it to sync a configuraton file in all nodes in ...
GP92's user avatar
  • 741
1 vote
1 answer
3k views

Configuring Heartbeat to run shell script

I set up a high availability system with Heartbeat, I wish that when there was a drop in the main cluster and the secondary cluster was activated, Heartbeat start in it and execute a shell script. ...
Alessandro Cardoso's user avatar
1 vote
0 answers
545 views

How to determine Master priority in HA cluster based on connected interfaces

I want to make a DRBD cluster of 2 servers. Both have 2 interfaces bonded together. I want to be able to determine the master role based on connection metric. i.e how many of the network interfaces ...
bakasan's user avatar
  • 103
2 votes
1 answer
1k views

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 ...
johnstod's user avatar
0 votes
0 answers
2k views

How to get Pacemaker to restart services in a group

I have a setup with 2 machines with Pacemaker and Corosync installed. There I have a PostgreSQL Master/Slave Set running. The Master has a resource Group with a Virtual IP and two additional services ...
juwi's user avatar
  • 571
-1 votes
1 answer
1k views

HAProxy / Heartbeat - multiple floating IPs

I have successfully PoC'd the use of two HAProxy servers w/ heartbeat to load balance traffic between two squid servers with pass through Kerberos authentication in our shared services office. I've ...
MasterOfNothing's user avatar
5 votes
2 answers
343 views

How to suppress a Heartbeat resource from starting in failover data center?

I have a pair of CentOS Linux servers in each datacenter. They have failover within each datacenter, managed by heartbeat and DRBD (I know these are outdated tools, but they are stable, so there's no ...
Bill Karwin's user avatar
0 votes
1 answer
562 views

Can I do the GlusterFS setup with a LB or heartbeat service in SLES 12? If yes, How?

I've installed GlusterFS on Suse 12 with 2 VMs & 2 replica. When one server goes down it doesn't failover to the 2nd IP automatically. Can I do the same with a loadbalancer or heartbeat service? ...
ARUN's user avatar
  • 1
0 votes
1 answer
509 views

How does Heartbeat CRM identify the node to be shot down in a cluster?

I am trying to understand the Heartbeat setup in a new environment. It is a 2-node cluster that is still using Version 1 of Heartbeat (the one that does not use Pacemaker CRM) and I have a fundamental ...
Sreeraj's user avatar
  • 464
-1 votes
1 answer
488 views

Set default route to virtual ip

I have a Virtual private cloud running on 10.0.0.x. In this network two machines share a virtual ip to provide HA and connection to the internet via aaa.bbb.ccc.164. There configs are: Proxy1: eth0:...
Emiel Lohr's user avatar
0 votes
1 answer
1k views

Debian Heartbeat IP Configuration

I need to setup a heartbeat with pacemaker based on debian OS where the active server virtual IP is 192.168.1.10 and the passive server virtual IP is 192.168.1.11. Both of the server is connected to a ...
John's user avatar
  • 1
1 vote
1 answer
2k views

Using heartbeat with systemd

I'm using a simple setup with heartbeat handling a shared filesystem implemented with drbd and served via apache. I'm using /etc/ha.d/haresources to define the ha resource, this way: server1 drbddisk:...
Alessandro Polverini's user avatar
1 vote
1 answer
105 views

heartbeat turn on a third network card

I am trying to read the configuration of haresources of heartbeat to see how can I make this possible. I have an IP given by my ISP and my servers are running heartbeat. So I want to turn on a ...
Juan Diego's user avatar
0 votes
0 answers
172 views

How to turn off and on heartbeat service when haproxy is turned off and on?

I'd like the heartbeat service to turn off before haproxy is stopped and to turn on before it starts on a Ubuntu 14.04 Server. What is the best way to accomplish this? I'm sure one of these days I'm ...
flickerfly's user avatar
  • 2,793
0 votes
0 answers
214 views

Can't start service zimbra on heartbeat

i want to start zimbra service with heartbeat on haresource file. but it cant start zimbra service after boot. im using centOs, this is my haresource file: node1.lol.net IPaddr::192.168.1.99/24/eth0:...
rom hources's user avatar
0 votes
1 answer
4k views

HAProxy + Heartbeat cluster active/active?

I have 2 servers running HAProxy to load balance some web servers and database servers with Heartbeat to cluster them in active/passive mode. At the moment, if the active server dies then the passive ...
Phong Đặng's user avatar
0 votes
1 answer
821 views

HAProxy - Client Request Continuously Switching Servers

I have configured a Software Load balancer with HAProxy. Here are the details : Load Balancer 1 (Master) - 10.0.0.2 Load Balancer 2 (Slave) - 10.0.0.3 Virtual IP that load balancer shared is - 10.0....
Tejas Somaiya's user avatar
0 votes
0 answers
2k views

Easiest way to install pacemaker-1.1.6 on Ubuntu 14.04 Trusty?

TLDR: see the subject line. Now here's the motivation... We have some existing clusters that successfully use Heartbeat 3.0.5 together with Pacemaker 1.1.6, on Ubuntu 12.04LTS Precise Pangolin. $ ...
Quuxplusone's user avatar
0 votes
1 answer
837 views

Can i use 2 heartbeat cluster in the same network

I'm playing with HeartBeat. I'm trying to create 2 clusters with 2 nodes each in the same network. ldap1 (192.168.3.1) <-> ldap2 (192.168.3.2) www1 (192.168.3.3) <-> www2 (192.168.3.4) With ...
Sancho's user avatar
  • 111
-2 votes
1 answer
400 views

Can I use ASA5505 to spoof the reply to a heartbeat request?

I have a CISCO ASA 5505 in a home office. It has two subnet, public and private. There is a wifi belkin router on the private net, which provides wifi for some users. That belkin router sends out ...
ndasusers's user avatar
  • 427
2 votes
1 answer
2k 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 ...
Decker's user avatar
  • 123
2 votes
1 answer
1k 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 ...
Lisek's user avatar
  • 299
2 votes
1 answer
3k 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] ...
Robert's user avatar
  • 1,332
1 vote
2 answers
2k 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 High-...
MrBadGuy's user avatar
3 votes
1 answer
583 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 ...
Fractalizer's user avatar
0 votes
1 answer
739 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 ...
Mike Purcell's user avatar
  • 1,738
3 votes
2 answers
1k 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 ...
William Hilsum's user avatar
2 votes
1 answer
6k 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 ...
Darktux's user avatar
  • 837
1 vote
1 answer
501 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 ...
Steve's user avatar
  • 255
1 vote
1 answer
1k 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 ...
user275402's user avatar
2 votes
2 answers
4k 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 ...
Huzefa's user avatar
  • 65
3 votes
1 answer
15k 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 ...
Kuruwan's user avatar
  • 121
0 votes
1 answer
622 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, ...
Barry Kelly's user avatar
1 vote
0 answers
2k 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 ...
Jim Dennis's user avatar
1 vote
2 answers
2k 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 ...
Jim Dennis's user avatar
2 votes
0 answers
137 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. ...
mdeforge's user avatar
  • 121
-3 votes
2 answers
795 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 ...
EGr's user avatar
  • 629
2 votes
1 answer
2k views

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: ...
Maxat Kulmanov's user avatar
7 votes
1 answer
971 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 ...
Ethan Hayon's user avatar
0 votes
1 answer
261 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 centos ...
cuibapvn's user avatar
0 votes
1 answer
281 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 ...
Ahmet Karakaya's user avatar
4 votes
1 answer
1k 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 ...
Szymon Jednac's user avatar
0 votes
1 answer
278 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, ...
Sergey's user avatar
  • 948