Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th October 2011, 17:44
pattone pattone is offline
Junior Member
 
Join Date: May 2011
Posts: 29
Thanks: 14
Thanked 1 Time in 1 Post
Default Need some advices for Failover - High-Availability

First of all sorry for my english (I'm from argentine)
I have a server wich I setup with this great guide http://www.howtoforge.com/perfect-se...ot-ispconfig-3
and is working great with a few websites and domains. Now, looking for information for setup a second server (for failover purpose) that will be in another phisical place with another ip and internet connection I found this 2 excelents howtos:
http://www.howtoforge.com/setting-up...n-debian-lenny
http://www.howtoforge.com/setting-up...n-debian-lenny

and I was wondering what about mail server; my server actually have a few domains with somes mails accounts and I want to have a second server not only for web sites, I want a failover system for mail too. Is there a way to setup this??

Thanks in advance
Reply With Quote
Sponsored Links
  #2  
Old 15th October 2011, 12:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

You can set up a backup MX: http://www.howtoforge.com/postfix_backup_mx
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
pattone (17th October 2011)
  #3  
Old 15th October 2011, 15:15
pattone pattone is offline
Junior Member
 
Join Date: May 2011
Posts: 29
Thanks: 14
Thanked 1 Time in 1 Post
Default

Thaaanks a lot falko!! With this I can receive mails when my primary server is down... but what about sending mails?? Can I setup a backup mail server to send mails while the primary is down?

Thanks in advance
Reply With Quote
  #4  
Old 16th October 2011, 06:05
nayr nayr is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Thanks: 2
Thanked 11 Times in 6 Posts
Default

Just an idea,
since you have 2 separate locations you might consider running something like HA Proxy in the cloud.

get a small cloud server from one of the big guys thats just running a HA-Proxy instance (id choose one w/lowest avail latency to primary site).. point your services to this edge proxy and have it configured to proxy traffic to your primary server and use the other as backup.. if your proxy server is peered better than your primary site than there is a good change the added latency between you and proxy might be less or equal to connecting directly to you for the majority of traffic.

from here for even better availability could be achieved a pair of proxies in a CARP failover setup.

ps: outgoing mail can come from any multitude of servers, you might need to add it to a SPF record if you use them but that is all if you allow it to relay from your network.

Good Luck,
-R
__________________
HostAP.net - ISPConfig3 powered WebHosting & Dedicated Servers
Reply With Quote
The Following User Says Thank You to nayr For This Useful Post:
pattone (17th October 2011)
  #5  
Old 17th October 2011, 23:30
pattone pattone is offline
Junior Member
 
Join Date: May 2011
Posts: 29
Thanks: 14
Thanked 1 Time in 1 Post
Default

thnaks nayr for your reply... I have a few questions about this:

If I want a second server only for failover because I don't have a lot of traffic in my primary server and only have a few minor sites and mailboxes:

Is this the only way to setup this?

Do you know if there is a howto for this?

The HAproxy for the web servers that are mentioned in the howtos that I sayd above could be useful?

Thanks a lot and sorry for my english!!
Reply With Quote
  #6  
Old 17th October 2011, 23:48
nayr nayr is offline
Junior Member
 
Join Date: Aug 2011
Posts: 17
Thanks: 2
Thanked 11 Times in 6 Posts
 
Default

you could try something like this:
http://www.howtoforge.com/setting-up...n-debian-lenny

the other solution would be an external DNS provider that can flip the DNS to your backup server when theres an outage detected, not as robust as HA proxy but for a lightly loaded webserver it should be fine.
__________________
HostAP.net - ISPConfig3 powered WebHosting & Dedicated Servers
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability DB-Server TheTank Server Operation 2 24th March 2010 17:21
High Availability Cluster Using Debian Lenny jbimmerle Installation/Configuration 0 4th September 2009 03:01
MySQL High Availability FreeBSD Cluster businessgeeks Suggest HOWTO 1 22nd May 2008 11:46
Public and private network + High Availability Apache Cluster teleted HOWTO-Related Questions 11 28th January 2008 14:29
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38


All times are GMT +2. The time now is 17:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.