Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Dec 29, 2011 7:12 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
I'm looking for an effective method (i.e reasonably fast and reliable) to share the storage of one Linode with multiple other Linodes.

Can anyone suggest an effective way in which this could be achieved. In the past people have suggested using NFS but I was under the impression that NFS was not a particularly fast way to share storage. Are there any other options that I could use? Or is NFS an option that would actually work properly?


Top
   
 Post subject:
PostPosted: Thu Dec 29, 2011 10:54 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
If one server's storage is being shared with one or more local clients, then NFS is probably the best way to go, from a simplicity/efficiency standpoint. Where NFS starts to break down is when you want to do something more complex (e.g. pooling the storage of multiple systems) or when you've got a lot of network to traverse. Doesn't sound like either is the case here.

Be careful (as always) if multiple clients might write to the same file.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Dec 30, 2011 2:19 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
I should probably clarify what I am wanting to do.

I need to host web applications using the traditional web server / app server and database server model.

Clients will sign up for the service and then the web servers will proxy requests to the app servers. When the load reaches a certain level new app servers will either be spawned or the app server will be upgraded to a larger Linode. Since the web servers don't need to share any data (except for configuration files) and the database servers can just implement master / slave replication there is no problem with them. The problem is having multiple app servers running the same application and thus require the sharing of storage between all app servers running the same application.

Does that clarify what I am wanting to do? Hopefully it should, but if you require any more information please let me know.


Top
   
 Post subject:
PostPosted: Fri Dec 30, 2011 3:56 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Hmm... in that case, I'd probably recommend storing the code in a repository (SVN, git, or whatnot), and then having your configuration management system pull and deploy the code when it changes. This will allow the cluster to keep running if the server with the source code goes away.

If you go the NFS route, be sure to make it highly available. Otherwise you're implementing a distributed single point of failure...

Ninja edit: see also puppet and chef for your automation needs.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Fri Dec 30, 2011 5:29 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
Thank you for your advice. It was very helpful :).


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


Who is online

Users browsing this forum: No registered users and 1 guest


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