2015-02-25 21:12 GMT+01:00 Jephte Clain <[email protected]>: > hello, > > I have a lsc script running as a service, in asynchronous mode. > because of latency (or ghosts? who knows) when VM backups are ran at > night, the connection with the LDAP server seems to be broken. > > every morning, lsc no longer synchronize because somehow it does not > detect the link have been dead, and no longer receive notification of > objects modifications > > I "solved" the problem by restarting lsc with a cron every night after > the backups > > but I wonder if it is possible for lsc to detect that a long running > search is no longer valid, and restart it? or maybe configure it to > restart the search at specified interval? > > One could say this is no big deal: just restart lsc every day and be > done with it, but I feel like I don't solve the problem, just work > around it. > > thanks in advance. best regards, >
When the source connection is lost, LSC stops. This is a hardcoded behavior, because we can't be sure that we don't lost entries when reconnecting the source LDAP. Restarting LSC is a good solution. The best would be to know why the backup process mess up the connections. Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

