cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
566
Views
0
Helpful
3
Replies

HTTP & HTTPS Keepalives on the same server

cox
Level 1
Level 1

I have A CSS11050 load balancing two servers that host two web sites one is HTTP the other is HTTPS. each server hosts a copy of the HTTP and HTTPS sites. The physical address of these servers is 10.1.1.1 and 10.1.1.2 with a VIP of 10.1.1.3.

How do I configure the service or content rule to simultaneously send both HTTP and HTTPS keepalives to the same server.

Thanks

1 Accepted Solution

Accepted Solutions

msardzin
Level 1
Level 1

You would need to create two services and specify keepalive tcp and keepalive port

Example

service s1-80

ip address 10.1.1.1

keepalive type tcp

keepalive port 80

active

service s1-443

ip address 10.1.1.1

keepalive type tcp

keepalive port 443

active

You then create to content rules for each port.

content port80

vip address 10.1.1.3.

protocol tcp

port 80

add service s1-80

active

content port443

vip address 10.1.1.3.

protocol tcp

port 443

add service s1-80

active

Your other option would be to write a custom keepalive script that would monitor both ports with one keepalive.

Link to scripted keepalives

http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_guide_chapter09186a00800ae3cd.html#38632

Scripting Language

http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_guide_chapter09186a00800d6b3f.html

View solution in original post

3 Replies 3

msardzin
Level 1
Level 1

You would need to create two services and specify keepalive tcp and keepalive port

Example

service s1-80

ip address 10.1.1.1

keepalive type tcp

keepalive port 80

active

service s1-443

ip address 10.1.1.1

keepalive type tcp

keepalive port 443

active

You then create to content rules for each port.

content port80

vip address 10.1.1.3.

protocol tcp

port 80

add service s1-80

active

content port443

vip address 10.1.1.3.

protocol tcp

port 443

add service s1-80

active

Your other option would be to write a custom keepalive script that would monitor both ports with one keepalive.

Link to scripted keepalives

http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_guide_chapter09186a00800ae3cd.html#38632

Scripting Language

http://www.cisco.com/en/US/partner/products/hw/contnetw/ps789/products_configuration_guide_chapter09186a00800d6b3f.html

Is the URL for the scripted keepalives just for Cisco people? I have a CCO log on but can't seem to get to the page. Seems like the bit at the end ie #38632 is what is not accessible. Would appreciate some clarification.

regards

Tony Barnett

This has solved my problem.

Many thanks.