Solved

Linux Backup Server

Posted on 2003-11-14
6
403 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now