failover software

Posted on 1999-07-28
Medium Priority
Last Modified: 2010-04-21
I will have to work on developing a failover software which
identifies that a active system is down and statdby should
become active.  
I think of a tcp/ip connection and send messages at a regular interval and  if missed at one
system, it could be either system down/ connection broke because of interface down.  how do we make sure that the interface is down in the local system or in other standby system.?

Is there any algorithm to acheive this failover?  Is there any other way for finding out other that TCP/IP messaging?

I would really appreciate if any one suggest me some ideas.
Question by:ramalaks
  • 2

Author Comment

ID: 2011727
OS: solaris 2.6

Accepted Solution

marpon earned 300 total points
ID: 2011728
The failover subject is nothing trivial, but here are some conclusions I can give you after beeing working with comercial software that achieves this:

- you must have redundant ways to comunicate between master and slave. Suppose you can determine wheter you 're local interface is ok. If communication between both servers is broken (for example, the hub fails), both servers will believe the other one is to blame, the slave with wake up and you 'll have two servers doing the job.

- Having redundancy (I mean, two interfaces in each host, two cables, etc)., you can always check connection by the other interface. In addition, in case of network interface failure, you can decide wheter you 'll switch to the slave server
or just switch to the backup interface.

- You can always have other ways of telling the other server "I 'm alive" if you have something beeing shared by both servers. For example, I can tell you the case of software from HP, where you have two servers that are both connected to an external disk array where they share information. In case the "heart bit" stops, they  look into a portion of the disk to see if the the other one is still alive.
 This is mine, I think you can do something similiar with a database server to which both have access, etc.

I think this is all there is to say about "heart bits" and detecting failures of the master, but I can share some experiences about general failover, if you whish.


Author Comment

ID: 2011729
I have decided something similar to your concept. we have on active and more that one standby.  when active dies, any one of the standby becomes active. we have to have a common place to share the info for which we have DB server.  

I am not very much experienced in this area. so I just want to make sure that This idea is ok.

I am definitely intested in knowing experiences about general failover and heart beats.  You can email me or post here as comment.

thank you for your answer.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question