The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to read EEPROM Locations shidlingayya Shell Programming and Scripting 0 02-14-2008 12:35 AM
Printing Dots in specific Locations in the Console ? Max_Payne High Level Programming 0 01-13-2008 12:57 AM
copy similar files only both at different locations using script. fed.linuxgossip Shell Programming and Scripting 1 11-23-2007 04:02 AM
Standard Out to Two Locations GaryRudolph Shell Programming and Scripting 2 05-14-2004 07:05 PM
WARNING: ap: no database locations yyt19701210 UNIX for Dummies Questions & Answers 11 10-25-2003 02:53 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-22-2008
Cherubim Cherubim is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
Sychronized filesystem over multiple locations

Hi,

I have a (at least for me) quite complex problem to solve:

At the moment we have 3 servers in 3 different locations, which synchronize their data at night via a rsync job.

What i would like is that the servers synchronize their filesystems in realtime and also act as a local cache for the location.

To make it a little clearer what i mean here's an example:

There are Servers A B in Location 1 2.
These 2 servers somehow (I don't know how, thats exactly my question) have their filesystems sychronized.
The server are on a 1Gbit LAN and connected to each other over a 34Mbit WAN.
The client X is in Location 1 and Y in Location 2.

Now client X in L1 uploads a huge file to Server A.
Shortly after the upload is finished, client Y in L2 wants to download this file from Server B. Server B is not yet finished with the synchronization and should transparently now get the file from Server A and serve it to the client while continuing the synchronization.
Of course this transfer is slow for Client Y cause he effectively only has 34mbit - but at least he doesn't have to worry about which server to get the file from.
After some time then the servers are 100% synchronized again and all clients get their LAN bandwidth.


Is there any software / filesystem / cluster solution / whatever that you know of that does exactly this?
  #2 (permalink)  
Old 07-22-2008
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,285
I bet EMC has something shiny expensive for fast mirroring like Symetrix + SRDF. I don't know if it works via WAN though.
  #3 (permalink)  
Old 07-22-2008
joydeep joydeep is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 13
Hi,

Please monitor I/O activity and CPU utilization of both servers. If the hardware and configuration of both servers are identical, then Network would be the bottleneck.

Is it not possible to use file server and mount the file system on each server so that uploading/downloading get effect immediately into all servers?

Regards!
  #4 (permalink)  
Old 07-22-2008
Cherubim Cherubim is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
The problem is i can not use a centralized server for performance reasons - 34mbit just isn't enough bandwith. I would have to use a fileserver in each location and that would not realy help as i would have the problem of keeping them in sync again.
The data of the servers is mostly used on the server it is stored, but if a user wants to access a file that is not on his server he has to wait a day at the moment - or copy it manually.
  #5 (permalink)  
Old 07-24-2008
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Have you tried Unison before, and does it meet your needs (or at least most of them)?

Unison File Synchronizer
  #6 (permalink)  
Old 07-24-2008
Cherubim Cherubim is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 3
Unison is what i use at the moment, but there has to be something like DFS (windows) for Unix/Linux
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0