Re: Anything "time" critical on www.postgresql.org VM?
От | Marc G. Fournier |
---|---|
Тема | Re: Anything "time" critical on www.postgresql.org VM? |
Дата | |
Msg-id | 20040927104808.M30067@ganymede.hub.org обсуждение исходный текст |
Ответ на | Re: Anything "time" critical on www.postgresql.org VM? ("John Hansen" <john@geeknet.com.au>) |
Ответы |
Re: Anything "time" critical on www.postgresql.org VM?
|
Список | pgsql-www |
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
В списке pgsql-www по дате отправления: