[Date Prev][Date Next]
Re: new admin guide draft
--On Thursday, September 18, 2003 12:53 AM -0400 Jonghyuk Choi
What I have in mind is the combinations of three options in slapdadd.
slapadd -p : promote : if syncrepl%d entries are found
find maximum cookie value out of
the syncreplCookie stored in them,
and create an ldapsync entry
containing the maximum cookie value.
do not add the syncrepl%d
entries in the provider replica.
else if ldapsync entry is found
add it to the provider replica
slapadd -r : demote : if ldapsync entry is found (provider->consumer)
create syncrepl%d entries having
the contextCSN stored in the ldapsync entry.
else if syncrepl%d entries are found
add them to the consumer replica
-w : if -w option is used in addition to -p / -r,
slapadd will recalculate the contextCSN and
syncreplCookie in the
ldapsync and syncrepl%d entries respectively,
based on the entryCSN of the entries.
(hard to find appropriate letters left available in the slaptool
Hm, does this rely on master/replica's being up when the slapadd command is
run? What if I'm loading all the systems simultaneously, so nothing is
running? From what you've said about the datastore, much of what I was
thinking on this matter doesn't actually matter, because it can't be
tracking as much information as I'd need it to, but I'll throw the question
out for discussion. ;)
Principal Software Developer
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html