On Jan 31, 2005, at 12:01 PM, Michael Bartosh wrote:
There is also a problem with the way OD clients pick the replica they
want to use. From my experience it seems like the clients grab the
information from cn=ldapreplicas,cn=config,dc=example,dc=edu which
has a list of all the valid OD servers. After that the client starts
using the first server in the list, which is the OD master. If the
OD master is unavailable, the clients will switch to another replica.
The client sequentially queries these servers, miliseconds apart,
using the first responder. Happenstance means that unless there's
latency between you and the Master, you'll more often than not use the
master.
Compounding this is the fact that the clients receive the replica list
in the same order, regardless of where you get it from. So you might
point your clients at the closest replica, but they still query the
servers in the same order with the master first.
All in all it's a real crap shoot as to what server you get.
Josh
--
Josh Wisenbaker, ACSA
http://www.afp548.com
Breaking my server to save yours.