09-09-2011 05:19 AM
Hi all,
i have a question regarding functionality of "timeout activeconns" command on ACE module.
Deployment:
Problem:
"Cisco Application Control Engine Module Server Load-Balancing Configuration Guide" says:
To specify that the ACE time out HTTP header sticky table entries even if active connections exist after the sticky timer expires, use the timeout activeconns command in sticky-header configuration mode.
Is this a correct behaviour of "timeout activeconns" that timer is not decreasing while there are active connection over the sticky entry - see the show below? How can i achieve that ACE would clear entries in sticky database while there are active connections over the sticky entry?? (manual clearing using clear command is not acceptable).
Thanks for help. Juraj.
ACE Software:
loader: Version 12.2[121]
system: Version A23.3 [build 3.00A23.3]
system image file: [LCP] disk0:c6ace-t1k9-mz.A2_3_3.bin
Part of configuration:
ACE# sh run serverfarm
serverfarm host WSA
predictor leastconns
probe http-check-head-p3128
rserver HTTP_PROXY_1
backup-rserver HTTP_PROXY_101
inservice
rserver HTTP_PROXY_101
inservice standby
rserver HTTP_PROXY_102
inservice standby
rserver HTTP_PROXY_2
backup-rserver HTTP_PROXY_102
inservice
ACE# sh run sticky
sticky http-header Host PROXY-STICKY
timeout 5
timeout activeconns
replicate sticky
serverfarm WSA
Sticky database:
ACE# sh sticky database http-header www.google.com
sticky group : PROXY-STICKY
type : HTTP-HEADER
timeout : 5 timeout-activeconns : TRUE
sticky-entry rserver-instance time-to-expire flags
---------------------+--------------------------------+--------------+-------+
777363217642740741 HTTP_PROXY_101:0 297 -
ACE# sh sticky database http-header www.google.com
sticky group : PROXY-STICKY
type : HTTP-HEADER
timeout : 5 timeout-activeconns : TRUE
sticky-entry rserver-instance time-to-expire flags
---------------------+--------------------------------+--------------+-------+
777363217642740741 HTTP_PROXY_101:0 298 -
ACE# sh sticky database http-header www.google.com
sticky group : PROXY-STICKY
type : HTTP-HEADER
timeout : 5 timeout-activeconns : TRUE
sticky-entry rserver-instance time-to-expire flags
---------------------+--------------------------------+--------------+-------+
777363217642740741 HTTP_PROXY_101:0 299 -
ACE# sh sticky database http-header www.google.com
sticky group : PROXY-STICKY
type : HTTP-HEADER
timeout : 5 timeout-activeconns : TRUE
sticky-entry rserver-instance time-to-expire flags
---------------------+--------------------------------+--------------+-------+
777363217642740741 HTTP_PROXY_101:0 299 -
ACE# sh sticky database http-header www.google.com
sticky group : PROXY-STICKY
type : HTTP-HEADER
timeout : 5 timeout-activeconns : TRUE
sticky-entry rserver-instance time-to-expire flags
---------------------+--------------------------------+--------------+-------+
777363217642740741 HTTP_PROXY_101:0 299 -
09-13-2011 01:56 AM
As per Cisco engineer any HTTP GET that matches the sticky entry resets the "timeout activeconns" timer ("time-to-expire" in "sh sticky database http-header"). So the ACE resets active tcp connections only if there is no HTTP GET that matches the sticky entry for 5 minutes interval (timeout is 5min/300sec in my example).
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: