C H A P T E R 5
Command
config policygroup
service sticky
NOTE: Src-ip is supported
on all platforms. Cookie is
supported on SA7220 and
SA8200/SA8220 only. This
mode must be used to enable
sticky ports in environments
in which requests come to
the SA8220 through proxy
servers. (All requests
coming from a proxy server
have that server's address
as their apparent Source IP
address, rather than the
actual address of their
origination.) Sticky Cookie
mode is available only to
RICH_HTTP services.
config policygroup
service sticky-timeout
(SA7220 and SA8200/
SA8220 only)
174
HP Traffic Director Server Appliances User Guide
Description
The SA8220 can be configured to maintain a session's state so that
serial requests from a single client are allocated to the same server.
This is called "sticky port" functionality. This command allows
you to enable or disable the sticky port function. Sticky
functionality is enabled in either of two modes. "Src-ip" (source IP
address) mode identifies requesting clients by IP address."Cookie"
mode entails sending a cookie to requesting browsers which
identifies subsequent requests as coming from the same client.
config policygroup <policy-name> service
<service-name> sticky [disable | src-ip |
cookie]
where:
•
policy-name is the name of an existing Policy Group
•
service-name is the name of the service
•
disable disables sticky ports
•
src-ip enables Source IP Address sticky mode
•
cookie enables Cookie mode (available only to
RICH_HTTP)
When the sticky port function is enabled, the maximum time
during which a single server is forced to serve serial requests by a
single client is called the "sticky timeout." This command sets the
sticky timeout.
config policygroup <policy-name> service
<service-name> sticky-timeout <nseconds>
where:
•
policy-name is the name of an existing Policy Group
•
service-name is the name of the service
•
nseconds is the period, in seconds, that a connection is
guaranteed to connect to the same server. For each subsequent
connection, the timeout countdown is restarted. You can
specify a value from 1 to 2,147,483,647, and the default is 90
seconds.