Forum Discussion
Ben_Nichols_107
Nimbostratus
Nov 10, 2006Check server http resposne and reselect if error, for vhosting
Hi,
I have been recommended to try and find the answer to my problem here.
We have 2 IIS web servers serving upwards of 200 sites. These sites regularly change. The client wants to occasionally stop a web site on one server and have the traffic fail over to the second. I am aware that this can be achieved with multiple pools and monitors with an iRule selecting the appropriate pool. However, I really want to avoid this as we do not want to have to change the config of the BIG-IPs every time a site is added or removed, ie. I want just 1 virtual server, 1 pool and 2 nodes.
I have noticed that without any monitors the BIG-IP will failover when a site is stopped, however the client sees several 500 errors before the BIG-IP switches over. This also happens to new sessions, there is a random chance of hitting the bad server with the first request, after that the BIG-IP switches to the good server.
I have been told that there is an iRule that on an incoming request could check that the response was valid and if it fails, reselect and request. That way a client would never see a bad server response (assuming there was at least one good server for that given site up).
Does that make sense?
Any help would be most appreciated. BTW I am new to iRules.
Many Thanks,
Ben
- hoolio
Cirrostratus
Hello, - Ben_Nichols_107
Nimbostratus
Hi,
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