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

Filter by
Sorted by
Tagged with
0
votes
2answers
38 views

Pacemaker split-brain timing of resource start and stop

I am testing a two-node cluster and testing various split-brain scenarios. It is all working fine, with resources doing what I would expect, except I am wondering about timing in a particular case. ...
0
votes
1answer
37 views

Docker container failed to run with pacemaker resource agent

I have a 2 node cluster configured on CentOS 7.6 with latest docker and pacemaker packages. I am currently trying to provide HA for couple of containers but after configuring pacemaker resource ocf:...
0
votes
1answer
37 views

How to control a service from Linux pacemaker cluster?

I have set a two node cluster on two RHEL7 virtual machines. I'm using pacemaker as my HA management software. I creates one resource for VIP and another resource for a shared FS. VIP and FS resources ...
0
votes
1answer
44 views

Corosync pacemaker Ipaddrr2 findIf failing

I've a cluster setup with 3 nodes [having nodes A,B (VIP),C] using pacemaker and corosync. When I pull network cable one of the nodes B intentionally (as a disaster recovery test), the node A or C ...
3
votes
1answer
59 views

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 ...
0
votes
0answers
36 views

How to run multiple instances of the same service in Pacemaker cluster

I need to set multiple application instances groups (vip, service, iscsi disk) colocation so each group runs at the separate cluster node. I know that Pacemaker offers group attributes and rules for ...
0
votes
0answers
43 views

How to configure Active/Passive zabbix server behind HAProxy

I am configuring Active/Passive HA Zabbix server with pacemaker,so far with VIP, my server can easily fail over, however the problem with AWS is they don't have VIP. So, I am unable to use VIP on ...
0
votes
1answer
22 views

Default intervals, timeouts, etc., for Pacemaker resource operations

Pacemaker resource agents mention default values for their operations' timeouts, intervals, etc., in their metadata. For instance, crm_resource --show-metadata=ocf:heartbeat:IPaddr2 lists some: <...
1
vote
0answers
41 views

Pacemaker Corosync VIP switches when node is brought online

I've a cluster setup with 3 nodes [having nodes A,B (VIP),C] using pacemaker and corosync. When I shutdown one of the nodes B intentionally (as a disaster recovery test), the node A or C takes VIP but ...
1
vote
1answer
55 views

Resources are UNCLEAN when I unplug the preferred node

I'm very beginner within linux network configuration I configured linux pacemaker + corosync + stonith via ssh + drbd + nginx for 3 nodes. pcs status: 3 nodes configured 7 resources configured ...
0
votes
0answers
47 views

systemd service in pacemaker for high availability

I came to know about the pacemaker for high availability. I have one simple service running on linux VM. I have started that using systemctl start <service name> command. I want to make this ...
0
votes
0answers
11 views

Is it possible to prevent pacemaker from stopping resource in old node, while starting the resource in new node?

we collect heap dumps of the resource on failed node, before restarting the resource. However, to minimize the downtime (as heapdump collection taking time), I'm checking if it is possible to start ...
2
votes
1answer
157 views

Pacemaker/Corosync resource cleanup causes restart on Ubuntu (any version)

