文章不经特别说明都是原创,转载本站文章请注明,文章作者:opbsder 转载自:开源茶馆[http://www.opbsder.com]
本文链接: http://www.opbsder.com/html/y2008/943_hello-world-919.html

i have a web server on centos 4.6. i have configured one more back up> Webserver with the same configuration as the same on the primary web server>>> Now how to configure this servers for fault tolerance. that is. if one> server gets down the other should automatically become up.

You can use IPVS. There are tutorials on howtoforge#########################################################You will want to look at the CentOS cluster suite.  Depending upon whether there is shard storage involved, databases, etc, you will want to choose from the LVS (load balancing) part of cluster suite or the high availability part of cluster suite.

Start here. <http://www.centos.org/modules/news/article.php?storyid=108>########################################################################For a starter, there is a very simple tool for this.It's http://www.inlab.de/balance.html

For a serious ones:1. Linux High-Availability (http://www.linux-ha.org)2. RedHat Cluster Suite dan Piranha (http://www.redhat.com)3. Linux Virtual Server (http://www.linuxvirtualserver.org)4. BeoWulf Cluster (http://www.beowulf.org)5. Openmosix (http://openmosix.sourceforge.net)

##################################################33I think for a two nodes with real time storage sharing heartbeat / drbd would offer what you want. There's a pretty simple how to on the centos wiki to get you up and running.

I've not really used the RedHat cluster suite, but I 'think' it can offer a similar solution.

#############################################

http://wiki.centos.org/HowTos/Ha-Drbd