X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 64CB0329E75; Mon, 27 Sep 2004 15:16:15 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89257-03; Mon, 27 Sep 2004 14:16:06 +0000 (GMT) Received: from ganymede.hub.org (blk-222-46-91.eastlink.ca [24.222.46.91]) by svr1.postgresql.org (Postfix) with ESMTP id 47E97329DB0; Mon, 27 Sep 2004 15:16:08 +0100 (BST) Received: by ganymede.hub.org (Postfix, from userid 1000) id B391735D23; Mon, 27 Sep 2004 11:16:10 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id B290235CC2; Mon, 27 Sep 2004 11:16:10 -0300 (ADT) Date: Mon, 27 Sep 2004 11:16:10 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: scrappy@ganymede.hub.org To: John Hansen Cc: Justin Clift , "Marc G. Fournier" , pgsql-www@postgresql.org Subject: Re: Anything "time" critical on www.postgresql.org VM? In-Reply-To: <5066E5A966339E42AA04BA10BA706AE561A7@rodrick.geeknet.com.au> Message-ID: <20040927104808.M30067@ganymede.hub.org> References: <5066E5A966339E42AA04BA10BA706AE561A7@rodrick.geeknet.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/183 X-Sequence-Number: 5253 On Mon, 27 Sep 2004, John Hansen wrote: >> rsync right now, unless you know of something better that works under >> FreeBSD? I'd love to find something more 'real time', but haven't >> been able to find anything that could be run on an existing server ... > > Doesn't FreeBSD have support for OpenAFS and/or CODA? k, I looked at Coda, and liked the concept ... but, it looks like something that, to implement, I'll have to setup before I put anything on the server, I can easily move a server to it ... and, from everything I read, I'm not 100% certain that it would even do what I wanted ... each time I thought I found the answer, reading a bit further seemed to negate it :( The thing is, its really simple ... two servers, each with a large file system (/vm) ... on that file system are subdirectories by company_id and then domain under that ... a domain is active only on one server, so the only thing being written to /vm/id/domain would be on one server, but /vm/otherid/domain (or even /vm/id/otherdomain) ... so I want changes to /vm/id/domain from ServerA 'replicated' to ServerB, and /vm/id/otherdomain from ServerB to ServerA (which is what I'm doing with rsync) ... I had looked at unison also, but it looked to have similar 'lag' restrictions as rsync does, and some limitations as to the kinds of files it could send back and forth ... Using rsync, and some mods that Andrea (oicu) helped me with to parrallelize it, I've been able to get granularity down to 5 minutes instead of 15, at least based on 4 VMs right now taking ~150 seconds total to keep in sync ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664