05-06-2009 07:47 AM
Guys I am hoping one of you out there have a similar setup to ours, and may have come up with a solution.
We currently test that our web sites are up and running with a configuration similar to this:
service somesite_home_http1
ip address 192.168.1.209
protocol tcp
port 80
string BLAHBLAH
keepalive type http
keepalive uri "http://192.168.1.209/css-ka/css-ka.txt"
keepalive method get
keepalive hash "blahblahblahblah"
redundant-index 200
active
All is fine and good, with one problem.
We have some legacy ASP applications behind our load balancers that have been having some issues. When they crash, the web servers are no longer able to serve ASP pages, but they can serve the text file we are using to test that the site is up.
End result of course is that the site is not functional, but the CSS continues to send traffic to it, since it believes the site is up.
Do any of you know a way that I can change the above configuration to require the CSS to pull an ASP page as the keepalive test, and require a 200 HTTP response code?
I can live without the hash.
Thanks in advance.
Solved! Go to Solution.
05-07-2009 07:17 AM
Change the method to head instead of get.
You can then reference a dynamic page.
G.
05-07-2009 07:17 AM
Change the method to head instead of get.
You can then reference a dynamic page.
G.
05-19-2009 04:59 AM
Giles,
Thank you so much for the answer. It does in fact work.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: