[Date Prev][Date Next]
problem w/ 2 replica slave
some problem while I config w/ 1 master and 2 slave.configuration is like these:
master rootdn is o=test.com, and 1 slave w/ updatedn c=cn,o=test.com ,then other is a full backup replica, binddn is also o=renren.com
so when I insert a entry like cn=xx,c=cn,o=test.com, I'd like this entry will be insert into all these 3 server .while if I insert a entry like cn=xx,c=hk,o=renren.com will insert only to the master and the full backup slave.
1. when I insert a entry like cn=xx,c=hk,o=test.com, I think the slurpd needn't send it to the first slave but only sent to the master and the fullbackup slave. But when I read the ldap.log in the first slave. it also get the insert item ,of course, failed due to error. why? the replog in the master is like following:
replica: ip of first slave
replica: ip of the fullbackup slave
I think the "replica: ip of first slave" shouldn't occur here. but it did, what's wrong?
2.if I add 2 replica server, do I need 2 seperate replog file? if so, how to config in the slapd.conf? man page is helpless. Or do I need one for each replica host or no matter how many replica slave I h ave, all they will share one replog file?