The cell affinity function preserves sessions even in the
event of an on demand router (ODR) outage when you configure unbridged,
on demand router (ODR) topologies.
About this task
The cell affinity function prevents the loss of sessions
when there are multiple ODRs within multiple, unbridged cells, and
the IBM® HTTP Server is configured
to forward session traffic, either through load-balancing or failover,
to more than one ODR.
Procedure
- In the administrative console, select .
- Set the custom cell property odrSessionAffinityEnabled to true. For more information read about custom properties.
- Configure generic server clusters for other ODR cells. For more information, read about defining generic server clusters
for remote ODR cells.
- If you are configuring a multi-tiered configuration, the
ODRs in one tier must be configured and operate independently from
the ODRs in the other tiers. For more information read about configuring
cell affinity in a multi-tiered environment. Note that you can optionally
perform this step in a single-tiered environment if you simply want
to use a cookie name other than ODRSESSIONID.
- Generate a plugin-cfg.xml.
- Merge the plugin-cfg.xml files into
one plugin-cfg.xml file. For more information,
read about the pluginmerge.bat or pluginmerge.sh script.
- Install the new plugin-cfg.xml file
on the IBM HTTP server. For
more information on how to install a new plugin-cfg.xml file,
read about configuring an ODR to dynamically update the web server
plug-in configuration.