I'm having an issue with a pacemaker/corosync (2 node) cluster on Ubuntu (12.04 / 14.04 / 16.04 and 18.04) and couldn't find anyone else describing this issue. There are two ressources: res_ip (...
1
vote
0answers
80 views

Corosync caused a 100% CPU load after a node disappeared. How to fix it?

A general setup (the very first for me) of Corosync + Pacemaker is made upon 4 Virtual Servers with a VirtualIP, a private network is organised with a help of OpenVPN. corosync-2.4.3-4.el7.x86_64 ...
0
votes
0answers
57 views

Configuring MariaDB in pacemaker Active/Slave configuration - timing out

I'm trying to configure Pacemaker on Ubuntu 18.04 so I can run a master and a slave and I've been smashing my head against a brick wall all day. I have two nodes, mysql1 & mysql2 both with ...
1
vote
0answers
123 views

issue with pacemaker ipaddr2 and IPsrcaddr

I'm having trouble with setting up a cluster which contains two nodes. I want to setup a cluster with two centos nodes with a floating ip address and all packet which sends out from my active cluster ...
1
vote
1answer
61 views

Postfix not sending mail using specific outgoing ip address

I have a cluster set-up using pacemaker/corosync and have some fail over IPs set-up. I have designated postfix to use ome of those failover IPs using:- smtp_bind_address = aa.bb.cc.dd in main.cf ...
-2
votes
2answers
133 views

Cluster a custom application

I have a custom application which is written by java. I want to know is it possible to cluster this application by pacemaker. For example copy this application in two different nodes and setup a ...
0
votes
0answers
63 views

Problems Installing Pacemaker in AWS Amazon Linux

I am trying to install Pacemaker in my Amazon Linux and I couldn't find it in the repo anymore following this tutorial with sudo yum install pacemaker. i then further search and found this, and to no ...
0
votes
2answers
245 views

Pacemaker - Colocation constraint moving resource

I am encountering an issue with colocation constraints. I have created a 4 nodes cluster (3 "main" and 1 "spare") with 3 resources, each resource should run only on its own node or on the spare and ...
0
votes
0answers
39 views

Adding (cifs, samba)Filesystem resource to PCS

I am trying to create PCS resource Filesystem on Samba share(cifs) file system type. Here is a command that I have used to create pcs resource. root@shaunak-VirtualBox:~# pcs resource show ...
0
votes
1answer
47 views

Pacemaker, corosync delete

I've got Pacemaker in conjunction with Corosync on two nodes and two float ip. Now I need to delete this construction. What is the best way to stop Pacemaker and Corosync and delete them?
2
votes
0answers
61 views

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 ...
0
votes
0answers
144 views

DRBD with Pacemaker/Corosync

I have an active/passive cluster working nicely, with just nagging question. When the systems reboots, on the passive node, drbd replication does not start right. It always comes up like this: ...
1
vote
1answer
54 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 ...
7
votes
3answers
702 views

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 ...
0
votes
1answer
1k views

How to create resource for service using Corosync/Pacemaker

Am new to serverfault, hoping to see the experts answers for my query. I have done a Active/passive setup for 1 cell vCloud Director. Below are the setup details. OS : CentOS 7.10 vCloud Director : ...
0
votes
0answers
118 views

drbd Failed on on primary, secondary, it is blocked

I'm trying to settup a cluster with apache(to host jenkins service), IPaddr2, drbd. The process run flawlessly until I add drbd resource to pacemaker, crm status told me that drbd FAILED on both ...
0
votes
1answer
72 views

No traffic arrives via openstack floating IP and pacemaker/corosync

I am following the steps from https://fuga.cloud/academy/tutorials/ha-vip-with-corosync-on-openstack/. I am missing a reason why traffic going into the external floating IP is not arriving correctly ...
0
votes
1answer
35 views

2 MySQL instances in the same cib.xml

I have a RHEL 7.3 cluster with 2 nodes, managed by Pacemaker. It's used for MySQL HA. I currently have one MySQL service added to the cluster (MySQL 5.2): <primitive class="ocf" id="mysqldb1" ...
1
vote
1answer
236 views

Pacemaker fencing not triggered

I have 2 nodes : - patroni1 : 192.168.1.38 - patroni2 : 192.168.1.39 and Virtual IP : 192.168.1.40 I have HA-Proxy installed on both. Here is my pcs status when VIP is attached to patroni2 and ...
1
vote
3answers
215 views

Nagios/Icinga: Don't show CRITICAL for DRBD partitions on standby node

I've set up a pacemaker/corosync ha-cluster in a failover configuration with two nodes: productive and standby. There are three DRBD partitions. Everything works fine so far. I'm using Nagios NRPE on ...
2
votes
2answers
541 views

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 ...
1
vote
0answers
664 views

DLM and CLVMD not starting on pacemaker redhat HA

I was trying to configure an active-active cluster w/ gfs2, I followed the following instructions: pcs property set no-quorum-policy=freeze pcs resource create dlm ocf:pacemaker:controld op monitor ...
0
votes
2answers
230 views

Using the max_network_delay option of the Corosync

I have the cluster based on pacemaker and corosync. Cluster nodes are located in several data centers. And there is up to 450 ms ping latency between some of the nodes. Sometimes these delays lead to ...
0
votes
1answer
97 views

pacemaker cluster: using resource groups to model node roles

I'm setting up my first pacemaker cluster, which has four nodes, and I'm trying to get it such that particular resources run on particular groups of nodes. Typically, I'm dealing with resources of ...
1
vote
1answer
3k views

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 ...
2
votes
1answer
226 views

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

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 ...
0
votes
3answers
2k views

DRBD “Device or resource busy”

So today I've been asked to configure a cluster on Centos7 using pacemaker and drbd. Everything was going fine until I tried to create a the local meta data for my resource ( a simple web server). ...
2
votes
0answers
1k views

Apache Failed to Start in Pacemaker

I am using Pacemaker with Corosync to set up a basic Apache HA cluster with 3 nodes running CentOS. For some reasons, I cannot get the apache resource started in pcs. Cluster IP: 192.168.200.40 # ...
0
votes
1answer
316 views

Multiple floating IPs

I am configuring Squid with High Availability. I want the setup with below conditions Two squid proxy servers (siblings) with one IP address each Both the servers in active passive HA cluster with ...
1
vote
1answer
374 views

pacemaker clear failed actions automactically

I have created an active/passive cluster using Pacemaker / Corosync / drbd and have "simulated" Apache failure pkill httpd and altough pacemaker recovered from the "failure" and started httpd now when ...
0
votes
1answer
367 views

Unable to communicate with node pacemaker during authorization

I'm building a pacemaker practise lab of two nodes, using CentOS 7.1 virtual machines. following instruction from below link, I have installed pacemaker pcs and resource-agents added host to /etc/...
1
vote
1answer
78 views

Weird node number in load balancer setup

I got an odd problem here. I set up Corosync and Pacemaker, I used this guide as a reference but I improvised a little the first time installing it since I'm doing this to learn, not following ...
0
votes
1answer
323 views

How to configure fencing delay in master/slave cluster with DRBD and Pacemaker?

I have a pacemaker cluster for DRBD primary/secondary setup and Virtual IP. I would like the master node to immediately shoot the slave, while the slave will have to wait for 15 seconds before ...
0
votes
0answers
345 views

pacemaker with two nodes on different subnet

I have a cluster with 2 Nodes running on different subnets. They both communicate but I have always one node offline node 1 : mon0101 is online and mon0201 is offline node 2 : mon0101 is offline and ...
1
vote
1answer
734 views

How to: fencing in 2 nodes cluster with iLO 4?

I have configure a 2 node (master/slave) cluster on HP GL360p servers with iLO 4. OS is centos 7 and I am using pcs with pacemaker and corosync. I want to implement fencing but I can't find any ...
0
votes
2answers
931 views

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

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