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
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.
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<openldap-software-bounces%2Bakriventsov> =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
Hi,
"Francois Marot" francois.marot@gmail.com writes:
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 ?
http://www.symas.com provides compiled versions for windows, but I don't know if there is a 2.4 version available.
-Dieter
There is also a project to start a VMware image with OpenLDAP 2.4. I think it's on VMware's site as an appliance download.
Sellers
On Jul 25, 2008, at 11:17 AM, Dieter Kluenter wrote:
Hi,
"Francois Marot" francois.marot@gmail.com writes:
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 ?
http://www.symas.com provides compiled versions for windows, but I don't know if there is a 2.4 version available.
-Dieter
Dieter Klünter | Systemberatung http://www.dkluenter.de GPG Key ID:8EF7B6C6 53°08'09,95"N 10°08'02,42"E
++++++++++++++++++++++++++++++++++++++ Chris G. Sellers | Internet Engineer | NITLE 734.661.2318 | chris.sellers@nitle.org Jabber: csellers@nitle.org | AIM: imthewherd
openldap-software@openldap.org