Cyrus failover steps

Matthew Seaman matthew.seaman at thebunker.net
Sat May 12 07:51:02 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Scott M. Likens wrote:
> Hi Ilya, there are many methods for failover.
> 
> One is heartbeat,
> 
> According to "Freshports" you have a version of Heartbeat available.
> 
> http://www.freshports.org/sysutils/heartbeat/
> 
> it's web site is http://www.linux-ha.org
> 
> Should give you some reading.
> 
> Scott

On FreeBSD, CARP would be the natural choice, seeing as it's standard with
the system.  All you need is to build a kernel with 'device carp' added to
the config file and to have read the carp(4) manual page.  Then just add
something like:

  cloned_interfaces="carp0"
  ifconfig_carp0="vhid 100 pass XXXXCENSOREDXXXX 192.168.23.45/24"

to /etc/rc.conf on both machines.  Reboot, et voila: the 192.168.23.45 IP
will float between the two servers.


 
> On Fri, 11 May 2007 13:34:20 -0400
> Ilya Vishnyakov <ilya at edpausa.com> wrote:
> 
> Hello Cyrus Gurus!
> 
> I set up cyrus replication on our freeBSD 6.2 boxes. I used this
> tutorial. http://cyrusimap.web.cmu.edu/imapd/install-replication.html
> Could someone please suggest a documentation on How to failover from
> one server to another in case of emergency? I googled and googled and
> couldn't find anything. Please point me to the right direction , don't
> let me to ruin all the mailboxes. Thank you in advance.

	Cheers,

	Matthew

- -- 
Dr Matthew Seaman                            The Bunker, Ash Radar Station
PGP: 0x60AE908C on servers                   Marshborough Rd
Tel: +44 1304 814800                         Sandwich
Fax: +44 1304 814899                         Kent, CT13 0PL, UK
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGRaom8Mjk52CukIwRCNutAJ9wVnwlnqFrmOTYq93bJfVp7UtSOQCgh1f5
wcEiH9Z3s0m8JfhPh1yfaJs=
=UEkc
-----END PGP SIGNATURE-----


More information about the Info-cyrus mailing list