Forum Discussion
Dbow_21284
Nimbostratus
Jul 10, 2009Design - 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.
- Dbow_21284
Nimbostratus
I am thinking I can do something like this: - Dbow_21284
Nimbostratus
Ok so I guess it would be fine to just create a dummy Pool that uses the IPs of servers and just monitor health via ICMP! Cuz if I cant ping it, then everything else is down anyway and I can just redirect to maintenance via fallbackhost in HTTP profile.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects