On Mon, Nov 16, 2009 at 05:55:51PM -0500, Simo Sorce wrote:
This patch implements the use of the fail_over code under the control
of
the data provider backend code. All providers share the same failover
structure and if they use the same service name, they also share the
same servers lists.
Please add a utility function to split the server list.
A set of callbacks is made available so that if a new resolution is
performed that changes the server currently in use then all providers
can update their status.
I have done limited testing with the ipa backend which exercises both
the ldap and krb code, although the standalone krb code still doesn't
implement using the failover code.
Simo.
I have tested with with three server and can see that they are tried one
after the other, but if the last one is reached and fails it looks like
it never tries other servers again. I only get:
[sssd[be[NEWIPA]]] [fo_resolve_service_send] (1): No available servers
for service 'IPA'.
bye,
Sumit