Hi Any one got any hints at what I can look at to fix this ?
Alex > -----Original Message----- > From: Alex Samad - Yieldbroker > Sent: Wednesday, 5 March 2014 4:11 PM > To: '[email protected]' > Subject: Issues with setting up multiple master > > Hi > > So I am setting up multi master following the steps here > http://www.openldap.org/doc/admin24/replication.html 18.3.3 > > I have 2 nodes and not 3. > > I did this on the master > dn: cn=config > objectClass: olcGlobal > cn: config > olcServerID: 1 > > dn: olcDatabase={0}config,cn=config > objectClass: olcDatabaseConfig > olcDatabase: {0}config > olcRootPW: secret > > and on the 2nd > > dn: cn=config > objectClass: olcGlobal > cn: config > olcServerID: 2 > > dn: olcDatabase={0}config,cn=config > objectClass: olcDatabaseConfig > olcDatabase: {0}config > olcRootPW: secret > > > > I used a different password on each site . changed it to the same password > no > > > I did this > > dn: cn=config > changetype: modify > replace: olcServerID > olcServerID: 1 $URI1 > olcServerID: 2 $URI2 > > dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config > changetype: add > objectClass: olcOverlayConfig > objectClass: olcSyncProvConfig > olcOverlay: syncprov > > dn: olcDatabase={0}config,cn=config > changetype: modify > add: olcSyncRepl > olcSyncRepl: rid=001 provider=$URI1 binddn="cn=config" > bindmethod=simple > credentials=secret searchbase="cn=config" type=refreshAndPersist > retry="5 5 300 5" timeout=1 > olcSyncRepl: rid=002 provider=$URI2 binddn="cn=config" > bindmethod=simple > credentials=secret searchbase="cn=config" type=refreshAndPersist > retry="5 5 300 5" timeout=1 > - > add: olcMirrorMode > olcMirrorMode: TRUE > > > I am wondering why I did > dn: cn=config > objectClass: olcGlobal > cn: config > olcServerID: 2 > > if I am just going to do this > > dn: cn=config > changetype: modify > replace: olcServerID > olcServerID: 1 $URI1 > olcServerID: 2 $URI2 > > This is what I get on the second node > Mar 5 16:08:09 alcldap1 slapd[21296]: do_syncrep2: rid=001 got empty > syncUUID with LDAP_SYNC_ADD > Mar 5 16:08:09 alcldap1 slapd[21296]: do_syncrepl: rid=001 rc -1 retrying (4 > retries left) > Mar 5 16:08:14 alcldap1 slapd[21296]: do_syncrep2: rid=001 got empty > syncUUID with LDAP_SYNC_ADD > Mar 5 16:08:14 alcldap1 slapd[21296]: do_syncrepl: rid=001 rc -1 retrying (4 > retries left) > Mar 5 16:08:19 alcldap1 slapd[21296]: do_syncrep2: rid=001 got empty > syncUUID with LDAP_SYNC_ADD > > > And on the first node > Mar 5 16:09:27 gsldap1 slapd[11028]: do_syncrep2: rid=002 got empty > syncUUID with LDAP_SYNC_ADD > x > Mar 5 16:09:27 gsldap1 slapd[11028]: do_syncrepl: rid=002 rc -1 retrying (4 > retries left) > x > > I have done manual ldapsearch from both boxes to the other boxes with the > credentials and it works > > > So now I am stuff. Had a quick google, but could find anything relevant. > > Help :) > > Oh I started with info in the db's already. Just a rsync ... > > Alex > > >
