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

Re: 2.4.21 delta syncrepl : do_syncrep2: rid=000 (4096) Content Sync Refresh Required



Buchen,

Many thanks you got me on the right track.

main issue was the importing the same data of the old slapd on all new master + slaves. As you mentioned, i should do another export on the new master (which i didn't), and import that one on all new slaves. That export _does_ contain the contextCSN, solves cookie issue, and is in sync on all slaves.

That takes me, included exprting old ldap, scping data, importing on master, exporting on master, scping new export to slaves, importing new export on slaves starting slapd (1 master + 6 slaves) 18 minutes for the complete path.

Also skipped the special import tunables in the conf file, which i have no need for anymore.

This seems perfectly clean, and fast way to do so.

Many Thanks again!

Regards,

Arjan Filius


On Tue, 6 Jul 2010, Buchan Milne wrote:

On Tuesday, 6 July 2010 07:08:05 Arjan Filius wrote:
Hello openldap-technical,

new on the list, Arjan Filius is my Name.


Having setup openldap 2.4.21, with one master, and six slaves/consumers in
delta syncrepl configuration and testing an upgrade from an older openldap
version.

Please specify the version you are upgrading from, it *is* relevant.

exporting (slapcat > export-file), importing (slapadd -l `export-file`) on
the (empty/pristine) master, and attaching empty/pristine slaves works
just fine except for taking more than one hour to complete.

Well, maybe you should consider appropriate tuning/changes to your import
process to speed things up, rather than risk data integrity. You don't specify
how large your database is, or any tuning etc., or other slapadd flags, so it
is difficult to know if 1 hour is good or bad.

E.g., using the -q flag to slapadd can speed things up significantly, setting
'tool-threads' in slapd.conf appropriately can too, and you should have
database tuning (e.g. DB_CONFIG) in place.

[...]

Starting with different data on providers and consumers is sure to result in
broken replication.

Has anyone an idea what is/might be going on, and how to fix/prevent this?
or how to migrate/replicate in a fast way?

See above, but you provide no detail on what you have done to speed up your
import, and this seems the original problem.

Regards,
Buchan



--
Arjan Filius
mailto:iafilius@xs4all.nl