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

AW: AW: LDAP Master with 2 replicated Server how to config



Hello,

thank´s a lot.

When the second server not alive, then it will be replicated the data when
the second server alive again .
This makes the slurpd process, could you tell me, how do I can setting the
dupping time from the slurpd process from the master.

Regards

Hasan

-----Ursprüngliche Nachricht-----
Von: Dusty Doris [mailto:openldap@mail.doris.cc] 
Gesendet: Mittwoch, 16. Februar 2005 18:22
An: Ueguer Hasan ZFF ISA-C
Cc: 'OpenLDAP-software@OpenLDAP.org'
Betreff: Re: AW: LDAP Master with 2 replicated Server how to config



> Hello,
>
> thanks..
>
> But I want to know, I habe 3 server. The first server is my ldap 
> master and the second and the third server is my ldap slave. The ldap 
> master server update the both slaves data base, it is possible?
>
> slapd.conf from the master:
>
> replogfile /var/lib/ldap/replog.log
> replica host=slave1.example.com:389
>          bindmethod=simple
>          binddn="cn=admin, ou=Admins, dc=example,dc=com"
>          credentials=test
>
> replogfile /var/lib/ldap/replog.log
> replica host=slave2.example.com:389
>          bindmethod=simple
>          binddn="cn=admin, ou=Admins, dc=example,dc=com"
>          credentials=test
>
> Ist that correct?
>
> Thanks for yours help
>
> Hasan
>

You only need one replogfile statement and then a replica for each host you
are replicating to.  So in the example above, just get rid of the second
replog statement.

You also need to make sure the user you are binding with to the slaves has
write access.