LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-02-2009, 04:37 PM   #1
algerdes
LQ Newbie
 
Registered: Sep 2009
Location: Illinois
Posts: 5

Rep: Reputation: Disabled
Looking for inter-server file connectivity


Good day to you all!

Starting out is always an adventure, but starting out with multiple servers seems to be something new again.

Three Servers:
1. Used for web traffic. CentOS 5.2 with Apache loaded. PHP is also used on this machine with MySQL currently located here. This machine works fine with everything loaded on one CPU/machine. For security and other reasons, I want to separate MySQL and the files to their own machines (#2 & #3).
2. Again, CentOS 5.2. I want to use this machine as the database server to feed the Apache machine. My idea is to make this the MySQL machine, providing a dedicated CPU for this function.
3. The third CentOS 5.2 machine, with 2.5 TB of storage - expandable to ... in the future. I want to use this machine as the "file server" for the others. Another reason for having separate MySQL and files machines is that as the system grows, there will (hopefully) be additional machines sharing the load of the functions of 1 & 2.

Currently the machines are only connected through the primary internal Gig Ethernet network (Eth0) and port forwarded from the internet via the Cisco PIX Router. A second Gig port (Eth1) on each machine will be used to tie the 3 machines together. This second Gig "backbone" will not be used for anything except this data traffic between machines.

My problem lies in not knowing the best mechanism to share the files. My reading of late has taken me into NFS, but so far I have not been successful in making this work. Before I get too much further into it, I wish to ask if there is a "better way". It would also be helpful to know what is needed to make NFS work in the described configuration. I'm not above chucking it and using something that is better, but since it appears to be there already, it at least deserves a look.

Any and all advice will be appreciated. Hopefully I can get this up and running soon, with your guidance.

BTW - Moving from OpenVMS and Windows Server to Linux is turning into an interesting time. I can see why some become staunch supporters of Linux, to say the least.

ALG
 
Old 10-02-2009, 04:41 PM   #2
algerdes
LQ Newbie
 
Registered: Sep 2009
Location: Illinois
Posts: 5

Original Poster
Rep: Reputation: Disabled
One additional item:

All workstations using this system are Windows based, but their connectivity to this system will be strictly through browsers. (Thin client?)

There may be a need in the future to use some of the files storage areas from Windows.

Thanks again.
I look forward to your replies.

ALG
 
Old 10-02-2009, 07:03 PM   #3
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by algerdes View Post

[ snip ]

My problem lies in not knowing the best mechanism to share the files. My reading of late has taken me into NFS, but so far I have not been successful in making this work. Before I get too much further into it, I wish to ask if there is a "better way". It would also be helpful to know what is needed to make NFS work in the described configuration. I'm not above chucking it and using something that is better, but since it appears to be there already, it at least deserves a look.

Any and all advice will be appreciated. Hopefully I can get this up and running soon, with your guidance.

BTW - Moving from OpenVMS and Windows Server to Linux is turning into an interesting time. I can see why some become staunch supporters of Linux, to say the least.

ALG
Do you need constant access, as in mounted directories referring to the other machines, or is this a matter of periodic backups? Are all the machines up all the time, or are some of them unavailable at times?

I ask because this makes a difference to the choice of network protocol.

As to NFS, it's easy to set up and people here will be happy to show you how. But NFS isn't necessarily the best choice for high-speed transfers.
 
Old 10-02-2009, 08:41 PM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
A suggestion: don't put your city in your profile. State is good enough. Call me paranoid but it pays to be paranoid these days.
You might want to browse through the networking forums here at LQ. Lots of info there to help you out, just do some searches in that forum. You might wind up with Sambas for sharing files with the Windows machines. But NFS is really quite easy to set up, as you will see.
 
Old 10-04-2009, 09:59 AM   #5
algerdes
LQ Newbie
 
Registered: Sep 2009
Location: Illinois
Posts: 5

Original Poster
Rep: Reputation: Disabled
Constant access

Constant access will be available.
So far my reading shows that though NFS is supposed to be easy to install and is available in every version of Linux, it is not the fastest access method. (I find it funny how the authors of these statements don't elaborate on what they know to be faster.)

Do you have a prefered method to connect several machines?
 
Old 10-05-2009, 12:54 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you need to share files between Linux systems, NFS (try to use latest nfs v4) should be fine.
For the DB box, use the normal GRANT privs and network cxn via port 3306.
http://dev.mysql.com/doc/refman/5.0/en/
For the MS systems, you could use NFS or Samba. The latter enables you to share using MS protocols eg netbios/cifs/ etc.
 
Old 10-06-2009, 08:30 AM   #7
algerdes
LQ Newbie
 
Registered: Sep 2009
Location: Illinois
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks.
I'm looking into the docs you referenced.
 
Old 10-06-2009, 07:13 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
BTW; RHEL/Centos Admin/Deployment guide: http://www.linuxtopia.org/online_boo...ion/index.html
 
  


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
Inter-server log file transfer [Debian etch] Smokin... Linux - General 4 01-26-2009 07:00 AM
Outgoing Connectivity problems. Incoming connectivity fine Fionnbharr Linux - Newbie 1 10-02-2008 12:51 PM
Server connectivity problems Elrodin Linux - Networking 1 08-08-2006 05:13 PM
RH server and XPfee clients,no connectivity ALInux Linux - Networking 0 09-09-2004 02:50 PM
Samba server and XP connectivity problems maybbach Linux - Networking 6 05-21-2004 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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