LinuxQuestions.org
Review your favorite Linux distribution.
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 01-06-2006, 04:59 PM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Redundant Servers: where do I start?


Just looking for somebody to point me in the right direction.

I am putting together a small intranet. I have two servers, which have very light use. I would like for the two servers to be synced with one another. I mean certain directories should have the same data files. I have mysql databases on both systems, I would like those to stay synced as well. If I shut down one server, I want the other to pick up as if nothing happend.

Nothing critical, or urgent, here.
 
Old 01-06-2006, 05:28 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you're talking about just keeping the 2 systems in sync and it sounds like you are (ie not providing failover or load balancing), then rsync may do the job for you. There's a tutorial at http://linux.about.com/library/cmd/blcmdl1_rsync.htm which may be helpful.

From that site:
Quote:

Some of the additional features of rsync are:
- support for copying links, devices, owners, groups and permissions
- exclude and exclude-from options similar to GNU tar
- a CVS exclude mode for ignoring the same files that CVS would ignore
- can use any transparent remote shell, including rsh or ssh
- does not require root privileges
- pipelining of file transfers to minimize latency costs
- support for anonymous or authenticated rsync servers (ideal for mirroring)
 
Old 02-20-2006, 07:41 AM   #3
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Original Poster
Rep: Reputation: 46
Thank you. I am using rsync, and it works well.

Only one problem, it always prompts for a password. I have tried to get around this by creating a file with the password, and using the --password-file option, but that doesn't work either.
 
  


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
redundant web servers exodist Linux - Networking 6 12-21-2005 02:09 AM
howto syncronize redundant mail servers using postfix exodist Linux - Software 3 12-06-2005 09:25 AM
redundant qmail servers (primary & secondary) littleking Linux - Networking 3 08-15-2004 10:18 PM
Redundant Linux Servers mephitic Linux - General 3 07-13-2004 12:33 PM
Redundant Proxy Servers or Clusters alasdair247 Linux - Newbie 0 10-01-2002 05:30 AM

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

All times are GMT -5. The time now is 09:35 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