Pacemaker achieves maximum availability for cluster services by detecting and recovering from node and service-level failures. It achieves this by utilizing the messaging and membership capabilities provided by your preferred cluster infrastructure (currently either OpenAIS or Heartbeat).
Questions tagged [pacemaker]
286 questions
27
votes
9 answers
Alternatives to Heartbeat, Pacemaker and CoroSync?
Are there any major alternatives for automatic failover on Linux besides the typical Heartbeat/Pacemaker/CoroSync combinations? In particular, I'm setting up failover on EC2 instances, which only supports unicast - no multicast or broadcast. I'm…
organicveggie
- 1,061
- 3
- 14
- 27
20
votes
1 answer
Which messaging layer to use, Heartbeat or Corosync?
Just about finished my research into setting up a web server cluster and I'm still undecided as to which messaging layer to use with Pacemaker. The servers I'm using are all Fedora so both layers are available via YUM, both are well documented and…
Jeff Busby
- 521
- 1
- 3
- 9
13
votes
5 answers
How to setup STONITH in a 2-node active/passive linux HA pacemaker cluster?
I am trying to setup an active/passive (2 nodes) Linux-HA cluster with corosync and pacemaker to hold a PostgreSQL-Database up and running. It works via DRBD and a service-ip. If node1 fails, node2 should take over. The same if PG runs on node2 and…
MMore
- 523
- 2
- 6
- 12
8
votes
3 answers
Why disable DRBD in Pacemaker cluster
The DRBD documentation (in section Integrating DRBD with Pacemaker clusters) recommends that DRBD should be disabled in a Pacemaker cluster:
If you are employing the DRBD OCF resource agent, it is recommended
that you defer DRBD startup,…
rookie099
- 345
- 2
- 14
7
votes
5 answers
pacemaker node is UNCLEAN (offline)
I am following the http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/_verify_corosync_installation.html document for setting up a 2 node cluster in AWS. The two nodes have pacemaker installed and FW rules are enabled.…
Krishna Kumar R
- 193
- 1
- 2
- 6
7
votes
1 answer
Pacemaker DRBD resource not getting promoted to master on any node
First off, I'm no linux specialist, I've been following tutorials and been working with the help of google, this worked out fine until now, but currently I'm stuck with a problem.
I'm using CentOS 6.5 and DRBD version 8.4.4.
I have two nodes running…
Infi
- 71
- 1
- 3
7
votes
1 answer
MySQL: Pacemaker cannot start the failed master as a new slave?
pacemaker-1.0.12-1
corosync-1.2.7-1.1
I'm going to setup failover for MySQL replication (1 master and 1 slave)
follow this guide:
https://github.com/jayjanssen/Percona-Pacemaker-Resource-Agents/blob/master/doc/PRM-setup-guide.rst
Here're the…
quanta
- 50,327
- 19
- 152
- 213
7
votes
1 answer
Pacemaker/corosync timeout before resource transfers
This seems like a simple question, but one I can't seem to find the answer for despite going over the pacemaker documentation multiple times.
I've got corosync set up with pacemaker to share a virtual IP. All I want to do is to set a timeout value…
user705142
- 433
- 6
- 16
6
votes
2 answers
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?
[root@node1 src]# find / -name crm*|grep…
arheops
- 708
- 1
- 5
- 13
6
votes
2 answers
Secure IPTables rules for Corosync
I have two HA load balancers (hollywood and wolfman) running Corosync and Pacemaker. The eth1 interfaces are connected to the WAN, and the eth0 interfaces to the LAN, using a virtual IP as the gateway for the back end servers. The eth1 IP of…
jetboy
- 882
- 2
- 11
- 25
6
votes
1 answer
Pacemaker Active/Active haproxy load balancing
I am using Haproxy to load balance replicated mysql master servers. I am also using Heartbeat and Pacemaker for Active/Active ip failover with two virtual ips on the two load balancers for web server high availability. I used location in pacemaker…
user53864
- 1,653
- 8
- 36
- 66
6
votes
8 answers
Linux stretch cluster: MD replication, DRBD or Veritas?
For the moment there's a lot of choices for setting up a Linux cluster.
For cluster manager: you can use Red Hat Cluster manager, Pacemaker or Veritas Cluster Server.
The first one has the most momentum, the second one comes by default with RH…
PieterB
5
votes
1 answer
Possible to set the specific order of a resource in a Pacemaker group?
Given the Pacemaker/Corosync resource configuration described below, is it possible to add a resource in a specific position within the resource group? The configuration is CentOS 7.2 using the RHEL-supplied clustering add-ons.
This is a NFS server…
ewwhite
- 194,921
- 91
- 434
- 799
5
votes
3 answers
How can I set resource stickiness in pacemaker?
I'm playing around with Red Hat's High Availability Add-On, everything seems working fine however I have one issue:
Whenever I reboot one of nodes 7test2, resource group g1 migrates to 7test1 (by design) and then when 7test2 comes back online…
alexus
- 12,342
- 27
- 115
- 173
5
votes
1 answer
Pacemaker error on failback with drbd
I have two nodes in my cluster with drbd+pacemaker+corosync
When the first node fails, the second assumes the service and it's ok, but when we have to failback (node1 back online) it shows some errors and the cluster stops working.
It's a CentOS 6…
Leandro Ferreira
- 93
- 7