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

Re: Is it possible to replicate from a master which is periodically recreated

Robert Gomezi wrote:

Hi, I am familiar with the case where an LDAP master server has
add/modify/delete operations applied to it and changes replicated to
slaves (via slurpd).

I was wondering, if I had a scenario where I was recreating the LDAP
master server from scratch periodically (ie) delete part of a tree via
recursive ldap delete, shutdown the server, slapadd the entries from
an ldif file which represent the new state of the tree and then
startup the server

Would this be able to create appropiate records so that a slave LDAP
server could replicate to this state

With slurpd, definitely not. With syncrepl, the slave could pick up the new entries, but any old entries that were not replaced by new entries would hang around with their old data.

 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support