Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [pacemaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-3 votes
1 answer
39 views

Resource Group for file share not starting

I have a client that is trying to configure a file share for a 2 node cluster. Running this command seems to fix it but as soon as we switch over, it stops again. Any ideas?
David Kranes's user avatar
0 votes
1 answer
128 views

Prevent promotion on specific node in Pacemaker

I have a drbd + pacemaker cluster with three nodes, one being a quorum device only. I'm trying to configure the pacemaker resource so that the promotable drbd-resource should run on all three devices, ...
comrain's user avatar
0 votes
1 answer
223 views

How to tell if a VG is clustered?

I have a CentOS 7 Pacemaker cluster with GFS2 Filesystrems mounted. I'm fairly certain that vgchange -cy vg_name was NOT run during setup. I tried running vgchange --test -cy vg_name and it tells me ...
ex_submariner's user avatar
0 votes
1 answer
172 views

Convert puppet manifest config to hiera

I installed corosync-pacemaker cluster via puppet. Now I would to like keep my data into hiera file. How should I convert cs_primitive section into yaml file? cs_primitive { 'nfsshare_fs': ...
fortunate1357's user avatar
1 vote
1 answer
1k views

Debian 10 Pacemaker-Cluster: GFS2 Mount fails because of "Global lock failed: check that global lockspace is started."

I'm trying to setup a new Debian 10 cluster with three instances. My stack is based on pacemaker, corosync, dlm, and lvmlockd with a GFS2 volume. All servers have access to the GFS2 volume but I can't ...
Me7e0r's user avatar
  • 11
0 votes
0 answers
387 views

HA-Cluster / corosync / pacemaker: Active-Active cluster with service ip / service ip is not switching

How to configure crm to migrate the ServiceIP if one Service is failed? node 1: web01a \ attributes standby=off node 2: web01b \ attributes standby=off primitive Apache2 systemd:apache2 \ ...
FaxMax's user avatar
  • 726
1 vote
0 answers
93 views

Stop a pacemaker node when local shell script returns an error?

Is it possible to make pacemaker stopping a node when a local test script fails, and start a node if the local test script returns true again? This seems like a very simple problem, but as i can't ...
psicolor's user avatar
0 votes
1 answer
333 views

Where are libvirt's VM definitions "originals" stored, and how to sync them across multiple nodes?

Migrating from Xen's xm to Xen's xl under control of libvirt, I wonder: Where does libvirt store the "originals" of VM configurations? I found that my PVM configurations are stored in /etc/...
U. Windl's user avatar
  • 1,483
1 vote
1 answer
352 views

fence_virtualbox failed to reboot

I’m learning how to fence pacemaker using fence_virtualbox from [ClusterLabs] Fence agent for VirtualBox, but I can’t get it working. When I try to run stonith_admin –-reboot <node id> it failed....
Christophorus Reyhan's user avatar
0 votes
1 answer
2k views

Pacemaker apache resource is Failed to access httpd status page after change to HTTPS

I get this error from pacemaker after i change apache from http to https. now my ocf::heartbeat:apache resource is not find status page. I generate SSL certificate separately for 3 servers. Everything ...
Karippery's user avatar
1 vote
0 answers
401 views

Apache fails to load when SSL activated through Pacemaker

I have setup a cluster on Pacemaker holding: apache, mariadb, 2x GFS2, and a VIP Everything was working fine when running on http but as soon as I added the (self-signed) SSL certificate and the ...
markb's user avatar
  • 143
0 votes
1 answer
2k views

Pacemaker + Corosync + DRBD + Samba + NFS

Hello everybody, i am trying to setup a 2 PC cluster with shared resources ClusterIP, ClusterSamba, ClusterNFS, DRBD (cloned resource) and a DRBDFS.The beginning of the project was made following the ...
Miki's user avatar
  • 31
0 votes
2 answers
856 views

Linux Pacemaker: Resource showing as "unrunnable start (blocked)" has been created

We are using SLES 12 SP4 We have observed few things from the today testing. Following are the steps: Step 1: When we create kernel panic (on Node01) with the command “echo 'b' > /proc/sysrq-...
Ram Too's user avatar
0 votes
1 answer
4k views

DRBD: "Couldn't mount device [/dev/drbd0] as /mydata" when failing over or rebooting node

I'm creating a cluster system using two ESXi hosts, with a CentOS 7 server on each. Going through I created the filesystem, and it mounts on node1. When I perform a standby or reboot from node01 to ...
markb's user avatar
  • 143
1 vote
1 answer
1k 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 ...
James Shewey's user avatar
  • 1,156
0 votes
0 answers
470 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 ...
pbrunnen's user avatar
  • 113
1 vote
1 answer
2k 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 ...
User2019's user avatar
1 vote
0 answers
427 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 ...
irfan's user avatar
  • 11
1 vote
1 answer
2k 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 ...
Marko Todoric's user avatar
2 votes
1 answer
3k 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 ...
Marko Todoric's user avatar
1 vote
1 answer
701 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' ...
user359629's user avatar
0 votes
0 answers
3k 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: ...
Chaminda Bandara's user avatar
1 vote
0 answers
697 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 ...
Shaunak Patel's user avatar
2 votes
1 answer
13k 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 ...
blabla_trace's user avatar
0 votes
1 answer
1k 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 ...
blabla_trace's user avatar
2 votes
1 answer
2k 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 ...
Ozbit's user avatar
  • 429
1 vote
1 answer
290 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 ...
Ozbit's user avatar
  • 429
1 vote
1 answer
1k 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 ...
Gaoa Bueao's user avatar
0 votes
1 answer
3k 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 # ...
cody's user avatar
  • 57
3 votes
2 answers
12k 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-...
yesOrMaybeWhatever's user avatar
0 votes
1 answer
2k 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, ...
yesOrMaybeWhatever's user avatar
0 votes
2 answers
179 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) ...
user2983011's user avatar
1 vote
1 answer
2k 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 ...
krs4keshara's user avatar
0 votes
1 answer
393 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 ...
Hamdi Ghodbane's user avatar
0 votes
2 answers
3k 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), ...
Greg's user avatar
  • 187
1 vote
2 answers
8k 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 ...
Mohammed Ali's user avatar
0 votes
1 answer
8k 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 ...
Vinod's user avatar
  • 131
0 votes
1 answer
1k 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" ...
Boban P.'s user avatar
  • 1,930
0 votes
1 answer
567 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 ...
Lolu911's user avatar
  • 23
2 votes
1 answer
1k 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. ...
FreeSoftwareServers's user avatar
1 vote
1 answer
2k 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 ...
Pavel Gurkov's user avatar
2 votes
1 answer
5k 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://...
FreeSoftwareServers's user avatar
1 vote
1 answer
9k 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. ...
FreeSoftwareServers's user avatar
1 vote
2 answers
2k 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' ...
FreeSoftwareServers's user avatar
0 votes
1 answer
607 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 ...
MeatLips's user avatar
2 votes
1 answer
1k 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:...
FreeSoftwareServers's user avatar
1 vote
2 answers
9k 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 ...
mijhael3000's user avatar
0 votes
1 answer
11k views

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

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 ...
FreeSoftwareServers's user avatar
1 vote
3 answers
10k 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 ...
FreeSoftwareServers's user avatar
0 votes
1 answer
1k 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 ...
elbarna's user avatar
  • 12.8k