WebSphere Extended Deployment V6.0.x     操作系统: AIX, HP-UX, Linux, Solaris, Windows, z/OS

Configuring passive HTTP session affinity in the on demand router

This topic describes how to configure passive HTTP session affinity in the on demand router (ODR).

在您开始之前

When routing to a cluster of WebSphere Application Server servers, the (ODR) typically requires no configuration to support HTTP session affinity. The following are sample scenarios in which configuration is required:

关于本任务

Use the following configuration to support these scenarios for both generic server clusters and dynamic clusters. It is not supported for static clusters.
Add a custom property to a generic server cluster or a dynamic cluster with the name HttpSessionAffinityPolicyDescriptor and a value of the following format: <learnCloneIDs>!@#<cookieNames>!@# <urlRewriteNames>!@#<delimiter>

where:

If a request is routed to a cluster with HttpSessionAffinityPolicyDescriptor configured, the ODR reads the session information in the following format: <sessionID><delimiter><cloneID><delimiter><cloneID>...

结果

The ODR does not read the <sessionID>. The ODR uses the configured delimiter to extract the <cloneID> from the session information. The ODR finds the session information as the value of a cookie or in the URL.

The following is the default value of HttpSessionAffinityPolicyDescriptor for each cluster:

false!@#WSJSESSIONID,JSESSIONID,SSLJSESSIONID!@#jsessionid!@#:

false indicates that clone IDs are learned directly from the servers rather than parsing responses. WSJSESSIONID,JSESSIONID,SSLJSESSIONID causes the ODR to look for three different cookie names to find session information, and then jsessionid in the URL. The final ":" denotes the delimiter character to use when extracting clone IDs from the session information.




相關工作
Creating and configuring the ODR
Enabling the ODR to send work to non-Extended Deployment nodes or non-WebSphere targets
任务主题    

使用条款 | 反馈

最近更新日期: Aug 14, 2006 2:00:44 PM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/odoe_task/todrpassive.html

© Copyright IBM Corp. 2006. All Rights Reserved.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)