OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: OT-Fail over servers

From: Terry Gilsenan (thgfission-chips.com.au)
Date: Sun Feb 01 2004 - 21:45:09 CST


----- Original Message -----
From: <gagelcnc.bc.ca>
To: <postfix-userspostfix.org>; <postfixelkgrove.net>;
<dmail-listnetwinsite.com>
Sent: Monday, February 02, 2004 12:30 PM
Subject: OT-Fail over servers

> What is everyone doing for a realtime fail over server?
>
> Specifically we are wanting to have another server simply step in when
> our main email server is down. Does anyone out there have something in
> place? We currently have a windows based email server but may utilize
> a linux based one in the near future.
>

I have a system in place that is mage up of teh following:

1, Two identically configured Linux boxes, both think they are the only mail
server from the domain.
2, All user accounts are replicated between the two servers, so that POP3
and Pop-Before-SMTP will work transparently.
3, DNS is configured with a 20min TTL on the MX records for that domain.
4, Some scripts are configured on the DNS server to change the MX records
and reload the Zone Files if the primary server is unavailable for $ANY
reason.
5, Rsync is configured to sync the mailbox folders between the servers.

The result:

All the clients can connect to either of the servers and rec'v and send
email without more than 30 minutes or so delay during the changeover.

Seems to work fine, we have had no problems with it at all.

Regards,
T