Questions tagged [pacemaker]

Pacemaker is, according to its website, an Open Source, High Availability resource manager suitable for both small and large clusters.

Pacemaker is, according to its website, an open source, high availability resource manager suitable for both small and large clusters.

136 questions
0
votes
1 answer

Pacemaker configuration for xCAT

I'm looking to set up an xCAT HA solution using this guide: https://xcat-docs.readthedocs.io/en/stable/advanced/hamn/setup_ha_mgmt_node_with_drbd_pacemaker_corosync.html Unfortunately this guide is fairly old and outdated. I've got most of it…
Pete Wall
  • 55
  • 11
0
votes
1 answer

Geo cluster with pacemaker - quorum vs booth

I configured a geo cluster using pacemaker and DRBD. The cluster has 3 different nodes, each node is in a different geographic location. The locations are pretty close to one another and the communication between them is fast enough for our…
Rubinsh
  • 4,883
  • 10
  • 34
  • 41
0
votes
1 answer

Trying to create my own pacemaker agent. It all starts as slaves, or won't fail over. How do I configure to start a master and failover?

I am trying to write a trivial pacemaker Master/Slave system. I created an agent, it's metadata follows: elm_meta_data() { cat <
Steve
  • 1,557
  • 2
  • 17
  • 34
0
votes
1 answer

Pacemaker cluster stops all resources permanently

Is it possible to configure Pacemaker resource group in such way that in case of resource timeout on invoking any operation (monitor, start, stop may be ignored), cluster manager will migrate resources to a Standby node? If there will again problem…
0
votes
1 answer

Ping constraint not moving DRBD primary

I have a two node cluster (CentOS7-based), intended to be active/passive with DRBD resources and app resources dependant on them and a cluster ip dependant on the apps through ordering constraints. I have no colocation constraints. Instead all my…
Waslap
  • 572
  • 3
  • 23
0
votes
1 answer

What configure fault?

We hace a cluster two nodes with 2 resources, elastic-ip and nginx, and when we run crm_verify -LV error: unpack_operation: Specifying on_fail=fence and stonith-enabled=false makes no sense error: unpack_operation: Specifying on_fail=fence…
Ubunter
  • 23
  • 1
  • 6
0
votes
1 answer

OpenStack HA Configuration problem missing file

according to the tutorial at https://www.golinuxcloud.com/configure-haproxy-in-openstack-high-availability/ trying to implement HA. I'm stuck at the step where I need to add a VIP alias to the /etc/httpd/conf.d/15-horizon_vhost.conf file that I…
0
votes
2 answers

AWS Region Problem with Pacemaker and Corosync

I am currently trying to implement a HA failover on AWS with 3 EC2 instances. Let's say these 3 machines' names are HA1, HA2 and HA3. HA1 has the Elastic IP and the other two has standart public IPs to establish SSH connection. I already followed…
0
votes
1 answer

Postgres on SAN

I have two postgres nodes with a shared storage (only for data, not for config), works simply by stopping postgres on one side and starting it on the other. Pacemaker (PAF) handles stop/start between the nodes. Questions: What type of PostgreSQL…
Andy Thompson
  • 284
  • 1
  • 3
  • 21
0
votes
1 answer

LXD + SAN + Corosync/Pacemaker: sharing container

I have a Pacemaker/Corosync cluster running with a SAN. I try to setup LXD on this environment, but I not able to do. I can't find a way to put the LXD container environment in a directory on SAN, accessible for all nodes. Second way I tried is to…
0
votes
1 answer

keep pcs resources always running on all hosts

Is there a way to configure resources with pcs command, that they will keep always up on all configured nodes? I'm asking this question because I could observe following behaviour in my 2 node setup: For example a two node setup with two resources,…
0
votes
1 answer

How to prioritize nodes in Pacemaker/Corosync?

I have followed a guide and created a Nginx HA Cluster with a floating IP. (Nginx, corosync, pacemaker are being used) The guide I followed: https://dzone.com/articles/how-to-configure-nginx-high-availability-cluster-u I succesfully created a 2 node…
0
votes
1 answer

in Linux HA can we assign node affinity to a crm resource

I am using linux HA cluster on SUSE12 SP3 using SLEHA12SP3 I have created a custom CRM resource ( I call it ucaproc) using a ocf resource agent "ocf::heartbeat:anything" . My question however is about the affinity that crm resources have to nodes…
Yogesh Devi
  • 617
  • 11
  • 30
0
votes
1 answer

Is there a way to reorder cluster resource group after pcs resource add

By default my resource group contains 3 resources which are added in proper order as required. [root@2 ~]# pcs resource Resource Group: RES-1 RES_a1 (ocf::abc:cde): Started RES_a1-p1 (ocf::f:I2): Started RES_a2 …
0
votes
1 answer

Upgrade from Wheezy to Jessie: heartbeat + pacemaker, Using legacy config location: /var/lib/heartbeat/crm but doesn't seem to work

Trying to upgrade from Wheezy to Jessie (I know, late). I already found out that despite heartbeat,pacemaker and corosync version numbers barely changing, there is big change in how it's supposed to work. I'm using this article…
Honza
  • 499
  • 4
  • 12