[Linux-HA] Colocation confusion

Christian Rishøj christian at rishoj.net
Sat Jun 16 19:40:04 MDT 2007


On 6/16/07, Andrew Beekhof <beekhof at gmail.com> wrote:
> > I am *assuming* clones works with colocation, because I can do:
>
> you can. but later versions have gotten better in that respect.
>
> I'm guessing you're using 2.0.8 right?

No, 2.0.7-2.


> you might want to try the packages available at:
>     http://software.opensuse.org/download/server:/ha-clustering/

Running Ubuntu, so I'm afraid the Suse packages is not an option.
Would you recommend compiling from source or CVS?


> since 2.0.8 came out, a colocation constraints such as:
>     <rsc_collocate from=A to=B score=INFINITY/>
>
> should be read as:
>      figure out where B is/goes, and then put A there too.
>
> so in your case, from=... should be your IP address and to=... the
> webserver and database clones

Aha! I have been interpreting the colocation in the opposite way.
Would you happen to know which behavior applies to 2.0.7.x?


Christian


More information about the Linux-HA mailing list