08-19-2004 07:54 AM
I have an service group for my web servers:
ervice QA-Web01
ip address 172.25.4.1
active
service QA-Web02
ip address 172.25.4.3
active
and when I have an active connection to my VIP I am unable to failover to my second web server. I try to initiate the failover by stopping the IIS service on web server 1 then I do an browser refresh and I'm unable to connect to web2. I can see web 2 and I connected to the address.
any Ideas ?
08-19-2004 12:32 PM
Hi Scott,
CSS use a dafault keepalive type icmp in the service,which runs every 5 sec default,if it is not able to ping the server CSS mark it down [after 15 sec] . So when you take the IIS server down for CSS that server is still up because it will still get the ping reply from server.
You can configure the "keepalive type http" in service then CSS will send http head to the server and will wait for 200ok from server.
I hope that answers your question.
Tanveer
08-19-2004 05:44 PM
Thank you for that INFO. Once I made the change of the "keepalive type http" on my web01/web02 both my session state went down and I can not "activate"...
any Ideas ??
08-20-2004 04:38 AM
Scott,
This means that CSS did not receive the 200OK from the server to its head request that is why CSS marked it down.You need to make sure whats the server replying with.
Tanveer
08-20-2004 06:32 AM
Tanveer,
when using keepalive http, you need to provide a url with the command 'keepalive uri "/index.html"'.
You could also use a keepalive type of tcp with the comand 'keepalive type tcp' and 'keepalive port 80'.
Regards,
Gilles.
08-20-2004 08:53 AM
Ok the way I understand this:
1. 'keepalive uri "/index.html
2. add the URL = http://qa.XXX.com
is this the right procedure
08-21-2004 06:21 PM
I guess my question is what is the correct way to set up HTTP keepalive's?
a. do I set this up in global mode
aa.
!************************* KEEPALIVE *************************
keepalive qa.calyton.com
port 80
type http
uri "/default.aspx?tabId=7&runfirst=true/index.html "
ip address web01 service IP address
active
B. Or do I set up in CSS11501(config)# service ?
BB. If so do I add an tcp port 80/ keepalive uri
c. what is the correct URI ?
08-22-2004 12:39 AM
look at the following url:
This is an example on how to do - A - in your question.
You could however do - B -. This is just another way to achieve the same thing.
Finally, the uri is a specific file you may want to poll. You could also use '/' if this does not trigger a redirect [response 302] since the CSS expect a response HTTP 200.
If you can't find how to setup http keepalive, use TCP keepalives.
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide