The client affinities feature is an alternative to automatic client reroute when enabling your data source to use other servers when a connection fails. In this client-only method, the client determines the order that alternate servers run during failover. For more information about client affinities, see the topic, Client affinities for DB2® Database for Linux®, UNIX®, and Windows®, in the DB2 information center.
In WebSphere® Application Server, client affinities allows the DB2 data source on the client or application server to control the order of servers that are tried during initial connection processing.
For WebSphere Application Server, the data source custom property, enableClientAffinitiesList, is used to enable client affinities. If you want to use the administrative console to configure client affinities, use the DB2 automatic client reroute options section of the WebSphere Application Server data source properties panel to configure the following properties: Alternate server names, Alternate port numbers, Retry interval for client reroute, and Maximum retries for client reroute. You can also use the Custom properties panel to configure other client affinities properties as needed, including enableSeamlessFailover and affinityFailbackInterval.
The data source custom property, enableClientAffinitiesList, changes the semantics of the clientRerouteAlternateServerName and clientRerouteAlternatePortNumber properties.
To configure client affinities in the application server, complete the following steps:
In this information ...Related tasks
Related information
| IBM Redbooks, demos, education, and more(Index) |