I have two DSAs of the same version (2.4.20). One is empty and the other is stand-alone. I want to configure multi-master; can I add the syncrepl directives to the live server and then bring up the other server and add the syncrepl directives - will the second server then syncronize with the live server (which already contains configuration, etc...). Or do I need to start with two empty DSAs?
Adam Tauno Williams wrote:
I have two DSAs of the same version (2.4.20). One is empty and the other is stand-alone. I want to configure multi-master; can I add the syncrepl directives to the live server and then bring up the other server and add the syncrepl directives - will the second server then syncronize with the live server (which already contains configuration, etc...). Or do I need to start with two empty DSAs?
You can sync the empty server with the live server, but pulling down an entire database thru the network protocol is a lot slower than slapcat/slapadd...
On Thu, 2010-02-11 at 12:47 -0800, Howard Chu wrote:
Adam Tauno Williams wrote:
I have two DSAs of the same version (2.4.20). One is empty and the other is stand-alone. I want to configure multi-master; can I add the syncrepl directives to the live server and then bring up the other server and add the syncrepl directives - will the second server then syncronize with the live server (which already contains configuration, etc...). Or do I need to start with two empty DSAs?
You can sync the empty server with the live server, but pulling down an entire database thru the network protocol
Excellent.
is a lot slower than slapcat/slapadd...
Understood.
I have the SyncREPL module loaded [olcOverlay=syncprov,oldDatabase={0}config,cn=config] and the olcSyncRepl attributes defined on the first master [in oldDatabase={0}config,cn=config]. But when I try to add olcMirrorMode: TRUE it fails with the following error in the logs -
olcMirrorMode: value #0: <olcMirrorMode> database is not a shadow
openldap-technical@openldap.org