LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] DNS based failover for ftp servers?

[ILUG] DNS based failover for ftp servers?

Sarunas Vancevicius svan at redbrick.dcu.ie
Mon Feb 5 22:04:40 GMT 2007


On 5 Feb 2007, at 20:29, Conor Daly wrote:

> A recent failure hung the machine to the point where an ftp connection
> would hang waiting for a response.  The machine would respond to  
> pings.  I
> took the machine down for repairs and booted another to receive the
> incoming ftp files.  I just gave it the primary machine's ip address.
>
> In the course of considering failover possibilities, I note that  
> something
> that manages to detect the hung machine would not be able to take  
> over the
> task since the hung machine's ip address would be still in use.

Would it not just be easier to use a virtual IP for ftp.example.com  
and just have a heartbeat between ftp1 and ftp2 machines?

For example, if the heartbeat, Nagios' check_ftp plugin or even Monit  
detect that the FTP server is not responding, the virtual IP take  
over would be initiated by ftp2 box; a simple script to kill the  
heartbeat on ftp1 should be enough for this to happen.

Take a look at http://www.linux-ha.org for more info.

Sarunas





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell