LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-04-2009, 09:05 AM   #1
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Rep: Reputation: 30
Postfix (mysql) automatic fall over


Hey,

Just thought I would check something with you guys. I have been running a mail server Postfix using MySQL for accounts etc at the company I work for. A new guy joined our company the other week and I tasked him with setting up a secondary mx server which would hold emails if the first one went down until it returned.

This idea has now grown a bit and we are now looking at setting it up as replicated server which will take over if the first one goes down. He wants to use GlusterFS as the storage for Postfix to replicate all the emails across both servers. He then wants to use a Master-Master replication in MySQL for account details. For the switch over to work he is planning to set up two NS records for the main domain, one to each server. They will then resolve different A records for the same domain, so if the first server goes down then the client would contact the second NS server for the A record and return the backup server's IP address.

It all looks good on paper when I have researched it but I have no previous experience myself using GluserFS. Is this a reliable way to accomplish what we are trying to do?

I havent actually done a Master-Master MySQL replications either but I would assume this works fairly reliable as it is MySQL we are talking about.

Any thoughts and feedback on this setup would be appreciated. I might concider using some sort of DNS round robin if the replication is reliable.



Thanks!
 
Old 09-06-2009, 01:48 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

I only can comment on the MySQL part; Master-Master replication works like a charm on our servers using MySQL 5.

Kind regards,

Eric
 
Old 09-06-2009, 11:11 AM   #3
Fredde87
Member
 
Registered: Aug 2005
Posts: 158

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
Hello,

I only can comment on the MySQL part; Master-Master replication works like a charm on our servers using MySQL 5.

Kind regards,

Eric
Thanks Eric!

Has anyone else got any thoughts on the GlusterFS?
 
  


Reply



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
postfix mysql csdhiman Linux - Server 6 08-11-2007 02:44 AM
LXer: Mysql puts off automatic move to GPL 3 LXer Syndicated Linux News 0 01-05-2007 05:33 PM
Postfix with mysql asi.linux Linux - Networking 6 05-30-2006 09:28 AM
mysql automatic treotan Linux - Software 1 09-18-2005 04:19 AM
postfix + mysql cb9fl Linux - General 1 09-01-2004 12:19 AM

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

All times are GMT -5. The time now is 06:21 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
Open Source Consulting | Domain Registration