03-04-2009 01:52 AM
Hey guys, recently i deployed the ACE for load balancing http application.
I used http-cookie stickiness for Session Persistence. I use cookie-insert option to insert the cookie generated by ACE itself.
But after this, i can not see any sticky database entry.
and i found some explanation about this:
then i tried the command follow the example:
show sticky database http-cookie <cookie-value>
but still can not see any entry.
the cookie-value was found by
Anyone familiar with this can give me an answer ?
Thanks a lot.
03-04-2009 02:20 AM
There is a difference between inserting an ACE-generated cookie or using one learned by the ACE. The cookie-insert feature creates a static cookie.
To look at static cookies you need to use the command:
show sticky database static
HTH
Cathy
03-05-2009 09:41 PM
thank u very much fist.
I knew the difference, but "show sticky database static" can not determine the client is hitting which server.
that why I use "show sticky database http-cookie
but i still can not see any entry.
03-06-2009 12:09 AM
there are 2 database.
One for static entries and one for dynamic entries.
Every show command that does not include the static keyword will look into the dynamic database.
So, you won't see anything by using those commands.
I have personally modified the code in version A2(1.4) so that the static cookie value is displayed in the 'show stick data static'.
You can then match your cookie to a particular server.
Until then, there is no equivalent command.
You could perform some test to identify which cookie is sent to which server.
The cookie value is static, so the number of value is limited to the number of servers.
Gilles.
03-06-2009 01:13 AM
Thanks Gilles for the reply.
I am using ACE with version A3(2.1).
The âsticky-entryâ in "show sticky data static"is a hash of the cookie-value set by ACE for the real server. so i need to use "show sticky database http-cookie
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