LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 03:26 AM   #1
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
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, 07:56 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
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, 09:17 PM   #3
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 31
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:05 AM
sync'ing asus MyPal A620BT with suse AnimaSola Linux - Software 0 06-23-2005 10:41 PM
NFS sync'ing andrewm659 Linux - Networking 1 06-09-2005 03:01 PM
Active Sync'ing of Files JJamesB Linux - Software 4 03-15-2005 10:04 AM
one or two servers jeffpoulsen Linux - Networking 2 06-22-2004 08:43 AM


All times are GMT -5. The time now is 06:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration