Le 23/09/2016 à 11:35, Massimo Ciancio a écrit :
Hi to all
I have a strange situation
Using LSC 2.1 with java 1.7, after a manual run of LSC with
/usr/bin/lsc -f /etc/lsc -s all -c all
i have always correct result
Sep 23 10:20:10 - INFO - Starting sync for Sync_Groups
Sep 23 10:20:16 - INFO - All entries: 186, to modify entries: 0,
successfully modified entries: 0, errors: 0
Sep 23 10:20:16 - INFO - Starting clean for Sync_Groups
Sep 23 10:20:18 - INFO - All entries: 186, to modify entries: 0,
successfully modified entries: 0, errors: 0
Sep 23 10:20:18 - INFO - Starting sync for Sync_Users
Sep 23 10:20:20 - INFO - All entries: 1013, to modify entries: 0,
successfully modified entries: 0, errors: 0
Sep 23 10:20:20 - INFO - Starting clean for Sync_Users
Sep 23 10:20:22 - INFO - All entries: 1013, to modify entries: 0,
successfully modified entries: 0, errors: 0
All ok!... but when run a LSC service for async and check Sync Group
the result with lsc-agent return this result:
first check
# lsc-agent -s Sync_Groups
Sep 23 11:17:08 - INFO - Hostname parameter not specified, using
localhost as default value.
Sep 23 11:17:08 - INFO - TCP Port parameter not specified, using 1099
as default value.
Sep 23 11:17:08 - INFO - Connecting to remote engine on :
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
Sep 23 11:17:08 - INFO - Asynchronous task Sync_Groups is running
Sep 23 11:17:08 - INFO - All entries: 55800, to modify entries: 0,
successfully modified entries: 0, errors: 0
second check
Sep 23 11:17:34 - INFO - Hostname parameter not specified, using
localhost as default value.
Sep 23 11:17:34 - INFO - TCP Port parameter not specified, using 1099
as default value.
Sep 23 11:17:34 - INFO - Connecting to remote engine on :
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
Sep 23 11:17:34 - INFO - Asynchronous task Sync_Groups is running
Sep 23 11:17:34 - INFO - All entries: 56181, to modify entries: 0,
successfully modified entries: 0, errors: 0
Why?? All entries always increase?????
Any idea??
It's not a bug, it's a feature ;)
In async mode, the total entries represent all initial entries and all
entries modifed after first sync.
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users