Re: UM3 + different pools of services/realservers
Nick Silkey <[email protected]> Mon, 21 Aug 2006 14:56:21 -0500
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
Mattias Andersson wrote: > 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? Indeed. Rather than maintain n number of directors for each n number of virtual services (each director pair with little load), have a sole pair of UM3 directors handling redirections/rewrites for all the virtual services. > 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... A-ha! I will give that a shot during a justifiable maintenance window. > 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... To clarify, in the end: -ha.cf simply lists the pair of directors FQDNS -haresources lists the primary director and its various IPaddr2 lines for each virtual IP corresponding to each virtual service -ldirectord.cf lists each virtual service specification (address/port/node addresses/viability test paramaters/etc.) ? Thanks, Mattias. -- Nick Silkey | [email protected] Senior Operating Systems Specialist Electrical & Computer Engineering The University of Texas at Austin ENS 526W | 512.475.8284 | 0x35EB31E2 -- 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.