Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Linode to Linode?
PostPosted: Wed Jul 01, 2009 6:52 pm 
Offline
Senior Newbie

Joined: Sun Apr 12, 2009 7:45 pm
Posts: 16
WLM: alecarmbruster@gmail.com
AOL: whosalec
Here's the question:

Let's say I buy two Linodes. On the first one, I want to run all the services, eg. Apache2, MySQL. On the second, I want to host all my large files.

Is it possible to set the first Linode up so there can be an alias or 'shortcut' on the first Linode so that I can access all those large media files from the first Linode's Apache2?

They're on the same datacenter.

Cheers,
arm


Top
   
 Post subject:
PostPosted: Wed Jul 01, 2009 6:56 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
Same datacenter, so use the private network and nfs/smb.


Top
   
 Post subject:
PostPosted: Wed Jul 01, 2009 7:08 pm 
Offline
Senior Newbie

Joined: Sun Apr 12, 2009 7:45 pm
Posts: 16
WLM: alecarmbruster@gmail.com
AOL: whosalec
Alucard wrote:
Same datacenter, so use the private network and nfs/smb.


Thanks, but can you elaborate more? Maybe the steps needed to get started?


Top
   
 Post subject:
PostPosted: Wed Jul 01, 2009 7:36 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Basically, NFS allows you to mount a directory from another server as if it were a local hard disk. Once the remote directory is mounted on (i.e. attached to) a local directory, you can put files in there just like it were part of the local filesystem.

There are plenty of tutorials out there on setting up NFS between two servers. Google a bit and pick the one you find easy to follow.

Honestly though, if you're going to use two linodes, why not put the MySQL on the second server and keep the Apache and large files on the same server? It takes no more than a negligible amount of CPU or RAM to serve static files over the web (as long as the server is properly configured), so your fileserver is just going to sit idle most of the time. In addition, Linode allows you to pool your bandwidth allowance between linodes, so it doesn't really matter which server uses more bandwidth.


Top
   
 Post subject:
PostPosted: Wed Jul 01, 2009 9:46 pm 
Offline
Senior Member

Joined: Wed Feb 13, 2008 2:40 pm
Posts: 126
Have you searched at all? NFS is the standard network file system protocol. Export a directory from serverA to serverB, mount it on serverB, bam serverB sees the files.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group