[SSSD] How to tune the failover mecanism ?

Dmitri Pal dpal at redhat.com
Mon Dec 3 21:16:51 UTC 2012


On 12/03/2012 03:21 PM, Simo Sorce wrote:
> On Mon, 2012-12-03 at 21:12 +0100, Olivier wrote:
>> I may be wrong but that is not exactly the way I read the man page :
>> http://linux.die.net/man/5/sssd-ldap
>>
>> On failover section :
>>
>> --> Further connection attempts are made to machines or services
>> marked as offline after a --> specified period of time; this is
>> currently hard coded to 30 seconds.
>>
>> As I understand it, once a machine or service has been stamped "offline",
>> then it won't be queried before 30 second has passed.
>>
>> The delay I would like to know (and to tune if possible) is the time after which
>> sssd query the next ldap server in ldap_uri list if the current one is
>> not reachable
>> (IMHO, 5 second would be more than enough and I think would even tune less
>>  if I could).
> Ah I think you've been mislead by the timeout section.
>
> That doesn't apply to a specific server but to a general attempt to go
> online.
>
> If I remember correctly, when SSSD tries to go online it will try the
> first server, and if it fails it will immediately try the next and so on
> until it finds one that works or goes back offline because none work.
>
> If it goes back offline it will wait at least 30 sec. before going
> online but will go online only if there is an event that requires data
> after the 30 sec. has gone by.
>
> HTH,
> Simo.
>
I think the question is for how long SSSD waits to detect that the
server is offline and whether this is configurable.
Jakub?

-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager for IdM portfolio
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/






More information about the sssd-devel mailing list