[Date Prev][Date Next]
Re: [Openldap 2.4.16] Is it possible to force synchronization: files log.xxxx not treated after a crash
- To: Francis Swasey <Frank.Swasey@uvm.edu>
- Subject: Re: [Openldap 2.4.16] Is it possible to force synchronization: files log.xxxx not treated after a crash
- From: Lepoutre Lionel <firstname.lastname@example.org>
- Date: Wed, 26 Aug 2009 08:59:54 +0200
- Cc: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=A/35TRxQf7a7Iu4ocjlh6/oxoenrFwHX2G2SvGcFJDI=; b=kwl0o4eRrYSYgJiDaStOh+zapdEMX7DpZuIN5uZrv92Vb4SzJ8kYAzFW9u4Qh9o8K4 jPfJpoX8AFhiVgKCrcpf6QIBvLzD7QjphcHOb90G7m4UimJ9nyG4zQb+oM/kAAUB2nBL xHOK15yPn1GyqrlpW97Oc6BqqDeT5bKNBAuVQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nrHtwagGrqGIRY6o5PUDxbSxyXM+PZbwFzLriGdX2x9RITdvBkueCvrHyDttWwdC00 ATEEka2klA94tZuk5GA//OMUHfw4b6NF7kg9XOUAJtUytA3QxXR3efpkWelHx9Gr7IGR pNj09pcBJCQeGR75pKoRmK7f+/4OYOpZwgFdw=
- In-reply-to: <4A940D4C.firstname.lastname@example.org>
- References: <email@example.com> <Pine.SOC.firstname.lastname@example.org> <4A940D4C.email@example.com>
I know that having a log.xxxx is normal but these ones were 4 days old so I was "suspicious".
I made a diff of the dump of my servers to have the confirmation.
On Tue, Aug 25, 2009 at 6:11 PM, Francis Swasey <Frank.Swasey@uvm.edu>
When I had an issue with my replicas getting out of sync I developed a process to slapcat each of the replica's generate what was different from the master and cause the master to make the changes again (ie, reverse the master and then revert to what the master knew was correct) which caused the information to get pushed to the replica's again. In my case, the problem turned out to be one of my replica's had too little memory and was triggering a bug in v2.3 which caused the changes for delta-syncrepl to not get logged in the accessdb on the provider.
On 8/25/09 11:45 AM, Aaron Richton wrote:
On Tue, 25 Aug 2009, Lepoutre Lionel wrote:
My problem is that some data are not synchronised on one of my server and I
have some "log.xxxx" files in my var/openldap-data/ directory.
The gist of the process I developed was to ssh to each replica, slapcat the existing database, sftp that back to the master, slapcat the master's database, use an ldif diff tool to generate the changes as if the replica was the master, apply those changes to the master, then do the ldif diff in the other direction and apply those changes to the master. It was an attrocious hack, but it allowed me to re-sync the replica's without having to wait for the load balancers to take them out of the service pool and rebuild them by hand on a regular basis.
However, having log.xxxx files is not a sign that anything is wrong. Even with auto-removal of the log.xxxx files, you will always have at least one present and if you have a massive change happen, you may get a few before the checkpoint happens and makes them superfluous.
How have you determined that your servers are not in sync?
Frank Swasey | http://www.uvm.edu/~fcs
Sr Systems Administrator | Always remember: You are UNIQUE,
University of Vermont | just like everyone else.
"I am not young enough to know everything." - Oscar Wilde (1854-1900)