Questions tagged [corosync]
The corosync tag has no usage guidance.
162
questions
0
votes
0
answers
41
views
3-node Pacemaker setup shows 1 node 2 times, with the same name, one online and one offline
So I've got: machine001, machine002, machine003.
machine001 has 2 resources, machine002 has 1 resource. Normally they don't go on the same host, unless machine002 goes in standby.
Recently, I saw ...
0
votes
0
answers
30
views
A more detailed explanation of what bindnetaddr is?
Reading the documentation, I'm seeing:
bindnetaddr
This specifies the network address the corosync executive should bind to.
For example, if the local interface is 192.168.5.92 with netmask 255.255....
0
votes
0
answers
25
views
STONITH Block Device daemon (SBD) actions based on conditions
Is there any detailed description how SBD reacts to various conditions/issues? sbd(8) is not very detailed I would say. I can't read the source which is here: https://github.com/ClusterLabs/sbd/blob/...
0
votes
0
answers
17
views
OCF resource agent/script for permanently checking tcp socket on layer 4?
How to utilize the OCF, Pacemaker and Corosync to permanently check the availability of a tcp socket?
For the handling of certain services from within Pacemaker/Corosync I would like to constantly ...
0
votes
0
answers
17
views
OCF resource agent/script for permanently checking running processes?
Currently I am working with the OCF, Pacemaker and Corosync and wonder the following. How do one cleanly realize a simple process checker (like with pgrep) that constantly checks the availability of a ...
0
votes
0
answers
74
views
How to make ping-check in case of split-brain?
What I want - in case of split-brain (connectivity loss between two nodes) ONLY, each node should check ping status and start resources if ping is OK. How to implement this?
"pcs config show"...
2
votes
2
answers
318
views
NFS Server - Corosync, DRBD & Pacemaker
I have 2 HA NFS server (Ubuntu with CoroSync, Pacemaker & DRBD).
Everything is working beautifully with one small issue.
If I kill an NFS it fails over seamlessly (NICE!)
As the killed node is ...
0
votes
1
answer
83
views
Corosync allowing resources on two systems
We are using pacemaker/corosync for HA. This includes both virtual IP's and software. The other day we had a failure and corosync showed the IPAddress started on both nodes which IMHO should never ...
0
votes
2
answers
143
views
Pacemaker - Logging the result of a ping check?
I read this page and the next: https://clusterlabs.org/pacemaker/doc/deprecated/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_moving_resources_due_to_connectivity_changes.html
And it explains how to ...
0
votes
0
answers
363
views
Clustered vsftpd service stops working with no error log
We've got a pacemaker cluster of vsftpd server made of two nodes in a active/pasive scheme. We have experienced the following behaviour.
vsftpd.log stops recording activity while xferlog keeps ...
2
votes
0
answers
56
views
Is there a way to have pacemaker resource groups failover if all floating IP resources are unavailable?
I want to have multiple floating IPs in a resource group that will only failover if all IPs cannot work. Each floating IP is on a different subnet and can be used by the application I have. If a ...
0
votes
1
answer
4k
views
pcs creating cluster fails because of unknown hosts
I am following several tutorials now and all of them have such steps -- authenticate given hosts in pcs and then create cluster. Yet in my case the first step (authenticating) works while the second ...
3
votes
1
answer
251
views
Corosync-Pacemaker no split brain
I'm trying to set up a cluster of two nodes using CentOS 7, Corosync, Pacemaker and pcsd. I can migrate resources manually from one node to another, but if I turn off primary node (by unplugging the ...
0
votes
0
answers
906
views
CentOS 7 - GlusterFS & Pacemaker & Corosync
I try to install a little GlusterFS (for NFS) Cluster with CentOS High Availability.
I have really no idea why it failed. I started multiple times from scratch. My problem is, that I can't see any ...
2
votes
1
answer
599
views
PCSD simple Master/Slave will not fail master over
I am trying to write a trivial pacemaker Master/Slave system. I created an agent, it's metadata follows:
elm_meta_data() {
cat <<EOF
<?xml version="1.0"?>
<!DOCTYPE ...
0
votes
1
answer
74
views
DRBD Single Primary Ignore File Types
Is it possible to have an exclusion list for file types (maybe even specific files) so that they wont try to sync with the secondary nodes? I have looked at the DRBD configuration file and cannot find ...
0
votes
2
answers
333
views
Pacemaker Corosync OCF Resource Lifecycle
I have been currently asked to setup Pacemaker Corosync and this is entirely new for me. I currently have a 2 node cluster. And what I want to do is to reassign the IP to the other node if active node ...
1
vote
1
answer
237
views
Pacemaker does not boot service after node switch
I am using two virtual Ubuntu servers (latest long-term) and both have equal configuration, and are running Squid services and pcs pacemaker corosync. I have two nodes Squid01 and Squid02 with one ...
0
votes
1
answer
2k
views
Squid Proxy .pid file disappears after few seconds on startup
I have two virtual Ubuntu Servers which are equal and both have Squid Proxy on them.
The problem is that Squid on server startup creates .pid file, but after 10-20 seconds it disappears and I have to ...
1
vote
1
answer
495
views
How to extend Active-Active cluster with FreeNAS as shared storage?
I have two physical nodes powered by Ubuntu and connected to each other with Corosync. And I have the FreeNAS server as NAS. This NAS server mounted on every node - basic scenario.
Now I'm not able ...
4
votes
1
answer
986
views
corosync/pacemaker/fencing - passive/active cluster with 2 nodes
I'm configuring a cluster 2 nodes with pacemaker/corosync, and I have some question about it (and maybe best practice : i'm far to be specialist)
**OS:** redhat 7.6
I configurated the cluster with ...
0
votes
1
answer
1k
views
NFS cluster corosync + pacemaker + drbd
I made up a NFS cluster with pacemaker DRBD and corosync with two nodes everything was working fine, on my tests trying different fail over scenario my cluster is completely broken, I can't no more ...
0
votes
1
answer
3k
views
pacemaker won't start because duplicate node but can't remove dupe node because pacemaker won't start
OK! Really new to pacemaker/corosync, like 1 day new.
Software: Ubuntu 18.04 LTS and the versions associated with that distro.
pacemakerd: 1.1.18
corosync: 2.4.3
I accidentally removed the nodes ...
0
votes
1
answer
613
views
Linux RHEL cluster
I'm trying to setup a PCS cluster on two nodes running Red-hat, and did successfully, I want to setup syslog server (rsyslog) in Active/Passive mode.
I created the cluster and added the resources, I ...
0
votes
2
answers
645
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
1
answer
684
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 ...
0
votes
0
answers
298
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 ...
1
vote
0
answers
596
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 ...
2
votes
1
answer
2k
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
0
answers
1k
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
...
1
vote
1
answer
3k
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?
1
vote
1
answer
231
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 ...
8
votes
3
answers
2k
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
1
answer
3k
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 : 9....
0
votes
1
answer
225
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 ...
1
vote
1
answer
697
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
3
answers
673
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
2
answers
2k
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
0
answers
2k
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
2
answers
1k
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 ...
2
votes
0
answers
413
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 ...
3
votes
1
answer
4k
views
Corosync HA preventing split-brain scenario
I'm setting up a test system for self-teaching about load balancing and high availability and I'm curious about a configuration setting in Corosync and would like to know what you guys who have ...
1
vote
1
answer
166
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 ...
2
votes
1
answer
536
views
Corosync cluster will not bind vips to loopback, so apache fails to start in CentOS 7
I have a problem getting apache to work in a corosync cluster.
I probably sifted through more than hundred web pages and a couple of dozen Google Searches, and was not able to find any matching ...
2
votes
0
answers
726
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 ...
0
votes
1
answer
1k
views
Dead node in Pacemaker cluster: "Couldn't complete CIB registration"
I have a situation where a two-node Pacemaker cluster does not work any more after an upgrade. Package versions are pacemaker 1.1.16-1~bpo8+ and corosync 2.4.2-3~bpo8+1 under Debian Jessie.
Pacemaker ...
3
votes
1
answer
3k
views
DRBD resources not coming back online - Pacemaker + Corosync
I am using DRBD for replication. For testing purpose I am using 2 VMs. I have noticed that if I disconnect network interface on a node then it moves to standalone, and after I reconnect it does not go ...
2
votes
1
answer
861
views
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 ...
0
votes
1
answer
2k
views
pacemaker not able to start MySQL on second node
I have a pacemaker/corosync/drbd setup on 2 physically idential Ubuntu Server 16.04 LTS and I am trying to achieve high availability for MySQL 5.7 and Apache 2.4.
Both servers where set up the exact ...
1
vote
2
answers
4k
views
corosync systemd resource does not reflect service status
I have configured corosync cluster with few recources.
There is custom systemd service 'jira' and systemctl corectly returns its status.
QUESTION: How can I configure corosync to respect failed ...