[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Steps after Crash
- To: openldap-technical@openldap.org
- Subject: Steps after Crash
- From: Jeff Burdon <jeff.burdon@googlemail.com>
- Date: Wed, 10 Mar 2010 16:45:57 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=1jgiqwC7vwcxnGLAO6PBub0wGj6Y1HF764OWC+Odc+s=; b=qoLFtN6GUj2kHueeTcYB3h+ohlYzfUg0b47q7NSwjrwlCTrVs2MVNJqDS6YLMpy2ZK 9BCDmM71SrETY6Ym1EU7AsUam84XG9ECyo2WPahTRrp3v7/PkvUt5nPN3nK1MR34Vyij Cw31l0N0ZNOZEP2DUnJFe8ILn61V5Jv49s+lM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Ii4wTsznf0ej/d5l+7jBbOZngD1BJE/27zRsLdm+l8xgPbl0WShg1+CCSojgUjcVw7 3O6s+PiFfnjUchAAnFd4Frc2mkw1sqf2TSuQ3GM5TTnvvxoahKNpHRNZ8VOf9VNd1Qwz TEbkCKtplvsT1Zx6Tr3Y3rXf8T6EC7j++vTmo=
Hello,
I have two LDAP-Master with refresh and persist configured. Both are located in different countries and the bandwidth
between them is only 10Mbit/s. Both masters are used for read and writing entires (writing from the local country), the Setup is running well.
But now, somehow one Server is crashing. My application is detecting this and is now writing to the other remote Server in the different
country.
To recover the crashed server, I stop the slapd with the crashed database, and delete the whole database directory and start the slapd again.
The slapd now is syncing with the other remote slapd (present and delete phase). The syncing will take about 1,5 hour.
But what will happen during this time. My application is detection that the local slapd is running again and will read an write
entires to the this server which is in the syncing state. In this same time, the other server in the remote site is trying to establish
the replication to the crashed server who is not fully synchronized, but who may have some new entires.
* Can it be, that the remote server now receive false information an gets delete entires during this state?
* Do I have (manually) prevent for writing to the syncing server?
Can someone help me for this Setup - Especially the recovery procedure? ..
Thanx in advance
Jeff