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

Replication Question over OPenldap



hi ,

i have posted this question befor also , but i have not achieved any succes in this direction, I m trying to establish a single master-slave relation. both slapd server are running on linux 7.1

The Master openldap server is 2.0.25, The slave slapd serve is 2.14

I have copied the master database(ldbm) files to slave using slapcat and slapadd

given by openldap.

The changes I have made to master slapd.conf files are

........

database ldbm

cachesize 10000
dbcachesize 100000

suffix "o=emp"
directory       /opt/openldap/var/emp

rootdn "cn=Manoj,ou=admin,o=emp"
rootpw delta

replogfile  /opt/openldap/var/emp-replica/emp.replog
replica host=150.108.3.41:389
        binddn="cn=Manoj,ou=admin,o=emp"
       bindmethod=simple credentials=secret    

..............

The changes i have made to slave slapd.conf files are

database ldbm

cachesize 10000
dbcachesize 100000

suffix "o=emp"
directory       /opt/openldap/var/emp


rootdn "cn=Manoj,ou=admin,o=emp"
rootpw delta

referral        ldap://150.108.3.167:389
updatedn "cn=Manoj,ou=admin,o=emp"      

..................

My slurpd which is running at the master end , i m passing the fillowing

command

slurpd -r /opt/openldap/altreplog/altemp.replog -f masterslapd.conf file

the replog directive that i have specified in master slapd conf file does not seem to work, the alternative replication log file is created .

 

I am using ldapmodify tool  provided by openLdap to modify an entry

but it did not seem to wrk properly, though the entry is modified at master end

but the slave is not updated. The following info is parsed in the alternate logfile

ie

replica: 150.108.3.41:389
time: 1034048796
dn: cn=Puneet Singh,ou=test,c=in,o=escoemp
changetype: modify
replace: title
title:: dHJhbiA=
-
replace: initials
initials: ps
-
replace: uid
uid: puneets
-
replace: mobile
mobile: 9198

Onething more it creates slurpd.status file under replica directory under openldap-slurp  directory by its own (/opt/openldap/var/openldap-slurp/replica/slurpd-status)

when i start slurpd on master with debug leve 4 it gives a message

Config: ** configuration file successfully read and parsed
No status file found, defaulting values
begin replication thread for 150.108.3.41:389

*************

Can anybody tell me what am i doing wrong

greetings

Puneet



Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com