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

N-Way Multimaster replication



All,

I'm trying to get N-Way Multi-master replication working, and can see each server polling each other but replication doesn't see to update.Â

I have two servers auth03 and auth04. Both servers are Centos 6.5 with OpenLDAPÂ2.4.23-34.el6_5.1 from the Base/Updates CentOS repository.


What I see is that each server seems to contact the other and both get log entries like this. I can post more logs if need be. ÂI haven't been able to find much on "got empty syncUUID"

Apr 14 15:44:32 auth03 slapd[1467]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Apr 14 15:44:32 auth03 slapd[1467]: connection_get(22)
Apr 14 15:44:32 auth03 slapd[1467]: connection_get(22): got connid=0
Apr 14 15:44:32 auth03 slapd[1467]: =>do_syncrepl rid=004
Apr 14 15:44:32 auth03 slapd[1467]: =>do_syncrep2 rid=004
Apr 14 15:44:32 auth03 slapd[1467]: do_syncrep2: rid=004 got empty syncUUID with LDAP_SYNC_ADD
Apr 14 15:44:32 auth03 slapd[1467]: connection_get(22)
Apr 14 15:44:32 auth03 slapd[1467]: connection_get(22): got connid=0
Apr 14 15:44:32 auth03 slapd[1467]: daemon: removing 22
Apr 14 15:44:32 auth03 slapd[1467]: do_syncrepl: rid=004 rc -1 retrying (29 retries left)


Here is the configs for each server: Â Each server has a unique server ID as well. ÂI haven't tried to get my main user database replicating, as it appears the config database isn't replicating yet.

Auth03 Config:

slapcat -s olcDatabase={0}config,cn=config
dn: olcDatabase={0}config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external
Â,cn=auth" manage by dn.base="cn=Admin,cn=config" manage by dn.exact="uid=sync
Ârepl,ou=System,dc=livegamer,dc=com" read by * none
olcRootPW:: <redacted>
olcAddContentAcl: TRUE
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcRootDN: cn=config
olcSyncUseSubentry: FALSE
olcMonitoring: TRUE
structuralObjectClass: olcDatabaseConfig
olcSyncrepl: {0}rid=004 provider="ldaps://auth04.pax.livegamer.com" type=refre
ÂshAndPersist retry="60 30 300 +" searchbase="cn=config" bindmethod=simple bin
Âddn="uid=syncrepl,ou=System,dc=livegamer,dc=com" tls_reqcert=allow credential
Âs=<redacted>
olcSyncrepl: {1}rid=003 provider=ldaps://auth03.pax.livegamer.com type=refresh
ÂAndPersist retry="60 30 300 +" searchbase="cn=config" bindmethod=simple bindd
Ân="uid=syncrepl,ou=System,dc=livegamer,dc=com" tls_reqcert=allow credentials=
Â<redacted>
olcMirrorMode: TRUE
entryCSN: 20140414153033.402795Z#000000#003#000000
modifiersName: cn=config
modifyTimestamp: 20140414153033Z

dn: olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
structuralObjectClass: olcSyncProvConfig
entryUUID: 9cec0db6-5377-1033-940a-233ba8867211
creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
createTimestamp: 20140408144128Z
olcSpCheckpoint: 100 10
entryCSN: 20140409154557.570189Z#000000#003#000000
modifiersName: cn=config
modifyTimestamp: 20140409154557Z

dn: olcOverlay={1}syncprov,olcDatabase={0}config,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {1}syncprov
structuralObjectClass: olcSyncProvConfig
entryUUID: 4c7ef0fe-538c-1033-941d-1b46f26937f8
creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
createTimestamp: 20140408170933Z
olcSpCheckpoint: 100 10
entryCSN: 20140409154608.786640Z#000000#003#000000
modifiersName: cn=config
modifyTimestamp: 20140409154608Z


Auth04 Config:

slapcat -s olcDatabase={0}config,cn=config
dn: olcDatabase={0}config,cn=config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcRootPW:: <redacted>
olcAddContentAcl: TRUE
olcLastMod: TRUE
olcMaxDerefDepth: 15
olcReadOnly: FALSE
olcRootDN: cn=config
olcSyncUseSubentry: FALSE
olcMonitoring: TRUE
structuralObjectClass: olcDatabaseConfig
olcAccess: {0}to * by dn.base="gidNumber=0+uidNumber=0,cn=peercred,cn=external
Â,cn=auth" manage by dn.base="cn=Admin,cn=config" manage by dn.exact="uid=sync
Ârepl,ou=System,dc=livegamer,dc=com" read by * none
olcSyncrepl: {0}rid=003 provider=ldaps://auth03.pax.livegamer.com type=refresh
ÂAndPersist retry="60 30 300 +" searchbase="cn=config" bindmethod=simple bindd
Ân="uid=syncrepl,ou=System,dc=livegamer,dc=com" tls_reqcert=allow credentials=
Â<redacted>
olcSyncrepl: {1}rid=004 provider=ldaps://auth04.pax.livegamer.com type=refresh
ÂAndPersist retry="60 30 300 +" searchbase="cn=config" bindmethod=simple bindd
Ân="uid=syncrepl,ou=System,dc=livegamer,dc=com" tls_reqcert=allow credentials=
Â<redacted>
olcMirrorMode: TRUE
entryCSN: 20140414152957.400652Z#000000#004#000000
modifiersName: cn=config
modifyTimestamp: 20140414152957Z

dn: olcOverlay={0}syncprov,olcDatabase={0}config,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
structuralObjectClass: olcSyncProvConfig
entryUUID: aabb3a20-5377-1033-8399-57009c40c824
creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
createTimestamp: 20140408144151Z
olcSpCheckpoint: 100 10
entryCSN: 20140409154507.269469Z#000000#004#000000
modifiersName: cn=config
modifyTimestamp: 20140409154507Z

dn: olcOverlay={1}syncprov,olcDatabase={0}config,cn=config
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {1}syncprov
structuralObjectClass: olcSyncProvConfig
entryUUID: 5151199a-538c-1033-83f9-bd35daeffcf0
creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
createTimestamp: 20140408170941Z
olcSpCheckpoint: 100 10
entryCSN: 20140409154526.632472Z#000000#004#000000
modifiersName: cn=config
modifyTimestamp: 20140409154526Z


Please let me know what additional info I may need to provide.

Thank you

Matt P.