Dwijadas Dey
2017-May-13 16:18 UTC
[Gluster-users] Connect Gluster Node with web interface
Hi list users I plan to setup a cluster of Gluster Node namely node1, node2, node3 on which users will upload and download files through web interface. I checked the setup of Gluster nodes in distributed mode so that files uploaded by users distribute equally across gluster nodes. I have one doubts regarding the linking of gluster nodes to the web server for uploading and downloading using web interface. I know mounting of any of the gluster node in the web server using mount.glusterfs and then making a symbolic link of the web root the mounted glusterfs. But in that case entire website will get distributed across all the gluster nodes. I just want to send the uploaded files/directories to the mounted glusterfs in a distributed mode. I will appreciate if anyone guide me for an efficient solution of the above. Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170513/8dc8a341/attachment.html>
Benjamin Kingston
2017-May-13 17:35 UTC
[Gluster-users] Connect Gluster Node with web interface
Why not mount the gluster volume to a subdirectory inside your webroot and point your uploads from users to that folder. Just make sure you set your mount as a required dependency on the web server service On Sat, May 13, 2017 at 9:18 AM, Dwijadas Dey <dwijad at gmail.com> wrote:> Hi > list users > I plan to setup a cluster of Gluster Node namely node1, > node2, node3 on which users will upload and download files through web > interface. I checked the setup of Gluster nodes in distributed mode so that > files uploaded by users distribute equally across gluster nodes. > > I have one doubts regarding the linking of gluster nodes to the web > server for uploading and downloading using web interface. I know mounting > of any of the gluster node in the web server using mount.glusterfs and then > making a symbolic link of the web root the mounted glusterfs. But in that > case entire website will get distributed across all the gluster nodes. I > just want to send the uploaded files/directories to the mounted glusterfs > in a distributed mode. > > I will appreciate if anyone guide me for an efficient solution of the > above. > > > Regards > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170513/238d9498/attachment.html>