Am Freitag, 22. Mai 2009 20:13:40 schrieb Sébastien Prud'homme:
> Hi,
>
> I try to install an Apache cluster (only 2 nodes) with round-robin
> DNS.

Why RR DNS? If you have Linux-HA, Apache will be high available. No need for 
dirts RR DNS tricks.
Load distribution? Better use Linux Virtual Server than dirty DNS tricks. 


> I've setup Heartbeat 2.1.4 with:
This is an old version. Please use Linux-HA version 3 (pacemaker + heartbeat  
verison >= 2.99)

> - 1 clone resource to launch Apache on each node
> - 1 first IP adress with a constraint so that it prefers to be on the first
> node - 1 second IP adress with a constraint so that it prefers to be on the
> second node

Ok.

> Now i'd like to say that if the clone Apache ressource can not be
> started on a node, IP address should migrate on the other node.
> What is the most elegant way to do that?

Colokation. Make the IP run there, where an apache runs.

-- 
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