Am Mittwoch, 6. August 2008 09:36 schrieb Carlo Granisso:
> First of all hello everybody.... :)
>
> I've few questions about heartbeat:
>
> 1) I need to make an HA system with no main node but "distributed" control
> system: goal is to have a pool of N production servers with one (or more)
> standby machine. When one of the N servers goes down, the other in standby
> must become up. All machines can have it's indipendent disk and, for the
> moment, sync data is not important. It's possibile this solution with
> heartbeat?

Yes.

> 2) Somewhere I've seen that with heartbeat is possible to have HA with more
> than two nodes for a service (e.g. httpd or mysql) but I haven't found
> tutorials that can help me (only for two nodes). It seems that from v2 is
> it possible by enabling in ha.cf "crm" parameter. Can you help me with some
> example?

CRM will not help you here, you will need it anyway.
You can acchieve this goal by using Linux Virtual Server as a load balancing 
solution in front of your application servers. Using the "localhost" feature 
of LVS you also can create a setup of load bancers and application servers on 
two machines with both machines beeing active.

Alternatively you can use the CLUSTERIP feature of the IPaddr2 resource agent 
of Linux-HA (Version 2, crm=on). Please see the tutorial for this setup on:
http://www.linux-ha.org/ClusterIP

Please be careful with the second approach. It hasn't been tested in the wild 
a lot. Please mail me if you have any questions.

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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