Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Multiple resources & multiple realservers.

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


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


horms at verge

Nov 10, 2004, 7:10 PM

Post #2 of 2 (604 views)
Permalink
Re: Multiple resources & multiple realservers. [In reply to]

Set up 1 IP as your VIP and have heartbeat failover that VIP as
required. Have your router route your /24 to that VIP. Add a loopback
interface with the /24, and hide the interface. You may want heartbeat
to manage this interface, but I am not sure that is neccessary.

--
Horms
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.