LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-19-2004, 12:05 PM   #1
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Rep: Reputation: 15
Mirroring Linux Servers


I am preparing to setup two Linux servers, using them as Network Attached Storage. I need to have these two servers mirror each other, keeping all of their files updated in a realtime basis. Does anyone know of a good How-To on this subject or a software product that will enable this type of function???


Thanks
 
Old 01-19-2004, 04:29 PM   #2
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Are you trying to RAID them? try this link and see if that is what you're looking for:

http://linas.org/linux/raid.html

Hope this helps
 
Old 01-20-2004, 11:47 AM   #3
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Original Poster
Rep: Reputation: 15
Rye,
Thanks for the doc's, have reviewed them. They do contain useful information, but I don't think I will be able to use them. Currently the two servers I am working with will be running RAID level 5 at the hardware level. I am looking for something that will allow me to keep these two servers in sync in a real-time basis...... They will be located in two separate locations, connected via a dedicated line. So, I don't have to worry about performance of this dedicated link, as the servers will be the only traffic on this link. The dedicated link will be running on a separate NIC also. I don't care if I need to purchase a vendor package, i do need one that is stable.

On another note, if anyone knows of a package or way of load balancing between two servers, any info????

John
 
Old 01-20-2004, 03:45 PM   #4
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 30
I am not sure that real time mirroring is possible with just two linux servers, especially if you want to add in load balancing. I think you could achieve close to real time mirroring with rsync and an agressive cron schedule but it would take quite a bit of processor power; possibly degrading the other services you are offering. To load balance, you would definately need to throw aonther box on the path.

Maybe there is another solution that is less agressive. Why do you need to have real time mirroring? DO you have any other computers at your disposal?

I know that redhat enterprise is well suited to your specific needs... might want to check out thier info.
 
Old 01-20-2004, 04:50 PM   #5
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 65
Try this stuff out: http://lcic.org/load_balancing.html

As far as having the machines mirror each other, parhaps there is some way you could trick nfs into do it.
 
Old 01-20-2004, 11:23 PM   #6
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Original Poster
Rep: Reputation: 15
Ezra143,
Mirroring has been requested by the end user, so it's not really an option. I will check with Redhat, regarding the Enterprise Edition of their package. I was looking in that direction, so this shouldn't be an issue (I hope). As for using the Rsync function, based on the amount of time and the amount of data that would be involved, it is not an option. As I mentioned we are currently running RAID level 5 on both of these boxes. The client wants total fault tolerance, no outages will be tolerated.


John
 
Old 01-20-2004, 11:32 PM   #7
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Original Poster
Rep: Reputation: 15
jtshaw,
Thanks for the info, I will look into the different methods and products listed on that page. Either you or Ezra143 mentioned using additional systems to enable some of these services. At this time, I will begin this project by first getting the severs up and running and mirrored. Following that I will begin the pursuit of doing the load balancing. See I didn't mention it, but the clients currently use Windows machines and I was looking towards Samba for access. I have used Samba before with very good results. So as they say, "Staying with what has worked for me before." I know this site has me listed as a newbie, but I normally find my own resolutions to problems. Thanks again for the lead. If anyone has any additional ones please post them, as I am never closed to a new idea or way of doing something. Thanks

John
 
Old 01-21-2004, 04:56 AM   #8
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 30
Sounds like quite a project, But I'm sure Redhat can manage it for you using LVS, Samba and so on.... best of luck. Keep us posted on which direction you go..Sorry I couldn't be of more help.

Last edited by ezra143; 01-21-2004 at 05:00 AM.
 
Old 01-21-2004, 06:04 PM   #9
ryeman
Member
 
Registered: Jan 2004
Location: Gainesville, GA
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Lightbulb

I might have some good news for you, John. I am using mandrake 9.2 and have a app called LinNeighborhood installed. It lets me log into my winxp via my local network (similar to network neighborhood, go figure). Anyway, when you connect to another computer, it creates a mount point in a folder of your choice. From there you could follow the RAID 5 how-to from the following link:

BTW If you try using LinNeighborhood, give it a second or two to connect to a Windows comp. Once it is connected, it will remain connected until you unmount it. Plus, it uses a Samba port (139)

http://www.tldp.org/HOWTO/Software-R...O-5.html#ss5.7

Hope this helps!

 
Old 01-22-2004, 07:44 PM   #10
JohnLinx
LQ Newbie
 
Registered: Jan 2004
Posts: 27

Original Poster
Rep: Reputation: 15
ezra143,
I have contacted Redhat, they recommend setting up Linux Clusters. (Kind of what I had in mind). Based on the white paper that I have reviewed, I would use the two severs that I have as Network Attached Storage. I would then, setup two servers, using cluster technology, to mirror each other. This isn't exactly what I had in mind, but it would work. I would then have the two Clustered servers mount the Network Attached Storage at whatever mount point I choose. If one of the Clustered servers does go down, the other would pick up the connection... I was hoping for a little different approach. I was looking for something more along the lines of a real-time file replication package. In years past there was a product, used on Novell servers that did something like this (tried to recall the name, went blank).

John
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux backup software and drive mirroring software csross Linux - Software 1 12-26-2007 06:59 PM
best linux site ripper/mirroring app? Present Linux - Software 7 04-12-2005 06:44 PM
linux servers tamudnm Linux - General 3 11-04-2004 07:26 PM
Mirroring servers using RSYNC RKris Linux - Networking 1 05-15-2003 06:26 AM
mirroring servers rkirkley Linux - Networking 0 10-08-2001 12:21 PM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration