Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: IP faillover
PostPosted: Tue Dec 08, 2009 9:55 pm 
Offline
Senior Newbie

Joined: Fri Jul 11, 2008 2:03 pm
Posts: 7
Anyone know exactly how the IP Failover option works (or how I can get it to work). I have two linodes...one has two public IP addresses.
I want one of those IP addresses to fail over to the other linode when necessary.

I've been beating myself up with linux-ha (another drama altogether), and I thought I'd take a break from that and just see if the IP address would work on the second server. So far, manually assigning the IP to an interface doesn't work at all.

Any ideas?


Top
   
 Post subject:
PostPosted: Tue Dec 08, 2009 11:21 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
I assume that you did check the IP in the IP Failover Configuration page in the Network tab, right?

Here's what I do in a minutely cron job on both servers:
Code:
ping -c 5 -w 30 74.207.247.xxx > /dev/null
if [ $? -eq 1 ]
then
  echo 'No response from main IP...  Adding IP to eth0...'
  ip address add 74.207.247.xxx/24 dev eth0
  arping -UI eth0 -qc 5 74.207.247.xxx
fi


Top
   
 Post subject:
PostPosted: Wed Dec 09, 2009 9:55 am 
Offline
Senior Newbie

Joined: Fri Jul 11, 2008 2:03 pm
Posts: 7
That's essentially what I was doing, with no luck.

It appears that a reboot is necessary once you give a linode permission to use an IP address from another. I rebooted, everything works fine now.

Still a little disappointed that linux-ha won't work right, but I'll get something figured out now that this is working. Thanks.


Top
   
 Post subject:
PostPosted: Wed Dec 09, 2009 11:10 am 
Offline
Senior Member

Joined: Fri Jun 13, 2008 4:11 pm
Posts: 65
Website: http://www.skafari.com
cg2112 wrote:
That's essentially what I was doing, with no luck.

It appears that a reboot is necessary once you give a linode permission to use an IP address from another. I rebooted, everything works fine now.

Still a little disappointed that linux-ha won't work right, but I'll get something figured out now that this is working. Thanks.


Try this out, been using it for years for ip failover.

http://www.linux-ha.org/


Top
   
 Post subject:
PostPosted: Wed Dec 09, 2009 11:53 am 
Offline
Senior Newbie

Joined: Fri Jul 11, 2008 2:03 pm
Posts: 7
I'm not having any luck with linux-ha.
The two sides don't see each other for some reason. I'll get it eventually, I just don't have time to mess with it right now.


Top
   
 Post subject:
PostPosted: Wed Dec 09, 2009 12:24 pm 
Offline
Senior Member

Joined: Wed Jan 21, 2009 7:13 pm
Posts: 126
Location: Portugal
Hello,

Have you ever evaluate a Dns failover solution like Dns Made Easy or Postpart?

I never used one but would like to understand if its a valid solution.

Postpart even has Geo Redundancy.


Top
   
 Post subject:
PostPosted: Wed Dec 09, 2009 2:12 pm 
Offline
Senior Member

Joined: Sun Aug 02, 2009 1:32 pm
Posts: 222
Website: https://www.barkerjr.net
Location: Connecticut, USA
I host DNS on each of my three servers and have them ping each-other every 15 mins and update the DNS zone appropriately. Works for me :)


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