LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-14-2012, 02:02 AM   #1
mcollis
LQ Newbie
 
Registered: Sep 2011
Location: Wales / UK
Distribution: OpenSuse 11.x / Ubuntu
Posts: 7

Rep: Reputation: Disabled
Question Data Sync - keeping 2 servers the same


Hi All,

We have 2 servers (lets call them linuxfs01 and linuxfs02) and they are both hosting files for windows clients using Samba.
Both servers are openSUSE 11.3 x64 with plenty of storage etc.
We have the need to keep both of these servers in sync with each other meaning that the data that is on one side is always available on the other side as a failover solution.
Before anyone says the words RSync or Unison, I have already been down these roads, infact, for the best part of the last year unison has been running quite happily (in 1 way mode) untill it's database corrupted. now with ~500GB of remote data to read and propogate the required changes it's becomming a challenge to the point where the data has not syncronised for at least 3weeks where it is still polling the data to migrate.

I want to take the option to re-evaluate my datasync requirements now and am considering the following setups:
1 -
Create an SSHFS link between the 2 servers and replicate over this.

2 -
Create a 3rd "sync" system and setup that to replicate the data and connect via SSHFS to the other 2 servers and using FreeFileSync to keep the data is continual check.

3 -
Create a 3rd "sync" system and setup that to replicate the data and connect via NFS shares to the other 2 servers and using FreeFileSync to keep the data is continual check.

I have a feeling that option 3 is the best route to use as that way I can install a Ubuntu system to perform the data sync knowing that .deb packages are being compiled faster than on opensuse, also I am having problems with suse in that I cannot get the sync software to run accordingly.
I dont want to upgrade the 2 systems to suse 12.1 yet as they are both production machines and we cannot afford the downtime so my R&D is being done on test machines currently.

Would anyone here have a better solution that I can easily setup and use?
I do wish now that when we first built the machines I had found and setup DRBD on them that way we would have a softare Raid between the 2 physical servers over the LAN with no need to worry about the data sync.

Thank you
 
Old 05-14-2012, 09:47 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Do you know about DRBD? http://www.drbd.org/

GFS? http://sourceware.org/cluster/gfs/

Last edited by mpapet; 05-14-2012 at 09:49 PM.
 
Old 05-15-2012, 02:25 AM   #3
mcollis
LQ Newbie
 
Registered: Sep 2011
Location: Wales / UK
Distribution: OpenSuse 11.x / Ubuntu
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mpapet View Post
I do know both of those and I wish now that we had implemented either of those at the time we built the one server then comissioned the second.
Unfortunately, with 500GB of data we cannot simply format the drive then reset the file system.
 
Old 05-18-2012, 04:41 PM   #4
ratotopi
Member
 
Registered: Dec 2011
Posts: 114

Rep: Reputation: 6
did you look into rsync command ?
 
  


Reply



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: Keeping your computers in sync LXer Syndicated Linux News 0 12-07-2010 11:00 PM
Keeping clock in sync with ntpd as client only? lukesc Linux - Server 7 12-04-2009 11:10 AM
Keeping multiple files and backups in sync? enine General 3 10-16-2007 10:19 PM
Keeping boxes in sync with updates and patches Woodsman Slackware 2 08-18-2006 05:56 AM
Keeping .vcproj and Makefile.am in sync? arturked Programming 0 05-24-2006 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration