Dbow_21284
Jul 10, 2009Nimbostratus
Design - LB Servers running 30 Sites - ALL HTTP
I am looking for advice on the best way to load balance many sites on multiple web servers. Its all HTTP too and all sites are running on the same default ip and port 80. We are justing using the host headers to direct within IIS.
A little background first: I wanted to create multiple pools (essentially one for each site) so I can do advanced monitoring for each site individually, rather than do a blanket pool and VS. Also I want to use a HTTP profile to redirect to fallback host (maintenance page) when its not available, but thinking this is rudimentary way of doing it and wont really work here. My idea originally was to create a single Vitual Server and use iRules to examine the HOST header and direct it to a pool accordingly. However, a Virtual Server needs to have a default pool associated with it.
So the issues I am thinking will be the following:
1) If the default pool goes down, then everything is down as the VS will be red and marked down
2) The HTTP profile with the fallbackhost goes on the virtual server. Thus, if the VS is not down in the LTM's eyes, then it will continue to send traffic to all pools even though a pool (or some pools) might be down and will only redirect to fallback if the default pool on VS config is down.
GOAL:
1) What is the best way to design something so that I can monitor each site individually? (FYI I have monitoring working using HH)
2) What is the best way to do this if I DO NOT want to create a VS for each site?
3) How do I direct traffic to maintenance page if a specific site is down (pool)?
4) Do I just create a default pool that will always be up and then use iRULE to examine host header, determine pool it should goto, test that at least one member in the pool is available, send the traffic to it, otherwise send to maintenance page.
I am assuming this would all be done via iRules but wanted to get feedback from the experts.