Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-31-2005, 07:33 AM
|
#1
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Rep:
|
how to know when a server dropped the ball
Greetings.
i have two almost identical debian servers set up at work. Both on an internal LAN. A main one and a backup. The router forwards port 80 to one of them, but i was wondering if there was a way for the backup computer to know if the main one crashes so it can take over as the main server. i would have to write a script or something that would change its ip address to be the one that the router is forwarding port 80 to . Or is there a better way to do this?
open for suggestions.
thanks
|
|
|
09-01-2005, 05:40 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
There are very proper ways to do this, using LVS (Linux Virtual Servers) normally. To be honest I've never even touched this stuff, but as you're only after a failover rather than real load balancing, a pretty simple implementation should be fine. Here's a couple of links that, if not provide you with anend product you like, should give you lots of documentation about the gerneal subject.
http://www.linux-ha.org/HomePage
http://www.ultramonkey.org/3/
|
|
|
09-01-2005, 05:43 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
actually, maybe this is all you need... http://sourceforge.net/projects/vrrpd/
|
|
|
09-01-2005, 07:40 AM
|
#4
|
Member
Registered: Jun 2005
Distribution: arch, ubuntu
Posts: 456
Original Poster
Rep:
|
Cool, i still need to look into it more, but i think i am going to go with Ultra Monkey 3.
We dont really need load balancing right now, but likely we will in the next few months.
Also, there is a package for debian Sarge. (what both of the servers run).
very cool indeed. And thanks for the tip.
|
|
|
All times are GMT -5. The time now is 05:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|