Questions tagged [corosync]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
67 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 ...
2
votes
1answer
27 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
0answers
279 views

pcs status shows online but pcs cluster status shows offline

I have a problem to communicate with my servers. currently i have 3 debian 9 server (server1,server2,server3). pcs status Cluster name: vipcluster Stack: corosync Current DC: server1 (version 1.1.16-...
0
votes
0answers
126 views

pcs status command is showing failed resource actions. pcs resource cleanup is also not working, because they keep coming back

I have corosync and pacemaker configured in my environment but on pcs status, I keep seeing failed resources as shown below Failed Resource Actions: * vip03_monitor_10000 on vm01 'not running' (7):...
0
votes
0answers
217 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 ...
0
votes
0answers
87 views

Pacemaker with Corosync - healthcheck, endpoint monitoring

I have two CentOS VMs with Pacemaker and Corosync configured (with no-quorum-policy=ignore and STONITH enabled). On each machine are 3 application services and Nginx service (webserver). Pacemaker ...
0
votes
0answers
129 views

node in cluster does not stop resource after network interface is down

i have below scenario: two node cluster Debian 10 with pacemaker, corosync and crmsh shbk-1(node 1): ens36 10.10.10.5 shbk-2(node 2): ens36 10.10.10.10 virtual_ip: 192.168.1.67 (it set on ens36) /...
2
votes
1answer
36 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
1answer
32 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
2answers
50 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
1answer
67 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
1answer
271 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
1answer
293 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
1answer
456 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
1answer
505 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
1answer
977 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
1answer
372 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
2answers
265 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
1answer
239 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
0answers
139 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
0answers
368 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
1answer
1k 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
0answers
516 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 ...
0
votes
1answer
503 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
1answer
107 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
3answers
1k 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
1answer
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 : ...
0
votes
1answer
162 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
1answer
500 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
3answers
452 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
2answers
1k 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
0answers
1k 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
2answers
564 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
0answers
271 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
1answer
3k 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
1answer
128 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 ...
1
vote
1answer
344 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
0answers
595 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
1answer
730 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
1answer
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
1answer
794 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
1answer
1k 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
2answers
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
1answer
532 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
1answer
2k 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
1answer
767 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
1answer
5k 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
1answer
2k 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
1answer
438 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 ...
0
votes
0answers
274 views

pcs status is reporting wrong output in Corosync and pacemaker configuration

I've configured Corosync and Pacemaker in two Centos servers and everything is working fine. The problem is when I issue pcs status It reports: Online: [ Node1.localomain ] OFFLINE: [ Node2....