[OGo-Users] OGo & GFS?
Adam Tauno Williams
users@opengroupware.org
Thu, 28 Feb 2008 16:45:25 -0500
> > Anyone using OGo in conjunction with GFS? I'm wondering how well it
> > would work to run my multiple OGo nodes with a
> > shared /var/lib/opengroupware.org. Since OGo manages documents state
> > (lock, release, etc...) via the database and seems to only rewrite
> > data
> > files (such as user defaults) it seems like it should work OK with
> > just
> > the POSIX locking provided by GFS.
> I think it should be properly locked in the database.
> But OGo also does atomic writes (write to other file, when complete
> move to the 'old' one), maybe this could conflict somehow? Probably not.
Probably not in any greater way than running multiple instances of the
services on the box would (I think)? For instance we run four instances
of ZideStore [on one box] to decrease request latency; Apache round
robins requests between them. Now I'm thinking of running three VMs
each hosting four ZideStore instances and
mounting /var/lib/opengroupware.org from the SAN using GFS. Each VM is
running on a separate physical host.
Multiple daemons and Apache round-robin is a dumb kind of load
balancing; it that doesn't guarantee you aren't stacking up requests on
one instance. But in practice (so far) it seems to level out pretty
well.