[Csync2] Running multiple processes

Lars Ellenberg lars.ellenberg at linbit.com
Fri May 28 10:34:57 CEST 2010


On Thu, May 27, 2010 at 10:28:04AM -0700, Aaron Porter wrote:
> On Thu, May 27, 2010 at 5:21 AM, Lars Ellenberg
> <lars.ellenberg at linbit.com> wrote:
> > Meanwhile, please have a look at the patch series posted to this list by
> > Ard van Breemen. Maybe you can reuse some of his work, and extend it
> > with your needs.
> >
> > http://projects.kwaak.net/twiki/bin/view/CSync2/WebHome
> 
> Ahh, interesting. This is looking to address many of the same issues,
> but to solve a slightly different problem. My file count is larger,
> but fortunately I don't have anything like the update frequency he's
> attacking. I also have the benefit of being able to easily carve my
> data into different trees and simply run multiple instances -- lets me
> not have to worry as much about blowing up the db tables since my
> "dumb" approach avoids the contention issue by isolating users.

You may also just use different config files (which end up using
different data base files, anyways)

csync2 -C ${CONFIGNAME} [... usual csync2 options here ...]

will use /var/lib/csync2/${HOSTNAME}_${CONFIGNAME}.db

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.


More information about the Csync2 mailing list