LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2005, 05:57 PM   #1
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Rep: Reputation: 0
Which is the best set up for a fileserver in the network?


I am considering getting a new machine to add extra storage in my network. I need to keep files in there that will be served from web-servers running on two other machines on the same network.

The question is should I export these files with nfs to the web-servers or should I just run a web-server there as well, that will only serve the purpose of sending stuff to the other machines, but not hosting any web-pages?

web-server1 web-server2
|____________|
|
file-server

In the above set-up should I write:
<html>
.....
<img src="http://fileserver......./pics/img1.jpg">
.....
</html>
in all pages served from either of the web-servers and contain a file stored in the fileserver.

OR

should I mount the path where the files are stored in FILE-SERVER locally on each of the web-servers?

Does it make any difference if these files are actually stored in a RAID on FILE-SERVER?

Thanks a lot,
thanos
 
Old 11-16-2005, 07:08 PM   #2
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
if you set NFS well, and with good ip-spoofing protection on the server, I would go for that option.

NFS is reliable and fast!
(at least in my experience)

Riddick
 
Old 11-17-2005, 05:02 PM   #3
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the reply,

I have a couple more questions though...
- Are there any other alternative solutions to the problem that are worth having a look at?
- NFS would not present any unpleasant surprises when exporting stuff stored on a RAID. In particular RAID5 on a controller card.
- Why would I need to use IP spoofing?

Thanks a lot in advance,
Thanos
 
Old 11-19-2005, 06:54 AM   #4
thanos155
LQ Newbie
 
Registered: Aug 2005
Location: UK
Distribution: Fedora Core 5, FreeBSD
Posts: 15

Original Poster
Rep: Reputation: 0
Hi,

Managed to find answers to my other questions...

Still, as stupid a question as it might sound, why would I need IP SPOOFING in this configuration?
Am I missing something important?

Thanks,
thanos
 
Old 11-23-2005, 03:25 AM   #5
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
I suggested IP Spoofing protection, because of how NFS works.
NFS should only be used in an internal network, and you
should set it up only to allow connections from the server you
want. Just to make sure noone can access it from the outside
while pretending to have an IP from your internal network,
I suggested to turn on IP spoofing protection!

Riddick
 
  


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
What will I need to set up a network? rammstein Linux - Networking 5 08-29-2005 06:52 PM
Set up the network aje Linux - Networking 1 11-08-2004 09:37 PM
Samba fileserver dissapearing from network listing bindsocket Linux - Software 1 10-23-2003 02:20 AM
How to Set up a network? scahrossar Linux - Newbie 2 10-09-2003 05:15 PM
how to set up a network?? dARkHunTEr Linux - Networking 19 08-02-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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