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

Re: Synrepl



Thanks for your link Alexander,
I (well... my company !) currently use an old version of LDAP (2.2.29) on windows...
Is there any 2.4 version for windows available ?
Otherwise, don't you know a basic way with basic syncrepl ?



On Fri, Jul 25, 2008 at 3:07 PM, Alexander Kriventsov <akriventsov@masterhost.ru> wrote:

It's better to use MirrorMode, but this is working only with openldap 2.4.

Please read http://www.openldap.org/doc/admin24/replication.html, article name is MirrorMode.

 

--

Best Regards,

Alexander Kriventsov

.masterhost

 

From: openldap-software-bounces+akriventsov=masterhost.ru@OpenLDAP.org [mailto:openldap-software-bounces+akriventsov=masterhost.ru@OpenLDAP.org] On Behalf Of Francois Marot
Sent: Friday, July 25, 2008 4:30 PM
To: openldap-software@openldap.org
Subject: Synrepl

 

Hello all,

I would like to have an advise on how to use syncrepl.
Here's the situation: I plan on having one master server, and, later, adding a slave server. I would like this slave to have all the data contained in the master + replicate any modification done on the master. Thus, if the master fails, my application (knowing the address of the slave server) could detect it and switch to the slave server.
But what is the best way to do when I switch on the slave server ? Is there an automatic way for the synrepl setting to initiate the slave in the same state as the master when the slave is switched on.
For the moment I managed to have the slave replicate the changes made on the master, but I could not auto-initiate the slave to the same data that the master contains. So I did it by hand by exporting/importing an ldif file.
I must add that my database contains very few data (about 200 entries).

Thanks a lot for any feedback

Francois Marot