Solved

Linux Backup Server

Posted on 2003-11-14
6
410 Views
Last Modified: 2010-04-21
I have one Linux server in one centralized location. I need one additional server for fault tolerence and load balancing. Is there any Linux Backup Server available and If so, how can I configure the backup server. The backup server should provide mail replication and file and database replication.
0
Comment
Question by:cibyjacob
  • 2
6 Comments
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9760977
0
 
LVL 5

Accepted Solution

by:
Insolence earned 20 total points
ID: 9774635
Sounds like you need High Availability Linux.  =)  The extent of High Availability Linux is really extreme... but you don't have to implement every aspect of it.  The goal of the HA-Linux project is to have every component of your server redundant.  That is a bit extreme for most applications.  For yours you could simply setup another linux server, a bash script to constantly copy the mail, file, and databases from your main server to your backup server, hook up a serial cable between both of them with Heartbeat running, and if your main server goes down, your backup server will assign itself the same IP address, along with starting mail, file, and database services.  It's quite awesome.  I have this basic setup at one of my client's offices, it isn't too complicated or hard to setup, just requires a little shell scripting (or C++, or perl, etc.) skill to be able to make a takeover script and a copy script.  Check this out...

http://www.ibiblio.org/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html

A piece of advice... your backup script onto your backup server should NOT overwrite directly from the network.  This is incase halfway through a large database copy your main server crashes.  If this happens then your backup server will only have half of the database and your database software will most likely not even start, spitting out errors about the database integrity.  Copy everything into a temp from your main server to your backup server, and once everything is copied into the temp, then rename and replace those files on your backup server.  =)

 - Insolence
0
 
LVL 5

Expert Comment

by:Insolence
ID: 10179032
Gave good advice and exact information from experience but have not heard back from author.

 - I
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10303404
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Answered by  Insolence
Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

khkremer
EE Cleanup Volunteer
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
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…

820 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