Questions tagged [linux-ha]
27 questions
19
votes
9 answers
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 VIP) using an active passive approach. The…
![](../../users/profiles/35817.webp)
Warner
- 23,440
- 2
- 57
- 69
7
votes
1 answer
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 down r1; drbadm up r1 on both nodes their /proc/drbd…
![](../../users/profiles/432220.webp)
rookie09
- 573
- 1
- 5
- 14
7
votes
1 answer
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 suffers from a kernel panic (simulated by running…
![](../../users/profiles/151701.webp)
Ethan Hayon
- 235
- 1
- 6
6
votes
2 answers
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?
[root@node1 src]# find / -name crm*|grep…
![](../../users/profiles/88807.webp)
arheops
- 708
- 1
- 5
- 13
4
votes
7 answers
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 overlap when it comes to certain things, such as…
![](../../users/profiles/19432.webp)
imaginative
- 1,941
- 9
- 32
- 48
4
votes
1 answer
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 told me heartbeat is legacy and i should meet…
![](../../users/profiles/65851.webp)
amin
- 225
- 2
- 11
4
votes
1 answer
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.
![](../../users/profiles/13323.webp)
SyRenity
- 3,159
- 11
- 55
- 79
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…
![](../../users/profiles/208755.webp)
Kuruwan
- 91
- 2
- 2
- 8
3
votes
1 answer
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" \
meta failure-timeout="30s"
Note that this…
![](../../users/profiles/11015.webp)
Gareth Davis
- 253
- 3
- 11
2
votes
1 answer
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 you have node A, node B, STONITH device that are…
![](../../users/profiles/242436.webp)
andrershov
- 123
- 2
2
votes
1 answer
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 take over 10.15.1.52. This works perfectly and fails…
![](../../users/profiles/151701.webp)
Ethan Hayon
- 235
- 1
- 6
2
votes
0 answers
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
which returns various values that are not that precise (all, transition, foreign,…
![](../../users/profiles/42453.webp)
The Mighty Rubber Duck
- 297
- 5
- 9
2
votes
0 answers
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 convenience I thought of using the heartbeat project…
![](../../users/profiles/42453.webp)
The Mighty Rubber Duck
- 297
- 5
- 9
2
votes
2 answers
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!
![](../../users/profiles/5751.webp)
Autobyte
- 171
- 3
- 8
2
votes
2 answers
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 before shutting it down.
Then, the primary node…
![](../../users/profiles/27093.webp)
Ger Apeldoorn
- 565
- 3
- 10