
Chapter 4: Configuring the High-Level Network
4-26
To activate Insert mode from the command line
To activate Insert mode from the command line, use the following syntax:
b pool <pool_name> { <lb_mode_specification> \
persist_mode cookie \
cookie_mode insert \
cookie_expiration <timeout> \
<member definition> }
The <timeout> value for the cookie is written using the following format:
<days>d hh:mm:ss
Rewrite mode
If you specify Rewrite mode, the BIG-IP intercepts a Set-Cookie, named
BIGipCookie, sent from the server to the client and overwrites the name
and value of the cookie. The new cookie is named BIGipServer
<pool_name> and it includes the address and port of the server handling the
connection.
Rewrite mode requires you to set up the cookie created by the server. In
order for Rewrite mode to work, there needs to be a blank cookie coming
from the web server for the BIG-IP to rewrite. With Apache variants, the
cookie can be added to every web page header by adding an entry in the
httpd.conf file:
Header add Set-Cookie BIGipCookie=0000000000000000000000000...
(The cookie must contain a total of 120 zeros.)
Note
For backward compatibility, the blank cookie may contain only 75 zeros.
However, cookies of this size do not allow you to use rules and persistence
together.
To activate Rewrite mode cookie persistence using the
Configuration utility
1. In the navigation pane, click Pools.
The Pools screen opens.
2. In the Pools list, click the pool for which you want to set up Rewrite
mode.
The properties screen for the pool you clicked opens.
3. Click the Persistence tab.
The Persistence screen opens.
4. Click the Active HTTP Cookie button.
5. Select Rewrite mode from the Method list.
Comentarios a estos manuales