[AIX Solaris HP-UX Linux Windows][z/OS]

Configuring cell affinity in a multi-tiered environment

You can configure your network to contain multiple tiers of on demand routers (ODRs). In multi-tiered environments, configure the ODRs to have unique ODRSESSIONIDs for the different tiers.

Before you begin

You must enable cell affinity and configure the ODRs. For details, read about creating and configuring ODRs and enabling cell affinity.

About this task

An example environment for configuring cell affinity might include a cluster of ODRs that distribute load to multiple IBM® Portal application servers at the front end of the network, while at the back end there are clusters of ODRs that distribute load to multiple Web content managers.

There are three important configuration requirements for this task:
  1. Within a tier, any generic server cluster configurations you create for cell affinity must refer only to ODRs within that tier.
  2. Within a tier, the ODR session identifier cookie name, which is named ODRSESSIONID by default, must be unique for all the other tiers. You must configure this cookie name as a custom property on each ODR within that tier, as described in the procedure in this topic.
  3. If you are using the highly available (HA) plugin configuration generator, each plugin-cfg.xml configuration must define the ODR session identifier cookie name to use the IBM HTTP Server to configure ODR affinity. To define the ODR session identifier cookie name, define an additional cell-wide custom property associated with the plugin-cfg.xml generation configuration: ODCPluginCfgOdrSessionIdCookie_<configname>=CookieName>. For more information about configuring the HA plug-in configuration generator, read about configuring an ODR to dynamically update the web server plug-in configuration.

Procedure

  1. From the administrative console, select Servers > Server types > On demand routers > odr_name.
  2. Expand On demand router properties.
  3. Click On demand router settings > Custom properties > New.
  4. Type odrSessionIdCookieName for the name value.
  5. Type the new cookie name. For example, ODRSID_TIER1.
  6. Repeat steps 3 through 5 for every ODR within the tier.