LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2010, 05:26 PM   #1
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Rep: Reputation: 15
link /var/www


I have 4 internal web servers all with exact data being load balanced..

They currently all have full data on each, I'd like to consolidate the data to one location so my developers don't need to replicate to all 4.

Are there any repercussions to linking /var/www to a mounted network share?

ie ln -s /share/webapps /var/www

Is a setup like that standard?
 
Old 06-30-2010, 05:31 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by digitolx View Post
I have 4 internal web servers all with exact data being load balanced..

They currently all have full data on each, I'd like to consolidate the data to one location so my developers don't need to replicate to all 4.

Are there any repercussions to linking /var/www to a mounted network share?

ie ln -s /share/webapps /var/www

Is a setup like that standard?
We serve our websites from an NFS mount here at work...no big issues here...but instead of linking them...why not mount "over" the directory?

Code:
mount nfs://host/share/webapps /var/www
-C
 
Old 07-01-2010, 08:59 AM   #3
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Original Poster
Rep: Reputation: 15
Good idea,

Are there any issues with hanging process's and NFS shares that you know of? I've heard it through the grapevine that there might have been at one time.. Not sure if it's still an issue..

Thanks for the input, greatly appreciated..

Quote:
Originally Posted by custangro View Post
We serve our websites from an NFS mount here at work...no big issues here...but instead of linking them...why not mount "over" the directory?

Code:
mount nfs://host/share/webapps /var/www
-C
 
Old 07-01-2010, 12:10 PM   #4
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by digitolx View Post
Good idea,

Are there any issues with hanging process's and NFS shares that you know of? I've heard it through the grapevine that there might have been at one time.. Not sure if it's still an issue..

Thanks for the input, greatly appreciated..
What version on NFS will you use?

We use NFSv3 and NFSv3 and we don't have any issues...will you use php? Just to let you know that php performs a lot of "getaddr" (essentially "ls-ing")...we don't have issues with php but just keep in mind that php is kinda "chatty" with discs...

BUT; we have our site load balanced so we experence no issues...we take 10 million hits a week with no isses...

-C
 
Old 07-02-2010, 05:44 AM   #5
digitolx
Member
 
Registered: Nov 2004
Posts: 96

Original Poster
Rep: Reputation: 15
I am using NFS3, and also PHP almost exclusively. The webapps are all internal.

I will have to test it out on 2 of the servers and keep an eye on it before I roll it out to the other 2.

Thanks for your input


Quote:
Originally Posted by custangro View Post
What version on NFS will you use?

We use NFSv3 and NFSv3 and we don't have any issues...will you use php? Just to let you know that php performs a lot of "getaddr" (essentially "ls-ing")...we don't have issues with php but just keep in mind that php is kinda "chatty" with discs...

BUT; we have our site load balanced so we experence no issues...we take 10 million hits a week with no isses...

-C
 
  


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
Apache var/www bmeserver Linux - Newbie 3 08-14-2009 09:56 PM
Who should own /var/www and it's contents? morrolan Linux - Server 4 04-03-2007 02:55 PM
Symbolic Link For FTP Access To /var/www/html ERRRRRRRRRRRR! JustinK101 Linux - Software 3 01-31-2007 11:32 AM
help in /var/www/html/!! chidomen Linux - Newbie 4 01-13-2005 11:02 AM
thanks boss....... now i don't have a /var/www joesbox General 4 11-08-2003 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:55 AM.

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