cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
619
Views
0
Helpful
2
Replies

Load Balancing multiple web servers

cbarbisan
Level 1
Level 1

Hi All:

I need to load balance 2 different web servers using sticky connections on a LocalDirector 416.

I need to use cookie-passive mode, which of course relies on a cookie set by the web server.

Problem: The name of the session cookie is different on each web server (IIS) and I'm not sure that I can change it.

Question: What do I pass to the sticky command as the name of the cookie?

Any ideas?

craig

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

fortunately the cookie are different on the 2 servers otherwise this feature would not work.

The value you enter after the keyword cookie-passive is a 'name' and can be whatever you want (you can also leave it blank/empty).

The LD will learn the cookie directly from the server.

See the documentation at :

http://www.cisco.com/univercd/cc/td/doc/product/iaabu/localdir/ldv42/421guide/42ch05.htm#xtocid8565101

I hope this answer your question.

Gilles.

Is the mapping created on the entire name-value pair of the cookie, or just on the value?

I tried leaving the "name" parameter to the sticky command blank, but it didn't allow that for cookie-passive (it did for cookie-insert, because then it used a default name when creating the cookie).

When I run "show sticky" it outputs this:

Virtual Machine(s) Sticky

vsrv:80:0:tcp 90 cookie-passive mycookie

This is not working, however cookie-insert mode is.

Any ideas?

craig

Review Cisco Networking for a $25 gift card