From owner-freebsd-questions@FreeBSD.ORG Thu May 20 14:53:17 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE342106567D for ; Thu, 20 May 2010 14:53:17 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-gx0-f226.google.com (mail-gx0-f226.google.com [209.85.217.226]) by mx1.freebsd.org (Postfix) with ESMTP id AAEE98FC1C for ; Thu, 20 May 2010 14:53:17 +0000 (UTC) Received: by gxk26 with SMTP id 26so3767647gxk.13 for ; Thu, 20 May 2010 07:53:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=N7h30eTbfNNIMykmUk7tOuoJGD8wLoUOoW5FecdQVb4=; b=cH5I0BcwsD/IFPMggHZEyke7HF67HNWh52e6ymOLqXdbLRF7XOYNHKgbKqB0Omijrv tC7hdrLKfh6O6q+1qsKvnRKz5X/wfh1SDjNv4jUmlds0PKpTuNmd1dcI+VQwO2ESvFjV ObtpeY2MvgiOWsJAsVD0e1PpSSxsqrunzAou8= 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=arwXYvqqIjgIIQJ6XbnH/t5Vd0xa9+UL2NTXS89HA0gnhhksVLZkmO2WWiDe+Va353 QLxP78aNEFpn4K+cQaJicpNK7Xy02PSw2C0+QL6llRGuyNh6Mq2X8Dz1gT4acSZ0HGeu DwLP4GqZyH/FVkojLfYireDnozvHnoe8j7OBM= MIME-Version: 1.0 Received: by 10.231.125.213 with SMTP id z21mr97551ibr.98.1274367196663; Thu, 20 May 2010 07:53:16 -0700 (PDT) Received: by 10.231.182.204 with HTTP; Thu, 20 May 2010 07:53:16 -0700 (PDT) In-Reply-To: <4BF5435F.5090509@esiee.fr> References: <4BF5435F.5090509@esiee.fr> Date: Thu, 20 May 2010 09:53:16 -0500 Message-ID: From: Brandon Gooch To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions , ivoras@freebsd.org Subject: Re: "real time" files mirroring ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 14:53:18 -0000 On Thu, May 20, 2010 at 9:12 AM, Frank Bonnet wrote: > Hello > > I'm searching for a software that could perform some kind of real time > mirroring between two (or more) freebsd servers. > > My meaning is to keep up to date some files ( flat and db maps ) used by > Postfix on our MX servers and propagate every change of one or more > files to all the others. Back in 2008, Ivan Voras wrote a rather simple daemon that fits this need: http://blogs.freebsdish.org/ivoras/2008/06/08/weekend-hack-adfsd-a-kqueue-assisted-rsync-tool/ http://ivoras.sharanet.org/stuff/adfs.tgz I'm not sure about the status of the code (in regard to compiling and working with 8.x or HEAD), but it's worth a shot. I remember trying it out last year and it worked well for the small-ish project I had going. Ivan may have an informed comment or two to provide as well... -Brandon