Link to home
Start Free TrialLog in
Avatar of martincollis
martincollis

asked on

Mirroring Linux Servers

What is the most standard
(easy) way of sensibily mirroring servers on Linux platforms
Avatar of jlevie
jlevie

Do you mean having two different servers with identical data and configuration, or do you mean mirroring the disks of one server?
Avatar of martincollis

ASKER

Identical is better,


But mirrored disks will work aswell.

Its for load bearing aswell, you see.
Again, do you mean clustering the servers themselves or just mirroring the drives.  One is easy the other is not.
The easy one  ;-)
The easy one  ;-)
Have you looked at the High availability How To (http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html)

How to set multiple systrems up for load sharing is very highly application specif, care to share some details as to what services are involved?
ASKER CERTIFIED SOLUTION
Avatar of mapc
mapc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have two machines (identical if needed) and I want them to copy each other and have access to the same data.

Sharing a hardwadisk sounds like the best answer.

Hows it done?
This is not mirroring.
And, it's not reliable.
You can use NFS, which can give you enough performance.
You can alternatively use CODA which is another Network file system.
There's no known way to share a disk otherwise, since it's impossible in the unix way of thinking - you cannot mount filesystem (except nfs) by more than one computer.
There are external devices produced by Veritas et al which can be used, but they are costy.
Since having two computers with two harddisk which are mirrored (say, with rsync) is more reliable, and faster, I propose this solution. Harddisks are cheap today.
I want to do this free with Linux.

What is the best option, assuming all discussed?
I think that I hinted :)
Use two computers and sync them with rsync from http://rsync.samba.org/