Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Aug 08, 2006 9:57 am 
Offline
Newbie

Joined: Tue Jun 01, 2004 3:56 pm
Posts: 3
Could anyone point me in the right direction on this concept?

I would like to have two linodes that serve the same purpose of hosting web and email. The goal would be if one failed the other would pick up the slack :) Can this be done with DNS? Just simple vhosting and email filtering/storage would be perfect.

I'm experienced with linux - so any solution I would entertain.

Thank you


Top
   
 Post subject:
PostPosted: Wed Aug 09, 2006 6:13 am 
Offline
Junior Member

Joined: Tue Mar 22, 2005 1:20 pm
Posts: 43
Website: http://darkcoding.net
Location: Vancouver, Canada
For the email server it should just be a question of putting the second server in the DNS as an alternative MX record.

For web / imap / etc, I can see three ways you could do it:
- Make your TTL very short, and manually change the DNS when one server goes down. Not great because when the server goes down you might be asleep :-)

- Put both servers in the DNS (like google.com has 3 entries), and they would be used on a round-robin basis. I think modern browsers will try the second server in the list if the first one doesn't respond. This is 'poor mans load balancing / redundancy', and actually works quite well. Disadvantage is the users have to wait for the first server to timeout before they get to try the second, and some apps may not automatically fail over.

- The really cool way: IP address takeover. http://www.onlamp.com/pub/a/onlamp/2003/04/03/linuxhacks.html
This is what we do at work, using a commercial product, the Zeus ZXTM. Really you want both machines on the same network, with two separate connections between them.

I would probably try the round-robin DNS first, as IP address takeover with Linodes might be quite challenging.

Let us know what you end up with.


Top
   
 Post subject:
PostPosted: Mon Aug 21, 2006 1:31 pm 
Offline
Newbie

Joined: Tue Jun 01, 2004 3:56 pm
Posts: 3
I think the round-robin dns trick will work. I suppose for email I could set different preference level on the email and essentially it will look to the second server. The only thing I feel I'd be missing is that ability to train a spam-assassin filtering server.

I suppose I could just put up a good server here to do spam filtering... :/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group