Questions tagged [linux-ha]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19 votes
9 answers
6k views

Architecture for highly available MySQL with automatic failover in physically diverse locations

I have been researching high availability (HA) solutions for MySQL between data centers. For servers located in the same physical environment, I have preferred dual master with heartbeat (floating ...
Warner's user avatar
  • 24k
9 votes
2 answers
30k views

How to get DRBD nodes out of Connection State StandAlone (and WFConnection)?

My Debian 8.9 DRBD 8.4.3 setup somehow has got into a state where the two nodes cannot connect over the network any more. They should replicate a single resource r1, but immediately after drbdadm ...
rookie09's user avatar
  • 653
7 votes
1 answer
973 views

Heartbeat meatware STONITH on kernel panic

I have a two node cluster with heartbeat and DRBD managing a mysql resource. The failover works great if I halt the primary, reboot it, or disconnect the network connection. However, if the primary ...
Ethan Hayon's user avatar
6 votes
2 answers
29k views

crm command(cluster managment for pacemaker) not found in latest Centos 6

I have done such setup before, was no any issues. Now i can't do "crm configure" becuase no crm command availible in current package. Am I missing something? Maybe it replaced by other way/command? [...
arheops's user avatar
  • 708
4 votes
1 answer
7k views

relation between heartbeat,openais,corosync

i am planning for high availability on lucid ubuntu, i started with drbd after a simple configuration on drbd I went to heartbeat and had a simple config on it too. on drbd official site a document ...
amin's user avatar
  • 225
4 votes
1 answer
7k views

Heartbeat vs UCarp

Can anyone explain what is the major difference between Heartbeat and UCarp for IP fail-over scenarios? They both seem to provide this functionality, perhaps UCarp simpler to set-up? Thanks.
SyRenity's user avatar
  • 3,189
4 votes
7 answers
2k views

Mixing Multi-Master Replication (MMR) with Linux-HA

I'm interested in using MMR (http://mysql-mmm.org/) for high availability and replication purposes. The problem is, I'm also interested in using Linux-HA for other services, such as Apache. The two ...
imaginative's user avatar
  • 1,981
3 votes
1 answer
10k views

Make pacemaker retry failed resources

I would like to get pacemaker to retry starting my resource primitive Imq ocf:example:imq \ op monitor on-fail="restart" interval="10s" \ op start interval="0" timeout="60s" on-fail="restart" \ ...
Gareth Davis's user avatar
3 votes
1 answer
15k views

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 ...
Kuruwan's user avatar
  • 121
2 votes
1 answer
184 views

Why to use fencing when you already have redundant communication links?

This article stays that you should use both fencing (aka STONITH) and redundant communication links. I'm trying to understand what benefits STONITH gives in case of split-brain. Consider for example ...
andrershov's user avatar
2 votes
1 answer
1k 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 ...
rookie09's user avatar
  • 653
2 votes
2 answers
3k views

Heartbeat on SLES 11

I am trying to setup Linux-HA (Heartbeat) on a new SLES 11 Server anyone know of a good step-by-step for this the site's docs leave a little to be desired... Thanks!
Autobyte's user avatar
  • 171
2 votes
1 answer
1k views

Linux HA Heartbeat Virtual IP Switching with domain name linked to it

I have heartbeat set up on two servers like so: Master: 10.15.1.50 Backup: 10.15.1.51 (Virtual IP: 10.15.1.52) So, the master always has 10.15.1.52 as well, but if it goes down, the backup will ...
Ethan Hayon's user avatar
2 votes
2 answers
2k views

Unexpected start of already-primary server processes when heartbeat on secondary is stopped

I've got an active-passive Heartbeat cluster with Apache, MySQL, ActiveMQ and DRBD. Today, I wanted to perform hardware-maintenance on the secondary node (node04), so I stopped the heartbeat service ...
Ger Apeldoorn's user avatar
2 votes
0 answers
4k views

How to check which node is the master with heartbeat?

I need to know which machine is the current active node in an active(1)-passive(n) cluster. Reading the docs I could come up with cl_status rscstatus <node name> which returns various values ...
The Mighty Rubber Duck's user avatar
2 votes
0 answers
1k views

Heartbeat is not claiming the resources

I am trying to build a dynamic cluster of machines that have to communicate with the master node (for reporting, updates and various other tasks that are to be dealt with by the master node). For ...
The Mighty Rubber Duck's user avatar
1 vote
2 answers
1k views

Correct use of Pacemaker's ocf-tester with OCF resource agents

I have got a setup with DRBD, Corosync, and Pacemaker in which Pacemaker should mount a file system atop a DRBD block device on different cluster nodes, depending on nodes' availabilies. The setup is ...
rookie09's user avatar
  • 653
1 vote
1 answer
9k views

could corosync can support unicast heartbeat mode?

could corosync can support unicast heartbeat mode? from another thread in serverfault, some guy raised below corosync conf: totem { version: 2 secauth: off interface { ...
Emre He's user avatar
  • 121
1 vote
1 answer
1k views

could heartbeat v3 monitor service/resource status without pacemaker?

I am trying to setup a HA system based on CentOS, I want to use heartbeat v3 for the "heartbeat" mechanism, resource start/stop, looks heartbeat can get it done. But about the resource status, ...
Emre He's user avatar
  • 121
1 vote
2 answers
323 views

Does corosync 1.4 support public IP's ?

I am creating a cloud based cluster so for now am using uni cast to connect to other pacemaker/corosync nodes.I was able to create a cluster using private IP's. To create a cross region cluster , I ...
nwarriorch's user avatar
0 votes
2 answers
2k views

crm status : 0 nodes and 0 resources configured

I've configure corosync and then I got these issue 0 nodes and 0 resources configured. [root@sitampan2 verdana]# crm status Stack: unknown Current DC: NONE Last updated: Thu Jun 16 15:15:40 2016 ...
Adi's user avatar
  • 3
0 votes
3 answers
105 views

change a file at a time located in different location

Iam very new to linux. suppose i have two file with same name fstab one file is located in /etc and the other is located in /root/ If i make a change in /etc/fstab file the changes has to reflect in /...
user avatar
0 votes
0 answers
1k views

pacemaker IP and MAC failover

I am setting up a system with two redundant servers, where one is an active one. If the active server goes down or is not reachable the other server has to become active. All the services are ready so ...
ozimki's user avatar
  • 1
0 votes
1 answer
623 views

Which technique should be chosen for IP failover with manual control

I have the following setup, Linux stack, with front-end running nginx proxy and static assets and back-end running Ruby on Rails and MySQL in master-master replication: Primary site: front-end.a, ...
Barry Kelly's user avatar
0 votes
1 answer
90 views

can you give me feedback on an HA architecture using linux-ha and pacemaker?

I am trying to come up with an architecture for achieving HA on one of our services (in-house service, single tcp connection for all requests). Just started reading on linux-ha and pacemaker, and i'd ...
Shlomi's user avatar
  • 103
0 votes
1 answer
1k views

Linux-HA Pacemaker.. NFS Resource starting "unmanaged"

My cluster I've been working on just starting acting up out of no where... It looks like I'm having an issue with the exportfs resource. Any ideas on how to troubleshoot this? I can find nothing for ...
Matthew's user avatar
  • 204
-1 votes
1 answer
615 views

Active node stops resources when pasive node is shutdown

2 nodes, active/pasive. 2 resources, a virtual ip, openLdap, and the nfs mount where openldap saves the data. When both nodes are up, things worked fine. You could move resources away and put the ...
Wakaru44's user avatar
  • 193