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

configure pacemaker for galera

I have a galera / mariaDB cluster of two nodes on two remote sites that works perfectly. I want to set up a solution that would pause one of the two servers / node if the ping to an external IP was KO, then restart the same server as soon as the…
Arnaud21
  • 21
  • 3
2
votes
2 answers

CentOS 7: PCS Pacemaker Corosync Active/Active HAProxy dependency

I am trying to setup PCS for HAProxy on CentOS7 in an active/active configuration. I've done active/active before, but I am not familiar with constraints and dependency groups. So far so good: 2 nodes configured 4 resources configured Online: […
namezero
  • 171
  • 1
  • 8
2
votes
2 answers

What is the difference between maintenance and standby in pacemaker

In pacemaker there is a standby mode. From what I understand, it will cause active services to be migrated away from that node in order to do maintenance on it. However there is also a maintenance mode or flag which I cannot seem to find any…
juwi
  • 573
  • 1
  • 5
  • 14
2
votes
1 answer

Pacemaker - standby or active?

Hello id like to make 100% sure about one thing regarding pacemaker. There is going to be maint night tonigh and id like to be completly sure we can shut down server. It is supposed to be in standby using pacemaker, but i have only verbal assurance…
J B
  • 93
  • 9
2
votes
0 answers

pacemaker not monitoring the service although giving op monitor interval=10s while creating resource

Following is the service scripts which runs custom script. [root@xxxxxxxxxxvmrf0001vbisalah001 ~]# cat /etc/systemd/system/drbdRes_rhcdDaemon.service [Unit] Description=Manage drbdRes cluster…
Vijay S B
  • 185
  • 1
  • 4
2
votes
2 answers

linux pacemaker - prevent split brain

since using CentOS 7, we switched from a regular heartbeat setup to pacemker. Mainly we have IP resources that are active on one node and switch to a second node if a failover happens. Also we execute some scripts in case of a failover. Nothing…
sebkoe
  • 47
  • 9
2
votes
0 answers

Colocate pacemaker Master resources with stateless resources

I've implemented a simple two-node cluster with DRBD and a couple of network-based Master/Slave resources. Using the ethmonitor RA, I set up failover whenever the Master/Primary node loses link on the specified ethernet physical device by…
javanix
  • 247
  • 4
  • 15
2
votes
1 answer

Synching Amazon EC2 Instances

I want to user Corosync and Pacemaker to sync between two servers, the servers are, two (or more) EC2 instances, with Ubuntu 16.04 installed on them. I was doing that following this article, but I'm stuck at the step of private_binding_IP_address I…
2
votes
1 answer

Edit HA cluster config cib.xml

I want to edit pingd of my cluster config living on centos 6.5 because the addresses are no longer valid and my cluster always switching to the other node because of the failed nodes.What is the best way to do it.I know i must never open directly…
2
votes
1 answer

Quickly find out if pacemaker/corosync has quorum/is quorate

In a shell script, we currently call /usr/sbin/pcs status cluster and then grep -qE for 'Current DC:.*partition with quorum' to find out if the cluster is fine. I would like to know if there is a quicker way, because pcs status cluster makes it…
MattBianco
  • 597
  • 1
  • 7
  • 23
2
votes
2 answers

DRBD Failed with pacemaker

I'm new with Pacemaker and DRBD but I have to configure them together. I created 2 drbd resources : Drbdwww and DrbdMysql But when I use drbd_mon I have the following errors : Stack: corosync Current DC: s-ha-web1 (version 1.1.15-e174ec8) -…
anakin.wow
  • 23
  • 1
  • 4
2
votes
1 answer

Do Standby nodes participate/vote in Quorum - Pacemaker - Corosync - 3rd Quorum Only node

I'm setting up a simple 3rd VM to join my HA Cluster. This VM shouldn't ever run any services, except participate in the Quorum vote. In Galera Cluster there is a nice daemon for this, garbd, but for Pacemaker, it seems that its all done via…
FreeSoftwareServers
  • 515
  • 1
  • 8
  • 26
2
votes
1 answer

How to specify two different subnets in NFS exportfs cluster resource on RHEL 7

I'm configuring a NFS export resource on a RHEL 7 cluster, and I need to let a shared directory be mountable from clients belonging to different subnetworks. For example, the following command obviously works fine (with only one network…
Riccardo M.
  • 150
  • 1
  • 9
2
votes
1 answer

Pacemaker failure-timeout don't reset failcount

I'm using Pacemaker 1.1.13 and Corosync 2.3.4 on Centos7. I've a problem with Master/Slave resource. There is meta attrs for my resource: migration-threshold=1 failure-timeout=10s but when the resource goes down, there is only one attempt to start…
scooty
  • 23
  • 1
  • 3
2
votes
2 answers

Linux HA Cluster: running a resource as non-root user

i'm have successfully setup the HA cluster using pacemaker and corosync on centos7, and i've also been able to add and start resources. one of the resources is an instance of tomcat, and in the current configuration it runs fine. the only problem i…
ksm
  • 276
  • 1
  • 8