Questions tagged [corosync]

158 questions
4
votes
1 answer

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 those properties - **stonith-enabled:** true -…
drkmkzs
  • 191
  • 1
  • 1
  • 7
3
votes
1 answer

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 experience in it, have to say. The thing I'm…
StianM
  • 65
  • 1
  • 8
3
votes
1 answer

(Pacemaker) Nginx uses primary IP address instead of virtual IP to communicate with web servers

I have set up a two-node cluster (active/passive) with Corosync/Pacemaker and nginx as a reverse proxy. OS is RHEL7 and the machine has only one network interface at the moment. I configured two resources: cluster-vip for the shared virtual…
Litame
  • 43
  • 3
3
votes
1 answer

In a Pacemaker cluster, is there any way to set start-failure-is-fatal on a per resource basis?

I've got it set cluster-wide currently, but I'd really like it to be set to 'true' by default and false for only my Slave DRBD resource. Using Pacemaker 1.1.12 and Corosync 1.4.8.
javanix
  • 247
  • 3
  • 15
3
votes
0 answers

crm_mon -E does not run the external-agent on Debian Jessie

Setup I'm currently having a working 2-nodes HA cluster using Pacemaker+Corosync. My nodes are running on Debian 8 (Jessie). Now I would be able to get notified when changes occur in the cluster (resources stop/start, promote/demote, move...). Since…
Habovh
  • 271
  • 3
  • 12
3
votes
1 answer

Multi-state MySQL master/slave pacemaker resource fails to launch on cluster nodes

Setup I'm setting up an HA cluster for a web application using two physical servers in a Corosync/Pacemaker managed cluster. After finding out I was heading the wrong way, I decided to use heartbeat's bundled MySQL resource agent to manage my MySQL…
Habovh
  • 271
  • 3
  • 12
3
votes
1 answer

Is it possible to configure pacemaker with a configuration file?

I'm trying to configure pacemaker with a config file (that I can automatically generate and then ask pacemaker to "reload"). But all the examples that I see are for command-line commands or the interactive editor. (I'm running Ubuntu). The…
moomima
  • 497
  • 2
  • 5
  • 8
3
votes
1 answer

Corosync/Pacemaker + Haproxy Failed Actions: insufficient privileges

I setup a Corosync/Pacemaker cluster + HAproxy using the following guide on Ubuntu 14.04 LTS: http://www.sebastien-han.fr/blog/2012/04/15/active-passive-failover-cluster-on-a-mysql-galera-cluster-with-haproxy-lsb-agent/ I have not added the virtual…
invulnarable27
  • 183
  • 1
  • 3
  • 8
3
votes
1 answer

How do I set the pacemaker cluster name with pcs?

I'm running two pacemaker clusters on the corosync stack on CentOS 7 with all packages up to date with the distro release/updates packages. Both clusters shows no cluster name with the command pcs status: Like this: Cluster name: Last updated: Mon…
MattBianco
  • 587
  • 1
  • 6
  • 23
3
votes
1 answer

Corosync dynamically add node

I have been experimenting with Pacemaker & Corosync for a HA setup. I installed it on two Ubuntu 14.04 Linode's and after a lot of back and forth on outdated config examples and tutorials, managed to get it up and running. This mostly due to the…
Wildex999
  • 63
  • 6
3
votes
1 answer

multicast address use in corosync

I'm wondering about the purpose of the multicast address in the corosync messaging software : Since we have to bind each net interface with an IP address and a specific port, and each ring communicate through those IP,I don't understand why we have…
Kuruwan
  • 91
  • 2
  • 2
  • 8
3
votes
1 answer

NFS failover fails with stale file handles while migrating resources

Running into a bit of a problem here , I set up two servers ( Centos 6 ) with Glusterfs and a shared directory between them, I have moved the nfs directory to the shared Gluster folder and have created a symlink on both boxes. The machines can talk…
Roncioiu
  • 53
  • 8
3
votes
1 answer

2 corosync nodes not online together (one offline, one online)

I am currently trying to set up corosync based on this tutorial: http://www.howtoforge.com/how-to-set-up-an-active-passive-postgresql-cluster-with-pacemaker-corosync-and-drbd-centos-5.5-p3 However, I am not able to get my 2 nodes connected. I have…
mokalovesoulmate
  • 51
  • 1
  • 1
  • 5
3
votes
1 answer

Pacemaker between Centos 5 and Centos 6

I'm having some troubles when configuring pacemaker+corosync between Centos 5 and Centos 6. Here is ouput of crm_mon: On node1: Last updated: Sun Jul 21 19:02:21 2013 Last change: Sun Jul 21 18:14:48 2013 via crmd on svr077-53149.localdomain Stack:…
cuonglm
  • 2,346
  • 2
  • 15
  • 20
3
votes
1 answer

corosync binding to 127.0.0.1 instead of correct interface

I have the following problem when trying to implement a two-node failover cluster, using Hetzner as the hosting provider. my corosync.conf is as follows: # Please read the corosync.conf.5 manual page compatibility: whitetank totem { version:…
thanasisk
  • 941
  • 6
  • 16
1
2
3
10 11