Questions tagged [pacemaker]

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

297 questions
4
votes
1 answer

Pacemaker cluster does not cleanly failover DRBD-resource (but does so manually)

I had to upgrade a cluster from Ubuntu 16.04. It did work fine on 18.04 and 20.04 but now on 22.04 it does not failover the DRBD-device. Putting the resource into maintenance mode and performing a manual drbdadm secondary/primary works instantly…
4
votes
1 answer

corosync/pacemaker/fencing - passive/active cluster with 2 nodes

I'm configuring a cluster 2 nodes with pacemaker/corosync, and I have some question about it (and maybe best practice : i'm far to be specialist) **OS:** redhat 7.6 I configurated the cluster with those properties - **stonith-enabled:** true -…
drkmkzs
  • 311
  • 1
  • 2
  • 8
3
votes
1 answer

DRBDManage with Pacemaker on CentOS 7

I have 2 CentOS 7.6 nodes which I have configured with drbd, drbdmanage and pacemaker for active/passive failover. during a failure my vip and drbd service failover from primary to secondary the next node but I couldn't connect to drbdmanage to…
Sajirupee
  • 45
  • 1
  • 7
3
votes
1 answer

DRBD resources not coming back online - Pacemaker + Corosync

I am using DRBD for replication. For testing purpose I am using 2 VMs. I have noticed that if I disconnect network interface on a node then it moves to standalone, and after I reconnect it does not go back to connected or WFconnection mode. Is there…
bakasan
  • 103
  • 1
  • 11
3
votes
1 answer

(Pacemaker) Nginx uses primary IP address instead of virtual IP to communicate with web servers

I have set up a two-node cluster (active/passive) with Corosync/Pacemaker and nginx as a reverse proxy. OS is RHEL7 and the machine has only one network interface at the moment. I configured two resources: cluster-vip for the shared virtual…
Litame
  • 43
  • 4
3
votes
2 answers

Is there a difference between LVM and HA-LVM or is it just how you use it.

I am studying up on HA Clusters using pacemaker and corosync. The Red Hat documentation treats LVM, HA-LVM and CLVM as separate topics. I understand the added features and benefits of CLVM over HA-LVM. What I am not sure of is what HA-LVM is…
digitaladdictions
  • 1,505
  • 1
  • 12
  • 30
3
votes
1 answer

In a Pacemaker cluster, is there any way to set start-failure-is-fatal on a per resource basis?

I've got it set cluster-wide currently, but I'd really like it to be set to 'true' by default and false for only my Slave DRBD resource. Using Pacemaker 1.1.12 and Corosync 1.4.8.
javanix
  • 247
  • 4
  • 15
3
votes
2 answers

Pacemaker and DRBD on Hyper-V

I need to setup two-node Web cluster for Apache web site. I have Hyper-V infrastructure and only two nodes. The points are load-balancing and high availability. I installed and configured two VMs with CentOS 7, Pacemaker cluster, MariaDB 10. I…
Evgeniy
  • 163
  • 2
  • 8
3
votes
0 answers

crm_mon -E does not run the external-agent on Debian Jessie

Setup I'm currently having a working 2-nodes HA cluster using Pacemaker+Corosync. My nodes are running on Debian 8 (Jessie). Now I would be able to get notified when changes occur in the cluster (resources stop/start, promote/demote, move...). Since…
Habovh
  • 271
  • 3
  • 12
3
votes
1 answer

Multi-state MySQL master/slave pacemaker resource fails to launch on cluster nodes

Setup I'm setting up an HA cluster for a web application using two physical servers in a Corosync/Pacemaker managed cluster. After finding out I was heading the wrong way, I decided to use heartbeat's bundled MySQL resource agent to manage my MySQL…
Habovh
  • 271
  • 3
  • 12
3
votes
1 answer

Can pacemaker retry monitor action on error?

I created simple pacemaker agent for managing MySQL. It works quite well, but there is 1 thing that I can't understand. When resource is "Started", and monitor action returns one of: $OCF_NOT_RUNNING $OCF_ERR_GENERIC pacemaker immediately stops…
Tomasz Olszewski
  • 898
  • 1
  • 9
  • 20
3
votes
1 answer

Is it possible to configure pacemaker with a configuration file?

I'm trying to configure pacemaker with a config file (that I can automatically generate and then ask pacemaker to "reload"). But all the examples that I see are for command-line commands or the interactive editor. (I'm running Ubuntu). The…
moomima
  • 497
  • 2
  • 5
  • 9
3
votes
1 answer

IPTABLES for multiple Public IP Addresses

Currently i have two servers Running Debian 7 with HA Active/Passive setup using Pacemaker and Corosync as follows: node1->IP->xx.xx.xx.1 node2->IP->xx.xx.xx.2 VIP(Floating IP) ->xx.xx.xx.3 It is configure with heartbeat for fail-over setup. All…
3
votes
1 answer

Corosync/Pacemaker + Haproxy Failed Actions: insufficient privileges

I setup a Corosync/Pacemaker cluster + HAproxy using the following guide on Ubuntu 14.04 LTS: http://www.sebastien-han.fr/blog/2012/04/15/active-passive-failover-cluster-on-a-mysql-galera-cluster-with-haproxy-lsb-agent/ I have not added the virtual…
invulnarable27
  • 183
  • 1
  • 3
  • 8
3
votes
1 answer

How do I set the pacemaker cluster name with pcs?

I'm running two pacemaker clusters on the corosync stack on CentOS 7 with all packages up to date with the distro release/updates packages. Both clusters shows no cluster name with the command pcs status: Like this: Cluster name: Last updated: Mon…
MattBianco
  • 597
  • 1
  • 7
  • 23
1 2
3
19 20