MU Advanced: Issues and Discussion
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • September 03, 2010, 12:25:16 PM
Home Forums Contact Tags FAQ Links News Login Register
* *
Navigation Menu
Search

Random Quotes
If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop.
- Murphy's Law
Pages: [1]   Go Down
  Print  
Author Topic: Moving the file system to another box  (Read 1292 times)
0 Members and 1 Guest are viewing this topic.
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« on: December 15, 2007, 12:07:00 PM »

Greets:

My large mu client is considering getting yet another box and moving the file uploads off to that box.  We already have the mysql dbs on a second box.  This would be #3 possibly. (Their cut of adsense is working really well for them.)

I'm thinking of setting up another box, giving it a hidden local IP address that only the main box sees, and doing a subdirectory redirect from box #1 to box #3.

Questions:

- What the h-e-double hockey sticks does one call that?  I've tried searching for a method similar to doing that but I'm drawing a blank.

- The client has requested a method like wp.com does theirs with a sub-subdomain for each blog.  I'm assuming that one could do the 'files' subdomain on the second box and then create subdirectories off of that and tell the webserver that to call them subdomains off of the files subdomain.  Does that sound right? (They're willing to stick with subdirectories and realize that it will be a pain but I would like to give them what they requested.)

- And how does one give write access to the webserver on box #1 to the file system on box #3?

Regards,
-drmike
Logged

ron_r
Key Master
*****

Karma: 4
Offline Offline

Posts: 1145



View Profile WWW
« Reply #1 on: December 15, 2007, 07:41:18 PM »

In the old days (before linux) we used nfs (network file system). I haven't yet done this in linux, but I'll explain a bit from my unix experience.

My FC6 supports NFS4. The man page on it did not list an alternative. You should be able to get lots of info on nfs in the docs of the OS you are using. The nfs server runs nfsd and the client runs biod (block I/O daemon).

As long as the boxes are in the same logical network, they should be able to share security info across the network. You should be able to grant access to a subdirectory tree to username@hostname.domainname.
Logged

The key to problem solving is identifying the problem.
Andrew
CTO
Full Member
***

Karma: 3
Offline Offline

Posts: 201


View Profile
« Reply #2 on: December 15, 2007, 08:45:05 PM »

We're using NFS with CentOS and it's working very well for our needs.

Thanks,
Andrew
Logged
drmike
Gate Keeper
*****

Karma: 3
Offline Offline

Posts: 2228



View Profile WWW
« Reply #3 on: December 16, 2007, 12:11:51 PM »

Not familiar with NFS but I'll go research it.  Thanks
Logged

Tags:

Pages: [1]   Go Up
  Print  
 
Jump to:  


Login
 
 
Recent Posts
Recent Topics
No new topics.
Hot Tags
Whos Online
11 Guests, 0 Users
Home Forums Contact Tags FAQ Links News Login Register