| NIIBE Yutaka's glog | |||||
|
Subscribe
Links |
2005-06-15 (Wed)
OpenLDAP 2.2 in Debian
I forgot when I've done it, but I've upgraded our LDAP to OpenLDAP2.2. I use the feature of 'syncrepl', the client side replication. The primary server runs on HIKARU, and secondary server runs on AKIRA. AKIRA polls, and whenever HIKARU has update, AKIRA gets its information. But after the update, this feature has not worked for a while. When upgrading OpenLDAP and dumping the database , I think that I needed specify '-m' option for slapcat to preserve the syncrepl provider information. Perhaps.
-m Include syncProviderSubentry of the syncrepl provider in the
generated LDIF output.
The fixes are that, reload the database using slapadd with appropriate
options.
-p If the LDIF input represents a syncrepl consumer replica, pro-
mote it to the syncrepl provider's content after adding the
entries.
-r If the LDIF input represents a syncrepl provider, demote it
to the syncrepl consumer replica after adding the entries.
-w When used with either -p or -r, rebuild the new syncrepl infor-
mation from the contents of the added entries. The syncrepl
information contained in the LDIF input file is ignored.
Following was what I did:
|
||||