Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
1answer
45 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 ...
0
votes
1answer
466 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. ...
1
vote
0answers
270 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 ...
2
votes
1answer
384 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 ...
0
votes
0answers
1k 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 ...
-1
votes
1answer
546 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 ...
5
votes
2answers
220 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 ...
0
votes
1answer
344 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? ...
0
votes
1answer
204 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 ...
-1
votes
1answer
171 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:...
0
votes
1answer
796 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 ...
1
vote
1answer
1k 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:...
1
vote
1answer
92 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 ...
0
votes
0answers
129 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 ...
0
votes
0answers
190 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:...
0
votes
1answer
2k 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 ...
0
votes
1answer
455 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....
0
votes
0answers
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. $ ...
0
votes
1answer
605 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 ...
-2
votes
1answer
326 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
657 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 ...
1
vote
1answer
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] ...
0
votes
2answers
1k 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-...
2
votes
1answer
353 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
679 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 ...
3
votes
2answers
830 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 ...
2
votes
1answer
4k 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
322 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
1answer
626 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 ...
2
votes
2answers
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 ...
3
votes
1answer
11k 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
493 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, ...
1
vote
0answers
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 ...
1
vote
2answers
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 ...
2
votes
0answers
121 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
653 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
1k 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
742 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
240 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 ...
0
votes
1answer
220 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 ...
4
votes
1answer
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 ...
0
votes
1answer
194 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
414 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
2k 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 # ...
5
votes
2answers
22k 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
2answers
2k 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 ...
3
votes
1answer
5k 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
0
votes
1answer
2k 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 ResourceManager[...
2
votes
1answer
1k 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 ...