corosync active-active with 2 virtual IPs – clone constraints task

I have DNS roundrobin on 2 virtual IP in front of service. (Among others the service tested was: apache, nginx, varnish, postfix, … It really does not matter. Let’s call it just service.) I have corosync config where on two nodes service is running (as a clone with max=2 max-node=1) and each node has one … Read more

How to integrate the fence_cisco_ucs.py(python) script with the pacemaker-1.1.10 and corosync-2.3.3

I have CentOS 7 on the Oracle VM VirtualBox. I have installed the pacemaker-1.1.10, corosync-2.3.3 and pcs tools. I able to create normalocf::heartbeat:IPaddr2 and ocf::heartbeat:apache etc resources. I am trying to have stonith based resource agent in my 2 node cluster. I have copied the fence_cisco_ucs.py file in /usr/sbin/ folder and executed : $./fence_cisco_ucs.py -o … Read more

Is it possible for corosync / pacemaker to consider a node active only if a particular process is running?

I want a node to be considered “online” (and thus able to get resources) only after it is ready for them (that is, a particular process is up and running.) Is there a way to configure pacemaker to check if a particular process is running, and only then set the node “online”? Thanks! Answer corosync … Read more

Pacemaker ClusterIP stops working after 15 minutes but is still running

I am running Corosync and Pacemaker via a cman stack, in an active-active setup delivering web pages, and I’ve hit a brick wall. I’m using the IPaddr2 resource agent to have an IP that is used simoultaneously by both nodes, and after about 15 minutes, it stops working. It is still running according to PCS, … Read more

HA pacemaker monitor_5000 on zabserver-a ‘not running’ (7): call=53, status=complete, last-rc-change=’Mon Jul 13 07:51:32 2015′, queued=0ms, exec=0ms

I have a Zabbix active/passive cluster using pacemaker and cman. However, I am seeing the following in “pcs status” and during failover the zabbix-server service is not coming up. The floating IP moves over just fine though. OS CentOS 6.6 Zabbix 2.4 [root@abc-zabserver-b cluster]# rpm -qa | grep cman cman-3.0.12.1-68.el6_6.1.x86_64 [root@abc-zabserver-b cluster]# rpm -qa | … Read more

nginx high-availability with corosync and pacemaker

I configured nginx in a failover with corosync and pacemaker. Everything looked until the test of the failover: The VirtualIP is transmitted to the other host, but the resouce reverseproxy fails to start. If I do a debug-start, everything works fine. Please see my configuration: # crm_verify -VL error: unpack_rsc_op: Preventing reverseproxy from re-starting anywhere: … Read more

How to make node join the cluster (Pacemaker, Corosync 2 node setup) automatically after disconnection / unplugging?

I have a 2 node cluster running Corosync and Pacemaker. If I physically unplug the network cable on one node, the other one becomes standalone. But when I plug the network cable back in, I want it to automatically join the cluster, without any other human interference. Is that doable? Answer Yes it is, but … Read more

CIB not supported: validator ‘pacemaker-2.0’, release ‘3.0.9’

I am trying to make two node clusters with pacemaker and corosync. When I want to change config with crm I get the following error: CIB not supported: validator ‘pacemaker-2.0’, release ‘3.0.9’ I can use crm for status and other feature but I can’t change config with it. Does anyone work with pacemaker? I use … Read more

Corosync configuration with puppet

I’m relatively new to puppet, and I’m trying to create a configuration with puppet that will spit out a ready-to-go production system, like we’re currently using. I’m using Debian Jessie with Puppet 3.7.2 as both the puppet master and client. I’ve installed corosync from backports and now I’m trying to configure it similar to the … Read more