LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-30-2008, 04:03 AM   #1
dianarani
Member
 
Registered: May 2007
Posts: 63

Rep: Reputation: 15
Thumbs up linux mail server failover


Hello,
I am using exim mail server on RHEL4 linux system.Yesterday mail server got stuckup with some problem and all the mails got blocked, untill i restart the mail server.After facing this problem,i am searching on setting failover plan for mail server and got some idea on fall-back mail server (http://www.linuxjournal.com/article/2469) using MX record.
Here,the backup server only cache the mails and store in backup server.But i need to set a backup(slave) mail server which should come up and serve as master at the time of failure of master mail server.

Any idea will be greatly appreciated....Thanks in advance...
 
Old 04-30-2008, 04:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well the point of MX records and such is that within the server itself there is no concept of "master" or anything. If the server with the lowest MX record fails to accept mail, then the next one would be tried, therefor would become "active" automatically.
 
Old 04-30-2008, 04:44 AM   #3
dianarani
Member
 
Registered: May 2007
Posts: 63

Original Poster
Rep: Reputation: 15
Thanks for your reply acid_kewpie.I want to add high value MX record to another mail server which running in another machine(fallback mail server).So that if the mail server goes down the fallback mail server should come up and serve the service automatically.
 
Old 04-30-2008, 05:04 AM   #4
dianarani
Member
 
Registered: May 2007
Posts: 63

Original Poster
Rep: Reputation: 15
acid_kewpie, please see this link http://www.akadia.com/services/postfix_mx_backup.html... As said in this link,at failure of primary mail server, mails will be queued up in backup host which has high MX Record value and again handed over to primary host when it comes up. Now my requirement is,while failure occurs on primary mail server, i want that backup host to come up automatically and act as primary and serve..
 
Old 04-30-2008, 05:44 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Well if you have a common storage back end then the two servers would just be identical, again nothing is going to "come up" at all. if you don't have a shared storage but want to have one without a SAN or such, you might like to look at DRBD for block level replication between two servers, but this is really nothing to do with smtp servers at all, and just generic management of an HA filesystem.
 
Old 04-30-2008, 12:37 PM   #6
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
You can also use the commercial peerfs for file level replication instead of block replication.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to connect linux mail server with the exchange mail server nanuseenu Linux - Newbie 4 03-04-2008 03:37 AM
Does anyone have a good solution/todo list for failover cluster - e-mail server? SEGStriker Linux - Server 2 02-20-2008 06:54 AM
Failover for Mail Server System dula Linux - Server 3 05-19-2007 05:13 AM
server failover eph Linux - Networking 1 12-07-2005 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration