LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-28-2006, 02:09 AM   #1
panicbox
LQ Newbie
 
Registered: Nov 2005
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 21

Rep: Reputation: 15
Question Web server backup and failover


I'm just a noob sysadmin. And I'm having a headache everyday dealing with my servers. Please give me advice about this?

Here's the setup:
I have two web server within the lan, 1st as the primary server and the 2nd for backup and failover server.
I'm running apache, squirrelmail, phpbb, mambo and bind in this servers.

Here's the plan:
If the 1st server is down, the 2nd server should be automatically be up to answer the query and act as the 1st server.

Here's the problem:
1.) Synchronization of data - I read that rsync will do this job?
2.) Failover - heartbeat? or DNS round-robin? (I don't know how to do this)
3.) Database - mysqldump?

Answers?
Comments?
Guys any inputs about this?
How about you? What are your setup?
I need ideas about this before I push my time on this.

thanks.
 
Old 08-28-2006, 02:46 AM   #2
panicbox
LQ Newbie
 
Registered: Nov 2005
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 21

Original Poster
Rep: Reputation: 15
I read some similar threads about this topic but they don't have clear answers.
Maybe you guys already figured how to setup like this? help me please?
 
Old 08-28-2006, 05:01 AM   #3
panicbox
LQ Newbie
 
Registered: Nov 2005
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 21

Original Poster
Rep: Reputation: 15
anyone? I'm still studying about this.
 
Old 08-29-2006, 01:17 AM   #4
AsgrimTheMighty
LQ Newbie
 
Registered: Jul 2006
Location: United Kingdom
Distribution: Fedora 5
Posts: 7

Rep: Reputation: 0
I am also looking into this, as I just dabble in sysadmin stuff, so this might help you...

I have heard that Virtual IPs are a good route to take, so whichever server boots first will be the primary server, and the next to boot will be secondary. If primary goes down, I am assuming secondary server will assume it is the primary.

I think this is how it works, but I am not sure, so don't quote me... just typing my thoughts really...

Primary server: 10.156.23.1
Secondary server: 10.156.23.2

Setup a virtual IP on both for 10.156.23.10

and have your router port forward to 10.156.23.10

Like I said, I **think** thats how it works, and I'll give it a try next week. If anyone else has any ideas or corrections to my theory, please let me know
 
Old 08-29-2006, 01:56 AM   #5
panicbox
LQ Newbie
 
Registered: Nov 2005
Location: Philippines
Distribution: Fedora Core 4, Debian
Posts: 21

Original Poster
Rep: Reputation: 15
I appreciate your inputs. thanks.

anyone have thought about this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Backup MySQL databases, web server files to a FTP server automatically LXer Syndicated Linux News 0 08-11-2006 09:54 PM
Backup / Failover Solution with Colocated Servers benhalliday Linux - Software 1 05-25-2006 09:28 AM
Backup exclusions for RedHat 7.3 Web server? Tenover Linux - General 7 01-31-2006 10:29 PM
server failover eph Linux - Networking 1 12-07-2005 07:07 AM
failover with backup internet connection? enilder Linux - Networking 1 11-04-2005 07:47 PM


All times are GMT -5. The time now is 07:49 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration