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

Schema Replication and data replication.



So we are cooking with warm oil and I wan to the cooking with hot oil!!!!

I have been able to get upgraded 2.4.28 on open ldap.  Having issue with
getting a good build of 2.4.35.  But that isn't the problem.  Below is the
log on my log from one of my consumers after starting the slapd service.

Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module back_hdb
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module back_hdb: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module ppolicy
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module ppolicy: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module memberof
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module memberof: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module dynlist
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module dynlist: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module syncprov
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module syncprov: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module refint
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module refint: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: loaded module back_ldap
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: module back_ldap: null module
registered
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: Config: ** successfully added
syncrepl rid=002 "ldap://tntest-ldap-master-1.oreillyauto.com";
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index objectClass 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index cn 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index uid 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index oreillyGroup 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index locationEntry 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index counterNumber 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index businessCategory 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index locationNumber 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index position 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index title 0x0214
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index givenName 0x0214
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index functionListing 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index manager 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index sn 0x0214
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index nickName 0x0214
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index employeeNumber 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index ou 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index entryUUID 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index supervisor 0x0004
Aug  7 21:36:16 tntest-ldap-2 slapd[3961]: index entryCSN 0x0004
Aug  7 21:36:17 tntest-ldap-2 slapd[3962]: slapd starting
Aug  7 21:36:17 tntest-ldap-2 slapd[3962]: do_syncrep2: rid=002
LDAP_RES_SEARCH_RESULT

Here is where is stops.

Here in the ldif file from my master:

# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 3411e7fc
dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcUpdateRef: ldap://tntest-ldap-master-1.oreillyauto.com
olcsyncrepl: rid=002 provider=ldap://tntest-ldap-master-1.oreillyauto.com
type=refreshAndPersist retry="10 +" searchbase="cn=config"
bindmethod=simple binddn="uid=admin,dc=oreillyauto,dc=com"
credentials=<password>
olcAccess: to * by dn="uid=admin,dc=oreillyauto,dc=com" write by
dn="uid=ldapadmin,ou=system,dc=oreillyauto,dc=com" write by * none
olcRootDN: cn=admin,cn=config
olcRootPW:: c2VjcmV0
structuralObjectClass: olcDatabaseConfig
entryUUID: 35b75e72-93c2-1032-9ca4-711c013d2dcb
creatorsName: cn=config
createTimestamp: 20130807153144Z
entryCSN: 20130807153144.468097Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20130807153144Z

Here is the ldif from my consumer:

dn: olcDatabase={0}config
objectClass: olcDatabaseConfig
olcDatabase: {0}config
olcRootDN: cn=admin,cn=config
olcRootPW: secret
structuralObjectClass: olcDatabaseConfig
olcsyncrepl: {0}rid=002
provider=ldap://tntest-ldap-master-1.oreillyauto.com type=refreshOnly
retry="5 +" searchbase="cn=config" bindmethod=simple
binddn="cn=admin,cn=config" credentials=<password> schemachecking=on
olcAccess: to * by dn="uid=admin,dc=oreillyauto,dc=com" write by
dn="uid=ldapadmin,ou=system,dc=oreillyauto,dc=com" write by * none
entryUUID: f074ba7c-09ed-1030-952b-0bb60fbd91a8
creatorsName: cn=config
createTimestamp: 20110503162710Z
entryCSN: 20110503162710.319234Z#000000#000#000000
modifiersName: cn=config
ModifyTimestamp: 20110503162710Z

logging is set to config and sync.  Is the issue the maybe the entryCSN?  I
am wondering if I need to blow out the cn=config stuff and recreate it on
the consumer  It should be that hard, just take a little time.  Am I headed
in the right direction or am I off base.

Thank you,
Eric Speake
Web Systems Administrator
O'Reilly Auto Parts

This communication and any attachments are confidential, protected by Communications Privacy Act 18 USCS § 2510, solely for the use of the intended recipient, and may contain legally privileged material. If you are not the intended recipient, please return or destroy it immediately. Thank you.