Questions tagged [corosync]

158 questions
3
votes
1 answer

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 power cable), secondary node does not become…
user46170
  • 51
  • 3
2
votes
1 answer

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 (virtual IP) and res_apache (apache2). These are just…
pToker
  • 51
  • 4
2
votes
2 answers

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 nodes configured 4 resources configured Online: […
namezero
  • 161
  • 6
2
votes
0 answers

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…
Vijay S B
  • 185
  • 1
  • 4
2
votes
1 answer

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 answer on my issue. root@hh1web03t ~# uname -a Linux…
Rudy
  • 21
  • 1
2
votes
0 answers

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 the specified ethernet physical device by…
javanix
  • 247
  • 3
  • 15
2
votes
1 answer

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 back to connected or WFconnection mode. Is there…
bakasan
  • 93
  • 1
  • 10
2
votes
1 answer

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 stuck at the step of private_binding_IP_address I…
2
votes
1 answer

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 way to do it.I know i must never open directly…
2
votes
1 answer

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 quicker way, because pcs status cluster makes it…
MattBianco
  • 587
  • 1
  • 6
  • 23
2
votes
1 answer

Slow Failover in Squid Cluster

I created a cluster with Corosync/Pacemaker. In the cluster i've configured two resources, a virtual IP and Squid. There are 2 nodes in the cluster working on Debian 8. crm_status displays, both nodes are Online and everything works fine. For…
2
votes
2 answers

DRBD Failed with pacemaker

I'm new with Pacemaker and DRBD but I have to configure them together. I created 2 drbd resources : Drbdwww and DrbdMysql But when I use drbd_mon I have the following errors : Stack: corosync Current DC: s-ha-web1 (version 1.1.15-e174ec8) -…
anakin.wow
  • 23
  • 1
  • 4
2
votes
1 answer

Do Standby nodes participate/vote in Quorum - Pacemaker - Corosync - 3rd Quorum Only node

I'm setting up a simple 3rd VM to join my HA Cluster. This VM shouldn't ever run any services, except participate in the Quorum vote. In Galera Cluster there is a nice daemon for this, garbd, but for Pacemaker, it seems that its all done via…
FreeSoftwareServers
  • 571
  • 1
  • 6
  • 25
2
votes
1 answer

Pacemaker failure-timeout don't reset failcount

I'm using Pacemaker 1.1.13 and Corosync 2.3.4 on Centos7. I've a problem with Master/Slave resource. There is meta attrs for my resource: migration-threshold=1 failure-timeout=10s but when the resource goes down, there is only one attempt to start…
scooty
  • 23
  • 1
  • 3
2
votes
2 answers

Linux HA Cluster: running a resource as non-root user

i'm have successfully setup the HA cluster using pacemaker and corosync on centos7, and i've also been able to add and start resources. one of the resources is an instance of tomcat, and in the current configuration it runs fine. the only problem i…
ksm
  • 276
  • 1
  • 8
1 2
3
10 11