Questions tagged [pacemaker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 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': ...
user avatar
0 votes
0 answers
95 views

Warnings Resource is promotable but has not been promoted on any node

when i configuring cluster i get warning: Resource is promotable but has not been promoted on any node My conf. pcs resource create pgsqld ocf:heartbeat:pgsqlms \ op start timeout=60s ...
user avatar
1 vote
1 answer
183 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 ...
user avatar
  • 11
0 votes
0 answers
185 views

Two node cluster using PCS ( corosync configuration mismatch )

I have configured two node cluster using PCS,corosync and pacemaker. But when I executed the following command on both node there is difference in flag WAITFORALL is missing on production node. ...
user avatar
0 votes
0 answers
110 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 \ ...
user avatar
  • 718
0 votes
0 answers
104 views

is it applicable to install oracle db 19c on pacemaker cluster?

I want to install oracle 19 c on an RHEL Cluster. I configure 2 RHEL 7.7 with pacemaker cluster and all is working well for VIP IP and shared disk. Is it applicable to install the oracle database on ...
user avatar
1 vote
0 answers
20 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 ...
user avatar
0 votes
0 answers
57 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/...
user avatar
  • 801
1 vote
1 answer
205 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....
user avatar
0 votes
1 answer
857 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 ...
user avatar
1 vote
0 answers
277 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 ...
user avatar
  • 113
0 votes
1 answer
968 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 ...
user avatar
  • 1
0 votes
2 answers
318 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-...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 113
1 vote
1 answer
982 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 ...
user avatar
0 votes
0 answers
207 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 ...
user avatar
  • 113
1 vote
1 answer
1k 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 ...
user avatar
1 vote
0 answers
304 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 ...
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 ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
396 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' ...
user avatar
0 votes
0 answers
2k 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: ...
user avatar
1 vote
0 answers
460 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 ...
user avatar
1 vote
1 answer
7k 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 ...
user avatar
0 votes
1 answer
894 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 389
1 vote
1 answer
200 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 ...
user avatar
  • 389
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 ...
user avatar
0 votes
1 answer
2k 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 # ...
user avatar
  • 57
2 votes
2 answers
8k 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-...
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, ...
user avatar
0 votes
2 answers
108 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) ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
1 answer
290 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 ...
user avatar
0 votes
1 answer
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), ...
user avatar
  • 177
0 votes
2 answers
6k 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 ...
user avatar
0 votes
1 answer
6k 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 ...
user avatar
  • 131
0 votes
1 answer
993 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" ...
user avatar
  • 1,812
0 votes
1 answer
493 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 ...
user avatar
  • 23
2 votes
1 answer
923 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. ...
user avatar
1 vote
1 answer
1k 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 ...
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://...
user avatar
1 vote
1 answer
8k 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. ...
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' ...
user avatar
0 votes
1 answer
555 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 ...
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:...
user avatar
1 vote
2 answers
8k 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 ...
user avatar
0 votes
1 answer
9k 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 ...
user avatar
1 vote
3 answers
8k 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 ...
user avatar
0 votes
1 answer
917 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 ...
user avatar
  • 10.9k