[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: any tools for data resync....



Hey All,

Starting slapd with the option -c rid=X,csn=0 could re-sync all your ldap data ??

Thanks.

On Thu, Nov 6, 2008 at 11:21 AM, Gavin Henry <ghenry@suretecsystems.com> wrote:

----- "Paul Lee" <paul@hk.fujitsu.com> wrote:

> Dear all,
>
> My customers is very concern on the data synchronization on the 4-way
>
> masters openldap servers.
>
> If in case there is record unsync (due to whatever reason, e.g.
> network
> failure, CSN too old, etc), will there be any tools to resync the data
> ?
>
> If there is such tools, we can execute a cron job to do this.

They will retry depending on what settings you have if there is a connection problem.

Can you try on 2.4.12, not 2.4.9 and also host your config somewhere. You can quickly
check all contextCSN are the same via:

[ghenry@suretec ~]$ ldapsearch -x -LLL -H ldap://host1 -s base -b 'dc=suretecsystems,dc=com' contextCSN
dn: dc=suretecsystems,dc=com
contextCSN: 20081025222436.822813Z#000000#000#000000

[ghenry@suretec ~]$ ldapsearch -x -LLL -H ldap://host2 -s base -b 'dc=suretecsystems,dc=com' contextCSN
dn: dc=suretecsystems,dc=com
contextCSN: 20081025222436.822813Z#000000#000#000000


--
Kind Regards,

Gavin Henry.

T +44 (0) 1224 279484
M +44 (0) 7930 323266
F +44 (0) 1224 824887
E ghenry@suretecsystems.com

Open Source. Open Solutions(tm).

http://www.suretecsystems.com/

Suretec Systems is a limited company registered in Scotland. Registered
number: SC258005. Registered office: 13 Whiteley Well Place, Inverurie,
Aberdeenshire, AB51 4FP.