backup mail server

Lee lee_hoffman at brown.edu
Sun Jan 12 17:25:00 EST 2003


> - Are you using other tools like heartbeat or in the same kind ? If yes
> which tool ?
>
Yes, we're using hearbeat. Heres the requisite config:

/etc/ha.d/haresources:
servname.host.com     100.102.248.46 datadisk::drbd0 cyrus postfix

> - From your drbd configuration file I can see that you are using 
> /dev/sda6
> as physical disk, is that your Cyrus partition (/var/spool/imap) ?
>

sda6 is our "data" partitiion where we keep /var/spool/imap /var/imap/ 
/var/spool/mail and all of our configuration files.

L

>
> Thanks
> Marc
>
>
> drbd configuration file:
>
> resource drbd0 {
>          protocol=C
>          fsckcmd=fsck.ext2 -p -y
>
>          inittimeout=60
>          skip-wait=yes
>
>          disk {
>                  do-panic
>                  disk-size=66621523
>          }
>
>          net {
>                  sync-rate=6M
>                  tl-size=5000
>                  timeout=60
>                  connect-int=10
>                  ping-int=10
>          }
>
>
>          on box1 {
>                  device=/dev/nb0
>                  disk=/dev/sda6
>                  address=10.0.0.1
>                  port=7789
>          }
>
>          on box2 {
>                  device=/dev/nb0
>                  disk=/dev/sda6
>                  address=10.0.0.2
>                  port=7789
>          }
>
> }
>
> Boxes are connected together via serial and etho links.
>
> L
>
> On Saturday, January 11, 2003, at 05:10 PM, marc.bigler at day.com wrote:
>
>>
>>
>>
>>
>>
>> On Sat, Jan 11, 2003 at 01:38:11PM -0500, Lee wrote:
>>>> We use drbd (http://www.complang.tuwien.ac.at/reisner/drbd/) and
>>>> linux-ha's (http://www.linux-ha.org/) heartbeat to create two-box
>>>> mailstores (one active, one hotspare, continuously in-sync). Works
>>>> beautifully.
>>
>>> Are you using the drdb from CVS on a 2.4.x kernel? Could you provide
>>> details of the drdb version and OS off list?
>>
>> A copy/paste of your config file would also be great as example, if
>> they do
>> not contain too much sensitive data of course which shouldn't be the
>> case...
>>
>> Thanks
>>
>> Marc
>>
>> <C.DTF>
>
>
>
>
>
>





More information about the Info-cyrus mailing list