LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-03-2003, 02:26 AM   #1
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 32
Sync'ing servers


Ok, here is the scenario: I have a handful of dell servers running RH9, I am looking to synchronize them in pairs, ie. a samba server syncing with a samba server, daily for backup purposes.

Unfortunately, the purchases of these servers has happened over time and all the hardware is not the same, otherwise i would just DD every nite from one to the other, or use ghost. So, I am looking for a way, and i sure it is out there in many forms, to have one server have the exact software configuration as another including users, files, configs for apache, samba, mail, and permissions but to not mirror the hardware configs. All have the same HDD size and relative capacity in terms of performance, but they have different NIC's and video cards and some are celeron and some are p4.

The end result I am looking for is to correct a problem I ran into the other day where a server went down due to a HDD quitting after only 2100hrs. While replacing the HDD and restoring linux, I had some downtime on that particular function (database server: bad for downtime) whereas with a mirrored server, I could have simply redirected that traffic to the mirror. and then reversed the syncing process. I am not looking to balance the load, and I have a fairly congested network to work on, so I need this to happen during the nite, when traffic is relatively low.

My ideal is to have one program that does this, rather than have one to mirror samba, one for web, one for mail etc. as some boxes perform multiple functions.

Thanks in advance.
 
Old 12-03-2003, 06:56 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
I find rsync (http://rsync.samba.org/) to be very helpful, though I've never tried it for synchronzing entire computers.

I think you'll find the --exclude-from=FILE option helpful; have a file with all the hardware related configuration files and substitute it for FILE.

Lyle
 
Old 12-03-2003, 08:17 PM   #3
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 32
I guess that I could just mirror the www directory, the homes directory, my samba config directory, my mail directory.... and not bother with the config sections at all . How about mirroring the users when they are changed on on box? I am not familiar enough with this. Thanks for the advice, and TIA
 
  


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
Problems sync'ing Tungsten T5 w/Mandriva and KPilot finklewicz Linux - Laptop and Netbook 1 08-14-2005 09:05 AM
sync'ing asus MyPal A620BT with suse AnimaSola Linux - Software 0 06-23-2005 09:41 PM
NFS sync'ing andrewm659 Linux - Networking 1 06-09-2005 02:01 PM
Active Sync'ing of Files JJamesB Linux - Software 4 03-15-2005 09:04 AM
one or two servers jeffpoulsen Linux - Networking 2 06-22-2004 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 AM.

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