[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slurpd and back-config
- To: openldap-devel@OpenLDAP.org
- Subject: slurpd and back-config
- From: Howard Chu <hyc@symas.com>
- Date: Fri, 20 May 2005 18:08:45 -0700
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050516
It doesn't seem worthwhile to pull in all the changes needed to bring
slurpd up to date here. I'm more inclined to implement slurpd-like
functionality in slapd, and delete slurpd.
First we could move the existing replog functionality into an overlay,
as I've suggested before. Next the overlay itself could submit update
tasks (using the thread pool or the runqueue, as appropriate) to update
remote servers. It could use libldap_r directly, or it could operate
through back-ldap/back-meta. I'm somewhat favoring the
back-ldap/back-meta approach, as it opens the possibility to use the
rewrite overlay in the replication process.
The one thing we'd lack is a standalone/one-shot mode, but we could
create a slaptool for that purpose. E.g., define a SLAP_BFLAG for
"one-shot" mode; whenever the tool runs it will invoke all the
backends/whatever that have this flag defined and skip anything that
doesn't have it defined.
--
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support