Solved

Mirroring Linux Servers

Posted on 2000-03-07
11
277 Views
Last Modified: 2010-04-20
What is the most standard
(easy) way of sensibily mirroring servers on Linux platforms
0
Comment
Question by:martincollis
  • 5
  • 3
  • 2
  • +1
11 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2591331
Do you mean having two different servers with identical data and configuration, or do you mean mirroring the disks of one server?
0
 

Author Comment

by:martincollis
ID: 2592106
Identical is better,


But mirrored disks will work aswell.

Its for load bearing aswell, you see.
0
 
LVL 3

Expert Comment

by:iharding
ID: 2592217
Again, do you mean clustering the servers themselves or just mirroring the drives.  One is easy the other is not.
0
 

Author Comment

by:martincollis
ID: 2592277
The easy one  ;-)
0
 

Author Comment

by:martincollis
ID: 2592279
The easy one  ;-)
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 40

Expert Comment

by:jlevie
ID: 2592296
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?
0
 
LVL 2

Accepted Solution

by:
mapc earned 100 total points
ID: 2632843
The easy way:
run rsync from http://rsync.samba.org
every night.
It's fast, standard and very reliable, and can use  ssh for the connection.
The hard way:
(is it possible at all?)
Linux has "network file device"
use it together with "mirroring", then, you'll achieve replication in realtime.
But this seems to be experimental an unstable.
I'd rather stick to rsync. It's performance is outstanding, I'm using it to mirror some web servers - for backup and high-availability, but load balancing in an option.
Again, if it's the disks are on the same server, use mirroring "raid-0" if I'm not mistaken in the kernel.
It's stability is questioned as well.
0
 

Author Comment

by:martincollis
ID: 2635314
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?
0
 
LVL 2

Expert Comment

by:mapc
ID: 2636336
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.
0
 

Author Comment

by:martincollis
ID: 2636987
I want to do this free with Linux.

What is the best option, assuming all discussed?
0
 
LVL 2

Expert Comment

by:mapc
ID: 2638223
I think that I hinted :)
Use two computers and sync them with rsync from http://rsync.samba.org/
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

22 Experts available now in Live!

Get 1:1 Help Now