cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
544
Views
0
Helpful
1
Replies

Best HTTP load balancing method

theletterz
Level 1
Level 1

This is probably basic, but how satisfactory is this http load balancing method:

service http-1

ip address 192.168.1.10

protocol tcp

port 80

keepalive type tcp

active

service http-2

ip address 192.168.1.9

protocol tcp

port 80

keepalive type tcp

active

owner http

content web-domains

vip address 10.0.0.1

add service http-1

add service http-2

protocol tcp

port 80

balance leastconn

active

Should I rather use sticky-mask 255.255.255.255 or advanced-balance sticky-srcip?

1 Accepted Solution

Accepted Solutions

Gilles Dufour
Cisco Employee
Cisco Employee

It really depends what you are doing.

Some people will find this acceptable and for others it will just not work.

Do you need persistency ?

To answer this question check with your webserver admin.

does this website have a shopping basket ?

Finally, changing the sticky-mask is useless if you do not have sticky-srcip. So your question should be ..or .. but .. and ..

Anyway, it all depends what is required for your website to work.

You can try this config and if you run into problem capture a sniffer trace and identify the problem to see if a configuration change is needed.

Regards,

Gilles.

View solution in original post

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

It really depends what you are doing.

Some people will find this acceptable and for others it will just not work.

Do you need persistency ?

To answer this question check with your webserver admin.

does this website have a shopping basket ?

Finally, changing the sticky-mask is useless if you do not have sticky-srcip. So your question should be ..or .. but .. and ..

Anyway, it all depends what is required for your website to work.

You can try this config and if you run into problem capture a sniffer trace and identify the problem to see if a configuration change is needed.

Regards,

Gilles.

Review Cisco Networking for a $25 gift card