Questions tagged [corosync]
The corosync tag has no usage guidance.
156
questions
0
votes
1
answer
32
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
49
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
26
views
PCS two nodes resource start at the same time
I am configuring a two nodes cluster Active/passive where the resources of one node is up at a time, so I added two resources IP address and service, The problem is that after configuring the cluster ...
0
votes
0
answers
169
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
24
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
2k
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
143
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
618
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
168
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
56
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
179
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
150
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
1k
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
379
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
737
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
824
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
2k
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
497
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
460
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
441
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
191
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
495
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
779
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
2k
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
174
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
2k
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
192
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
600
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
570
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
800
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
333
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
146
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
440
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
659
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
930
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 ...
2
votes
1
answer
2k
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
826
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 ...
1
vote
1
answer
627
views
SQL Server 2017 crashed during startup on Ubuntu with Pacemaker failover
I have installed mssql-server and mssql-server-ha on Ubuntu Server 16.04 LTS. I'm using drbd on two nodes, with pacemaker and corosync attempting to control the automatic failover between the two ...
0
votes
1
answer
3k
views
DRBD Status after Network fail become Primary/Unknown
i have the following structure:
2 nodes.
corosync + pacemaker + DRBD + OCFS2.
==============
After test Network fail the status from DRBD become:
****Primary/Unknown****
dmesg show the following:
...
1
vote
1
answer
881
views
Pacemaker location constraints on resources apparently not obeyed
I have a Pacemaker setup with two STONITH resources. They have location constraints that crm configure show lists as follows:
location loc_stonith_node1 stonith_node1 rule -inf: #id eq node1
location ...
2
votes
1
answer
6k
views
Edit HA cluster config cib.xml
I want to edit pingd of my cluster config living on centos 6.5 because the addresses are no longer valid and my cluster always switching to the other node because of the failed nodes.What is the best ...
2
votes
1
answer
3k
views
Quickly find out if pacemaker/corosync has quorum/is quorate
In a shell script, we currently call /usr/sbin/pcs status cluster and then grep -qE for 'Current DC:.*partition with quorum' to find out if the cluster is fine.
I would like to know if there is a ...
0
votes
1
answer
495
views
CLVM with shared storage not available to all nodes in the cluster
If you are running a 3 or more node cluster with cman/corosync and you have some sort of shared block storage (SAN) connected only to some nodes in the cluster how can you enable CLVM on that storage ...