
Hybrid Cloud Application Architecture
F5
®
Deployment Guide 16
7. Click the Finished button.
Optional: Creating persistence profile
Persistence is essential in an application server environment, especially in
Java environments managed by Tomcat. For every user session, memory
space is allocated on a particular server, so returning a user to the same
machine, creates efficiency for both the server and the user.
For Tomcat persistence, there are two options. If the only persistence being
used by your application is based on jSession cookie, the BIG-IP system's
built-in cookie hash method can be used to maintain persistence. If URI
based session persistence is also used, then it is our recommendation to use
the BIG-IP system’s Universal Inspection Engine.
To create a new cookie persistence profile
1. On the Main tab, expand Local Traffic, and then click Profiles.
The HTTP Profiles screen opens.
2. On the Menu bar, click Persistence.
The Persistence Profiles screen opens.
3. Click the Create button.
The New Persistence Profile screen opens.
4. In the Name box, type a name for this profile. In our example, we
type Tomcat-cookie.
5. From the Persistence Type list, select Cookie.
The configuration options for cookie persistence appear.
6. From the Cookie Method row, click the Custom box and then
select Cookie Hash.
7. In the Cookie Name box, type JSESSIONID.
8. Click the Finished button
If your application only uses JSession cookie, it is safe to use the built-in
cookie persistence profile which yields the fastest persistence results.
If using persistence, it is a good idea to have a backup persistence method.
In this example, we use Source Address Affinity.
To create a Source Address Affinity persistence profile
1. On the Main tab, expand Local Traffic, and then click Profiles.
The HTTP Profiles screen opens.
2. On the Menu bar, click Persistence.
The Persistence Profiles screen opens.
3. Click the Create button.
The New Persistence Profile screen opens.
Commenti su questo manuale