[Date Prev][Date Next]
Re: OpenLDAP Mirror Mode configuration
- To: Mathieu MILLET <email@example.com>
- Subject: Re: OpenLDAP Mirror Mode configuration
- From: Matt Kassawara <firstname.lastname@example.org>
- Date: Thu, 25 Jun 2009 07:41:42 -0600
- Cc: email@example.com, firstname.lastname@example.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=CEMOzhu+l9nn/nyFBLOJuWCGpteh+vxIn9TppBWdYTw=; b=l07Dzceo7xQcbzqwrNYRwdnPcqCzayHJRQvFlGehXN/KSwEss6yS1ug7oUScAb45/G jq2Vw2L0xZb4JiZvLiXc45aqxa8MtQQwpFPBHWIV223ZpxG4QVBzio4yIJ1gvujDqWB3 VXXOpxw0R90d1rsn6DRCFPTCyKUj1KMK+LC28=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=UP4HBrOYneGzQRjZCkJmr+Pmc/3wQL93FeVCmRlRj+XcHg9nemgH6uJNdPySJswWat N6bn4eWodUEcZtwxezuSt8tnRTNnE1QTXh6G1mEGXVKmEm1GTloAZ48JTxyLJWnfiB5I qAEpebTtVoXoo9KBcshxDvUH0QW3VB6L6Ikcc=
- In-reply-to: <8157a3511e62fe0c46364343bf02fbc2@localhost>
- References: <4A409407.email@example.com> <8157a3511e62fe0c46364343bf02fbc2@localhost>
I'm running mirror mode on a pair of VMs and haven't noticed any issues with replication. If you're using VMware ESX/ESXi 3.5, I recommend configuring Linux guests with the kernel boot parameter "clocksource=acpi_pm" and configuring VMware Tools to handle clock management in the guest. Verify NTP isn't running in the guest. Also, making sure the Linux kernel periodic interrupt timer runs at 100 Hz instead of 250 or 1000 Hz can reduce timing issues. VMware provides some documentation on best practices for performance tuning I'd recommend reading.
On Thu, Jun 25, 2009 at 12:16 AM, Mathieu MILLET <firstname.lastname@example.org>
On Tue, 23 Jun 2009 09:36:23 +0100, Fernando Silva
> I'm trying to setup a Mirror Mode configuration using 2 machines running
> OpenLDAP v2.4.11 on both. To make things easy both machines are on the
> same (private) network.
> mirrormode on>From previous experiment, especially with OpenLDAP 2.4.11, I have very hard
> I'm using Ubuntu 8.10 inside a VMWare image, but both images are running
> on independent machines and the network on both is Bridge Mode.
time with making OpenLDAP N-way replication working on VM, especially
The main problem was with the management of the system clock, where VMWare
was making the clock slower and then make a "jump" to compensate the
slowiness. So, I got a lot of line "new modification with older timer
value" (can't remember the precise log line, though).
I had to switch to plain physical server (which was my target by then).
Hope it can help.
> seems well according to OpenLDAP manual, but maybe I'm missing
> something. I start both servers using "slapd -d sync" in order to filter
> only the sync part.
> I created a script to insert 200 employees in my directory, to force the
> servers to sync up. When I start both servers and insert the employees
> in machine 1, I get this too much lines with this sample:
> slap_queue_csn: queing 0xb6851b4a
> slap_graduate_commit_csn: removing 0xb82165c8
> So the CSN is being created (I think), but there's no sync to machine 2,
> which makes me frustated. . .
> I'd appreciate any comments you can have, especially if you already have
> this kind of setup running.
> Best regards,
Sincerely yours, Mathieu MILLET.