Search This Blog

Tuesday, November 3, 2009

Websphere plugin:Counter intiutive behavior in clustered environments

If you are not using session persistence, but getting by just turning on Session Affinity in the Websphere Plug-in -- you may believe that if you restart just one server out of your cluster -- you would only affect the sessions on that server.

However you would be wrong. If you restart one server, say out of four -- all end-users on that server would of course lose their sessions. However, when the server comes back on line, the Websphere plug-in suspends its 'session affinity' and will direct sessions from other servers to the new server.

This, of course, would be no particular big deal if you had session persistence across your cluster, but if you didn't -- some of the end-users on the other servers will lose their sessions.

The plug-in just assumes you have session persistence and values balancing the load over the cluster over and above affinity when a new server comes on line.

No comments:

Post a Comment