
johan at elmerfjord
Nov 10, 2004, 5:02 PM
Post #1 of 2
(649 views)
Permalink
|
|
Multiple resources & multiple realservers.
|
|
Hi everybody, I'm setting up a configuration with LVS, Heartbeat and ldirectord. We have a small range (24 (9 currently in use) of 'incoming/external' , firewalled, ip-numbers. Each one of this external ip is servicing http and https. Requests are loadbalanced to 6 realservers (for the moment.. will increase in the near future). Each realserver currently has 9 virtual interfaces and are serving data from all ext interfaces. The realservers are configured to use a default gw 10.5.1.254 (which used to be the virtual interface on the active lvs. in RH Piranha that I used before). I have read in the FAQ (http://linuxha.trick.ca/FAQ#head-d3dbaed80230860846066df40e21dbbe050012dd) that it's not good to fail over many IPs, but to use a range instead. My LVS is not handling any http/https-requests itself. All work is done by the realservers. Should I still set permanent aliases (on lo) for the adresses on the director? I would very much like to have all server configuration in one file (ldirectord.conf) and not many as it's either all services or nothing that counts for us. My 'external' ips are 10.11.0.8 (,9,10,11,12,13,14,15,16). My Realserver-network has 10.5.1.X, where X is (1,2) for LVS, 254 virt. GW and 10.5.1.[11,21,31,41,51,61] is one web-group accross the realservers. ldirectord has 1 long line in haresources today. - and takes some time to failover. How do I make the failover whith all this IPs? Is a range still the way to go? How does it work? Can you provide me with an example about this, or hint me to some documentation. Regards, Johan Elmerfjord
|