cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
505
Views
0
Helpful
7
Replies

HTTP service will not failover

sct0321
Level 1
Level 1

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 ?

7 Replies 7

thamdani
Cisco Employee
Cisco Employee

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

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 ??

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

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.

sct0321
Level 1
Level 1

Ok the way I understand this:

1. 'keepalive uri "/index.html

2. add the URL = http://qa.XXX.com

is this the right procedure

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 ?

look at the following url:

http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_configuration_example09186a008009452c.shtml

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.