[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: designing a backup mail server
From:       Patrick Radtke <phr2101 () columbia ! edu>
Date:       2005-06-27 15:12:49
Message-ID: D6742CF5-0AC1-4273-B2A8-82B6AE095DE7 () columbia ! edu
[Download RAW message or body]

On Jun 24, 2005, at 2:09 AM, Shaun Feeley wrote:

> Hi Guys,
> I'm not sure if I'm at the right place so sorry if this is annoying
> but...
>
> I run a cyrus mail server here at Cytopia supporting about 35  
> users.  I
> have recently purchased some new boxes to upgrade the servers.  I am
> upgrading the Cyrus server, but I am also keen to run a mirror backup
> cyrus server.  Now my question is, can anyone give me any pointers on
> how to go about designing a backup mail server.

I would suggest using the 2.3 replication mechanism.
I've been using it for 6-7 weeks in production with about 100 users.

The basic idea is that a program(sync_client) runs on your main cyrus  
server and pushes any changes to the backup.


> I have configured one box as I want, then mirrored in onto  
> another.  But
> I am confused about the DNS setup .. should I create an alias ie mail
> that can point to either??


We run our setup in a murder, so we just update the mailbox list on  
the frontends to point to the backup server in case of a failure.

>
> And secondly I am keen to somehow have the mail server polled and  
> if it
> stops responding bring the backup server into play.  To keep them
> syncronised I am planning to use rsync... but then how do I keep the
> sasl backend in sync, with different realms etc?

Our failover step is manual. We think failures will be rare, and  
don't want to be concerned with an automatic mechanism mistakenly  
making the backup server active.


-Patrick


[Attachment #3 (unknown)]

<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: \
after-white-space; "><BR><DIV><DIV>On Jun 24, 2005, at 2:09 AM, Shaun Feeley \
wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi \
Guys,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; ">I'm not sure if I'm at the right place so sorry if this is \
annoying</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; ">but...</DIV><DIV style="margin-top: 0px; margin-right: 0px; \
margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I \
run a cyrus mail server here at Cytopia supporting about 35 users.<SPAN \
class="Apple-converted-space">  </SPAN>I</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">have recently purchased \
some new boxes to upgrade the servers.<SPAN class="Apple-converted-space">  </SPAN>I \
am</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; ">upgrading the Cyrus server, but I am also keen to run a mirror \
backup</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; ">cyrus server.<SPAN class="Apple-converted-space">  </SPAN>Now my \
question is, can anyone give me any pointers on</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">how to go about designing \
a backup mail server.</DIV></BLOCKQUOTE><DIV><BR \
class="khtml-block-placeholder"></DIV>I would suggest using the 2.3 replication \
mechanism. </DIV><DIV>I've been using it for 6-7 weeks in production with about 100 \
users.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The basic idea is \
that a program(sync_client) runs on your main cyrus server and pushes any changes to \
the backup.</DIV><DIV><BR><DIV><BR class="khtml-block-placeholder"></DIV><BLOCKQUOTE \
type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; \
margin-left: 0px; ">I have configured one box as I want, then mirrored in onto \
another.<SPAN class="Apple-converted-space">  </SPAN>But</DIV><DIV style="margin-top: \
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am confused about \
the DNS setup .. should I create an alias ie mail</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">that can point to either?? \
<SPAN class="Apple-converted-space"> </SPAN></DIV></BLOCKQUOTE><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>We run our setup in a murder, so we just \
update the mailbox list on the frontends to point to the backup server in case of a \
failure.</DIV><BR><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: \
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">And secondly I am keen to somehow have the mail server polled and if it</DIV><DIV \
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; \
">stops responding bring the backup server into play.<SPAN \
class="Apple-converted-space">  </SPAN>To keep them</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">syncronised I am planning \
to use rsync... but then how do I keep the</DIV><DIV style="margin-top: 0px; \
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sasl backend in sync, with \
different realms etc?</DIV></BLOCKQUOTE><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>Our failover step is manual. We think \
failures will be rare, and don't want to be concerned with an automatic mechanism \
mistakenly making the backup server active.</DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV><BR \
class="khtml-block-placeholder"></DIV><DIV>-Patrick</DIV></DIV><DIV><FONT \
class="Apple-style-span" color="#0000DD"><BR \
class="khtml-block-placeholder"></FONT></DIV></BODY></HTML>


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic