-
Client Connection. Requests from the same PingDirectoryProxy server client connection are consistently routed to the same external server.
-
Client IP. PingDirectoryProxy server client requests coming from the same client IP address are routed to the same external server.
-
Bind DN. Requests from all client connections authenticated as the same bind DN are routed to the same external server.
For each algorithm, you can specify the set of operations for which an affinity will be established, as well as the set of operations for which affinity will be used. Affinity assignments have a time-out value so that they are in effect for some period of time after the last operation that might cause the affinity to be set or updated.
In this example, we create a bind DN server affinity provider for any client requesting write operations to have subsequent requests, whether read or write, forwarded to the same external server. The affinity period will last for 30 seconds after the last write request.