Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Keepalive for Single web server with Multiple URLs

We require to configure CSS ( cisco 11500 series) switch configuration. Currently we have the settings mentioned below :

1. We have two IIS servers behind CSS switch hosting multiple websites for load balancing.

2. Keepalive type we are using is HTTP-HEAD

3. There is one virtual IP assigned to the CSS switch for all websites.

Now we have to provide the keep-alive URIs for the CSS switch. I am not sure which URI we have to provide for keepalive status check.

As per my understanding

1. there would be DNS entries for the websites pointing to the VIP of the CSS switch

e.g abc.com --> VIP

xyz.com --> VIP

aaa.com --> VIP

2. Name based virtual hosting to be configured on IIS server (i.e host header configuration)

3. We have to provide the URI for the keepalive prameters. As there are multiple websites are hosted on the server,firstly , is it possible in CSS switch to configure multiple keepalives for different websites ? secondly is it possible to give the complete URL (http://abc.com ) in the URI parameter of keepalive settings ? typically these settings are like

IP address : < IP address of Node >

URI : /index.html

I am not clear how this all settings will work. What is the ideal way or best practice of configuring the load balancing in the scenario of multiple websites to be hosted on IIS servers with CSS switch loadbalancer.

Is it correct to assign 1 VIP for multiple websites on server nodes?

Your inputs will be highly appreciated.

Thanks in Advance.

2 REPLIES
Cisco Employee

Re: Keepalive for Single web server with Multiple URLs

create multiple services per server.

ie:

server www1

ip address x.x.x.x

keepalive type http

keepalive uri /web1/index.html

active

server www2

ip address x.x.x.x [same as above]

keepalive type http

keepalive uri /web2/index.html

active

you can then use the services indepently

owner Mycompany

content WWW1

add service www1

url "//www.company1.com/*"

content WWW2

add service www2

url "//www.company2.com/*"

Gilles.

New Member

Re: Keepalive for Single web server with Multiple URLs

We have done this multiple ways.

1. we did port mapping on the backend.

server www1

ip address x.x.x.x

keepalive type http

keepalive port 80

keepalive uri "/lb.htm"

acitve

server www2

ip address x.x.x.x {same as above}

keepalive type http

keepalive port 81

keepalive uri "/lb.htm"

active

or via host header checking

2.

service www1-1

ip address x.x.x.x

keepalive type script ap-kal-httptag "www1-1 /lb.htm www1"

active

service www2-1

ip address x.x.x.x {same as above}

keepalive type script ap-kal-httptag "www2-1 /lb.htm www2"

active

With the script ap-kal-httptag, you will need to have dns entries that the CSS will be able to resolve to the individual web site addreses.

-Rich

504
Views
10
Helpful
2
Replies
CreatePlease to create content