Re: UM3 + different pools of services/realservers
Mattias Andersson <[email protected]> Mon, 21 Aug 2006 16:09:25 +0200
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Hi Nick.
Sorry for the late reply, I didn't get your problem the first time
reading your mail.
Now I think I get it.
You simply want to configure multiple virtual services on one director pair?
If so, what you want to do is simply add more IPaddr2 lines in your
haresources...
Like:
dir01.ece.utexas.edu \
ldirectord::ldirectord.cf \
LVSSyncDaemonSwap::master \
IPaddr2::128.83.59.2/24/eth0/128.83.59.255 \
IPaddr2::128.83.59.3/24/eth0/128.83.59.255 \
IPaddr2::128.83.59.4/24/eth0/128.83.59.255
Be carefull with the \ at the end of the line and start the line with a tab...
Hearbeat identifies the diffrent cluster-resources with the first line in the
haresources config. In the example above the line:
ldirectord::ldirectord.cf \
This implies that if you want to have many diffrent resource-groups this first line must be diffrent for each group
(an good idea is to have for example an IPaddr2-line first since you probably will have diffrent IPaddresses to you resource groups...)
Anyway, in you case I think you would like to have only one group with many IPaddr2 line...
No need to try to start ldirectord many times is it...?
And of course in ldirectord.cd you have _all_ your services defined...
/Mattias
IPaddr2::128.83.59.2/24/eth0/128.83.59.255
Nick Silkey skrev:
> We have a bevy of highly-available LVS services which have worked
> wonderfully behind individual directors (LVS-DR; n number of real
> servers behind a pair of UM3 directors).
>
> As the number of LVS-enabled services have grown, the director pairs
> have as well. We are seeking to consolidate the various pairs of
> directors for each service to a lone pair of directors performing
> rewrites for all the services.
>
> This has not been smooth sailing. The best we can get UM3 to perform is
> HA for a lone service. It appears that UM3 never adds the
> second/third/etc. addresses for the services were looking to put in
> front of LVS.
>
> -Within ha.cf live the FQDN names of our pair of directors.
>
> -Within haresources lives lines like the following:
>
> dir01.ece.utexas.edu \
> ldirectord::ldirectord.cf \
> LVSSyncDaemonSwap::master \
> IPaddr2::128.83.59.2/24/eth0/128.83.59.255
>
> (FWICT, the 'primary' director is configured to squat on the listed IP
> address and forward/answer as per ldirector.cf. Similar lines added to
> haresources with an altered IP address for the second/third/etc.
> services never seem to get added as new addresses on dir01's eth0).
>
> -Within ldirector.cf lives lines which configure virtual addresses, real
> servers, and all the jazz necessary for providing LVS-HA for various
> services (web, mail, whatever).
>
> Any insight is appreciated.
>
>
--
Ultra Monkey - http://www.ultramonkey.org/
To UNSUBSCRIBE, email to [email protected], with a body:
unsubscribe ultramonkey-users [email protected]
where "[email protected]" is YOUR email address.