Cyrus active-active cluster checklist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I've been keeping a list of configuration changes to setup Cyrus in an
active-active two-node cluster (I'm using DRBD and OCFS2 for that).

Here's the list of things I have so far:

* Don't use BerkeleyDB (set all databases which default to berkeley to 
  skiplist);
* Under configdirectory, move the "log", "proc", "db" and "socket" 
  directories to local storage and symlink (or mount -obind) them to
  avoid conflicts between the two cyrus instances;
* Change the append_newstage() function in imap/append.c to add some 
  host information to the "stage." file names, to avoid PID clashes 
  between the two cluster nodes;

Dave McMurtrie has also suggested me modifying the mmap() call in the
map_refresh() function to use MAP_PRIVATE instead of MAP_SHARED for
performance reasons. Is anyone aware of any side effects that this could
cause?

Any input on this list would be really appreciated. I think it's
important to keep a list of things like this that people thinking about
a similar setup can refer to (or give up on the idea :)

Thanks,
Andre

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux