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

Re: Testing the state of replicates

--On Tuesday, March 04, 2008 2:49 PM -0800 Howard Chu <hyc@symas.com> wrote:

Use ldapsearch to retrieve the contextCSN attributes from all of the
servers. If they match, they are in sync.

Except when they aren't (contextCSN's match but the DBs do not). Which was certainly possible in some of the 2.3 releases. ;) I'd also highly advise setting syncprov-checkpoint if one's going to be doing hot slapcat's of a DB (it would actually be nice if perhaps slapcat could force that before doing a dump). That'd be fairly useful for delta-syncrepl in light of ITS#5378.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration