12-15-2010 09:32 PM
Hello,
1. What is the difference between Active and Idle connections. Is it that when a user clicks a link on the web page, the connection becomes active. And when the resultant page is displayed to the user (the waiting is over) is considered inactive/idle connection.
This is in context of timing out active connections through ACE static cookie configs.
2. When the static cookie expires, is a new random cookie (based on load balance algorithm) assigned to the client or is the same cookie updated with new expiration time. I have noticed the second case occuring. Hence, the same client does not get forwarded to another rserver.
3. How can I simulate early cookie expiration through the client to test out the change in behaviour and reassignment of new cookie (possibly changing client system date etc.)
4. Can the browser store two cookies against the same host at the same time for e.g. for 'www.abc.com'
5. What happens if the browser sends an expired cookie. Does the load balancer detect the expiration and hence assign new cookie through the configured load balancing algorithm.
6. Is is common/reliable to use 'least-load' algorithm with Windows Server 2003 SNMP services or does it break very often. I would like to choose between 'least-conn' and 'least-load'.
Thanks.
12-15-2010 11:14 PM
A few answers :
2 - the name of the cookie sent by the ACE is not changed, only the value, as the name is the one you define in your sticky group.
3 - just open your browser and delete the cookie manually(Tools > Options > Privacy in some releases of Firefox)
4 - Yes, on supportforums.cisco.com I currently store 5 cookies. Just install Live HTTP Headers and you'll see all the cookies sent on the wire when browsing.
5 - An expired cookie is not sent but deleted by the browser. The ACE just detect that the client doesn't send the persistance cookie and assume it's a new client coming. To avoid any timeout issue for browser-based applications use a session cookie with a timeout of 0 ("browser-expire" parameter in the ACE)
6 - In most implementations, WRR ou least-conns are sufficient. If you need an application feedback in your LB decisions, it's better to use the application response time predictor, but it requires some tuning.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide