On 11/15/2012 02:52 AM, [email protected] wrote:
> Hello,
> 
> I don’t know if this email address is used for support, but I have not found
> any forum for HA … 

This channel is for pretty much any open-source cluster program, so you
are in the right place.

> I have to secure a "homemade" monitoring solution mainly based on Nagios 2.x
> and MySQL 5.1.
> 
> I must deploy an "active / passive" cluster with automated switch of
> services. 2 servers will be located on two different datacentres and
> connected by an optical fiber (which will be channeled through the lifeline
> + cluster replication data).

What you are trying to do is called a "stretch cluster". If you want
automatic failover, you will have some significant challenges. Mainly,
when a node stops responding, it needs to be put into a known state to
ensure that the same service isn't offered twice or that shared storage
is not happening without coordination.

This is done using fencing, and fencing only really useful when it uses
an independent network path. So dual links are needed. Now that
probability of failing both links at the same time is real (someone digs
without looking, for example) would break the cluster's fencing, leaving
the nodes hung until there is human intervention.

Stretch clustering requires very careful planning and rarely is worth it.

> The base of this solution is a 32-bit Debian Squeeze.
> 
> Tests were carried out with products DRBD (8.3.7) & Heartbeat (3.0.3) using
> the official Debian mirrors.

DRBD 8.3.7 is *very* old. Heartbeat is deprecated and has no future
development planned.

> The solution works well despite some freeze occurred since deployment but I
> am not sure that it come from clustering products.
> 
> I wanted to get your opinion on the various security products such cluster
> (HA / Pacemaker / Corosync / keepalived / OpenSVC ...) to point me towards
> the most efficient and adapted according to my needs.
> 
> Thank you in advance for your feedback. Do not hesitate if you want more
> details about these configurations.

The future of open source clustering is on corosync + pacemaker. I would
start by learning more about them.

cheers

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to