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
0 answers

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. All the floating ip thing works perfectly (when…
1
vote
1 answer

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 on this forwarder and it is time to begin…
Mikhail T.
  • 2,338
  • 1
  • 24
  • 55
1
vote
1 answer

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 the cluster. For Example, I want my drbd.conf…
GP92
  • 681
  • 2
  • 9
  • 27
1
vote
1 answer

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. Contents of /etc/ha.d/haresources master…
1
vote
0 answers

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 are connected (not based on ping). By default…
bakasan
  • 103
  • 1
  • 11
1
vote
1 answer

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::myfs…
1
vote
1 answer

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 network card once it becomes primary server. This ip…
Juan Diego
  • 179
  • 1
  • 1
  • 11
1
vote
2 answers

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-Availability services: ERROR: Cannot locate resource script…
1
vote
1 answer

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 server and found cl_status command found it on…
Steve
  • 255
  • 2
  • 11
1
vote
1 answer

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 option SO_BINDTODEVICE: No such device May 23…
user275402
  • 43
  • 1
  • 1
  • 6
1
vote
0 answers

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 within my VPC block. In other words any of these…
Jim Dennis
  • 807
  • 1
  • 10
  • 22
1
vote
2 answers

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 from creating keys or key/value pairs larger than,…
Jim Dennis
  • 807
  • 1
  • 10
  • 22
1
vote
1 answer

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 the unlikely failure of Milo when Otis will take…
1
vote
1 answer

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, heartbeat cannot monitor it, for example httpd, we…
Emre He
  • 121
  • 1
  • 4
1
vote
1 answer

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 Shutting down Server1 for a period of time, cause Server2…
Jon Skarpeteig
  • 951
  • 2
  • 14
  • 29