LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-12-2007, 03:26 PM   #1
Jimerson
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
Webserver Failover using RH5


I am looking for a good way to do an apache failover using RH5.

I do not need loadbalancing. Just something so that in the event of Hardware or Software failure something that will automatically move it over with no downtime.

I have multiple servers to do this with,and they are all located on the same network so bandwidth is not an issue.

Any suggestions?

Thanks,
Jim
 
Old 08-13-2007, 02:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
is something like this simple enough? http://www.onlamp.com/pub/a/onlamp/2...inuxhacks.html lots of it depends on what you consider to be a failure really. you could quite possibly mine down to the result of a db query with LVS or something, failing over if the returned data is below a certain threshold or similar. but this example will just ping the other ip.
 
Old 08-14-2007, 07:36 AM   #3
Jimerson
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Original Poster
Rep: Reputation: 0
This could be a much easier solution that what I was looking at...

I now just need to find a script that can be edited to check and see if the webserver (Port 80) is responding.


Thanks so much for your help.

James.
 
Old 08-14-2007, 12:57 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would probably look at using wget or curl to dip a little further in to the config, as it's about as easy anyway. i'm sure you can adapt the script to replace a ping with a curl.
 
  


Reply

Tags
apache, failover



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo cache RH5 updates locally?? madmax7774 Linux - Software 1 06-28-2007 08:58 AM
opening ports on RH5.2 on a sparc box MochaMan Linux - Networking 3 01-18-2007 12:14 AM
webserver failover imi@tux Linux - Networking 1 05-23-2006 02:47 AM
w98se, w2k and rh5.1 altogether... how? stil77 Linux - Newbie 2 01-15-2004 10:45 AM
Old RH5.2 user coming back with RH9.0 with many problems franciscofossa Linux - Newbie 1 07-17-2003 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration