Questions tagged [pacemaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

CentOS 8 - Clustered File System

In my environment, I have a need for a shared disk between two application servers such that changes on Server A are immediately available on Server B. Historically, I have solved this issue by ...
0
votes
0answers
16 views

Unmount data volume hosting NFS exports

So I've got a customer with two NFS server setup in a pacemaker cluster active/standby configuration. It is a legacy system running RHEL6. On the servers there is /mnt/data1 which is an xfs mountpoint ...
0
votes
0answers
33 views

Stonith resource not working

I am trying to set up a storage cluster with two nodes, both running debian buster. The two nodes called, duke and miles, have a LUN residing on a SAN box as their shared storage device between them. ...
1
vote
1answer
123 views

Pacemaker: Primary node is rebooted and comes back is primary instead of standby

We are using pacemaker, corosync to automate failovers. We noticed one behaviour- when primary node is rebooted, the standby node takes over as primary - which is fine. When the node comes back ...
1
vote
0answers
31 views

Failover using pcs causes DRBD disk get unavailable on source server “No such resource”

I am working on DRBD, PCS to run a 2 node cluster. With the config virtual_IP and DRBD disk works fine on first node. Then I test the failover with "pcs cluster stop" on master, the disk and virtual ...
0
votes
1answer
210 views

Pacemaker Virtual IP cannot be routed outside of its network

I have a server cluster consisted of following setup: 2 Virtual Servers with 2 NIC's. eth0 (private network 10.0.0.0/16) and eth1 (public network 77.1.2.0/24 with gateway as 77.1.2.1) For HA-01 VPS ...
0
votes
0answers
30 views

variants for a Linux fileserver cluster

I currently have two hosts and each with 6 disks. Each host has a Debian 9 installed and 2 disks are in a Software Raid 1 array. The other 4 disks are free and should be used for data storage. Now I ...
2
votes
1answer
377 views

PCS Stonith (fencing) will kill two node cluster if first is down

I have configured a two node physical server cluster (HP ProLiant DL560 Gen8) using pcs (corosync/pacemaker/pcsd). I have also configured fencing on them using fence_ilo4. The weird thing will happen ...
1
vote
1answer
85 views

Pacemaker: stopping pacemaker doesn't always move resources to other node

I have created a 2 node cluster on sles12. Following is the configuration - msnode1:~ # crm --version crm 3.0.0 msnode1:~ # corosync -v Corosync Cluster Engine, version '2.3.6' ...
0
votes
0answers
31 views

Setting up Pacemaker (pcs) with DRBD

I am working on a high-availability NFS passive-active cluster with two nodes. I am on RHEL 7.6. Both nodes have DRBD setup on them with two partitions, /prod (/dev/drbd0) and /base (/dev/drbd1). The ...
0
votes
0answers
209 views

Pacemaker cluster service can't start properly Couldn't mount filesystem

I have 3 nodes MySQL cluster on RHEL 7.5 with DRBD, Pacemaker and after start cluster getting following error. How can I overcome ? [root@db1 ~]# pcs status Cluster name: mysql_cluster Stack: ...
1
vote
0answers
119 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
1k views

quorum in a two-node cluster with pacemaker

I have two node active-passive cluster. Clusters_from_Scratch If a cluster splits into two (or more) groups of nodes that can no longer communicate with each other (aka. partitions), quorum is ...
0
votes
1answer
370 views

split-brain recovery with crm-fence-peer script

I implemented DRBD resource level fencing with crm-fence-peer.9.sh and crm-unfence-peer.9.sh scripts on both nodes. Now, I have the following situation on my lab nodes: both nodes otrs1 and otrs2 ...
1
vote
1answer
483 views

After failover Pacemaker moves resource back when node comes back

I'm using Pacemaker & Corosync for my cluster. When a node dies pacemaker moving my resources to another online node. Everything ok here. But when the dead node comes back, Pacemaker moving the ...
1
vote
1answer
102 views

When I start corosync all servers panics with core dumps

I upgraded my servers. Then I started corosync service one by one on my servers. I started first on 3 server and I wait 5 min. Then I started next 4 corosync on other servers and 7 server crashed in ...
1
vote
1answer
537 views

putting standby node online results in drbd split brain

I have 2 node cluster on pacemaker/corosync running on scientific linux 6. drbd is running on both nodes master=node1 slave=node2. When i put the slave node2 on standby and then back online everything ...
0
votes
1answer
991 views

Apache resource failed to start in Pacemaker

I am using Pacemaker with Corosync to set up a basic Apache HA cluster with 3 nodes running CentOS7. For some reasons, I cannot get the apache resource started in pcs. Cluster IP: 192.168.200.40 # ...
2
votes
2answers
4k views

pcs cluster not moving resource when instructed to move

for whatever reason I'm no more able to move resources with pcs pacemaker-1.1.16-12.el7_4.8.x86_64 corosync-2.4.0-9.el7_4.2.x86_64 pcs-0.9.158-6.el7.centos.1.x86_64 Linux server_a.test.local 3.10.0-...
0
votes
1answer
817 views

data sync in a active-passive pacemaker cluster

I'm planning to use pacemaker with corosync and pcs to provide HA in a active-passive cluster for our two front end servers serving a perl application. I have configured resources for the service IP, ...
0
votes
2answers
69 views

Extra Ip address assigned in one of my nodes on redhat cluster. How can I get rid of it?

I have a cluster that is not running properly. While doing something it added an extra Ip address which is not supposed to be there. Since this is generated by the cluster (not in network-script) ...
1
vote
1answer
874 views

Corosync/Pacemaker pcs equivalent commands to crm

I know crm utility command has been people's preferred method to manage clusters when it comes to High Availability with corosync & pacemaker. Now, its been deprecated and we are told to work with ...
0
votes
1answer
228 views

Are there implicit constraints for resource groups in a pacemaker cluster?

According to redhat's official documentation, all resources in a resource group implicitly have colocation and order constraints. But from the tests i did in my lab setup i can't see any constraints ...
0
votes
1answer
2k views

RHEL High-Availability Cluster using pcs, configuring service as a resource

I have a 2 node cluster on RHEL 6.9. Everything is configured except I'm having difficulty with an application launched via shell script that created into a service (in /etc/init.d/myApplication), ...
0
votes
1answer
4k views

pcs stonith not working

i have 2 virtual centos7 nodes , root can login passwordless among themself, i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could ...
0
votes
1answer
4k views

How to monitor the Pacemaker cluster using a script?

I have created a two node cluster (both nodes RHEL 7) using pacemaker. It is used to run a custom application. I have created below resources and assigned it to the cluster: A shared storage for ...
0
votes
1answer
813 views

Pacemaker doesn't failover

node $id="10" db10 \ attributes standby="off" node $id="9" db09 \ attributes standby="off" primitive drbd_jenkins ocf:linbit:drbd \ params drbd_resource="r0" \ op start interval="0s" ...
0
votes
1answer
397 views

Best way to set up fence_vmware-soap on centos7

I have two node cluster providing nfs services. using pacemaker and corosync. both nodes are using a shared lun. I created a vsphere user and set up two fence_vmware_soap fence agents. one on each ...
2
votes
1answer
532 views

Pacemaker Promote Groups in Specific Order - Or Specify start last

I have a group in Pacemaker which I need to start last. Ideally I'd like to know how to configure groups to start in an specific order, but I can't seem to figure it out, not sure if its possible. ...
1
vote
1answer
739 views

Pacemaker: stopping resource after it migrate N times due to failover

I have a configuration with 5 nodes, 4 able to host resources and 1 resource. What I want to do is to make the resource stop completely after migrating N times from node to node. So a sample scenario ...
1
vote
0answers
4k views

Pacemaker - Corosync - HA - Simple Custom Resource Testing - Status flapping - Started - Failed - Stopped - Started

I am testing using the OCF:Heartbeat:Dummy script and I want to make a very basic setup just to know it works and build on that. The only information I can find was this web blog here. https://...
1
vote
1answer
5k views

IP Source Address issues with PaceMaker Virtual IP

I am having trouble setting up a Virtual/Floating IP. In this specific circumstance I am using Pacemaker+Corosync to manage 2 Virtual IP's. One is internal and the other is external to our SIP Trunk. ...
1
vote
2answers
1k views

MySQL Server monitor_20000 on node1 'not running' - HA Cluster - Pacemaker - Corosync - DRBD

I get this Error after finishing configuring cluster. And after trying to fail-BACK from node2 mysql_service01_monitor_20000 on node1 'not running' (7): call=20, status=complete, exitreason='none' ...
0
votes
1answer
501 views

Xen + DRBD + Pacemaker on Centos7

So my current environment is centos7 on a pair of identical bare metal servers. I've installed drbd and carved up 3 x 100G block devices for DRBD to mirror. Then I installed a Centos7 image on one of ...
2
votes
1answer
990 views

MySQL DRBD Resource failing to start PaceMaker + Corosync

So I have gotten to the point where I had all services running when I configured the cluster, but after reboot I am getting the following : Full list of resources: virtual_ip (ocf::heartbeat:...
1
vote
2answers
5k views

Corosync error “No interfaces defined” in a cluster member

I am having an error starting corosync on a cluster member: May 16 00:53:32 neftis corosync[19741]: [MAIN ] Corosync Cluster Engine ('2.3.4'): started and ready to provide service. May 16 00:53:32 ...
0
votes
1answer
6k views

DRBD - 'node1' not defined in your config (for this host) - Error when setting Primary [closed]

I am getting the following error when trying to set the Primary node for DRBD. 'node1' not defined in your config (for this host). I know this is related to DNS/Hostname/Hosts and the config ...
1
vote
2answers
6k views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
0
votes
1answer
783 views

PCS and corosync/pacemaker

A simple and fast question about pcs. With this command pcs resource create NameService named op monitor interval=30s I create a resource named,wich is working,but if i want to run named -u named -t ...
0
votes
1answer
1k views

CIB not supported: validator 'pacemaker-2.0', release '3.0.9'

I am trying to make two node clusters with pacemaker and corosync. When I want to change config with crm I get the following error: CIB not supported: validator 'pacemaker-2.0', release '3.0.9' I ...
1
vote
1answer
999 views

RedHat cluster with rgmanager or pacemaker as resource manager on Oracle VirtualBox

I'm learning RedHat cluster and I have setup a 3 node cluster (Centos 6.7), corosync, cman and rgmanager on Oracle VirtualBox version 5.x. The cluster is working fine (the clustat commmand shows that ...
3
votes
1answer
963 views

Clustered NFS server reply ERR 24: Auth Bogus Credentials (seal broken)

I have 4 servers on the VirtualBox. Two of the servers are a CentOS 7 cluster with Pacemaker(corosync), and they have an NFSv4 server in Active/Passive mode. There are also 2 clients with CentOS 6, ...
1
vote
0answers
381 views

Pacemaker and iSCSi

I currently am trying to make a highly available NAS under debian 7. I am using following packages: drbd8-utils iscsitarget iscsitarget-dkms pacemaker corosync openais ...
3
votes
1answer
3k views

pacemaker hangs while stopping

I have recently installed pacemaker and corosync for managin a virtual IP. The thing is that when I want to stop a resource (Virtual IP) on all the nodes, the stop command hangs. [root@isis ~]# sudo ...
7
votes
3answers
12k views

Pacemaker: migrate resource without adding a “prefer” line in config

Using pacemaker in a 2 nodes master/slave configuration. In order to perform some tests, we want to switch the master role from node1 to node2, and vice-versa. For instance if the current master is ...
5
votes
0answers
571 views

Takeover delay in Heartbeat HA cluster

I have set up a heartbeat HA two node cluster. And both of server have same configuration of ha.cf #cat /etc/ha.cf logfile /var/log/ha-log autojoin none bcast eth1 warntime 20ms deadtime 40ms ...
0
votes
0answers
481 views

Install package pacemaker-mgmt on debian wheezy

I want to install a GUI for Pacemaker on Debian Wheezy. I've seen that it is available only in the unstable branch. However I've added unstable branch to apt get sources.list deb http://ftp.de....
3
votes
1answer
2k views

Corosync & Pacemaker IPTables Rules

When using Corosync with two rings via multi-cast addresses 226.94.1.1 (Port 5405) & 226.94.1.2 (Port 5406) what iptables rules are required to allow two nodes to communicate optimally without ...