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 serviceOn Sat, May 13, 2017 at 9:18 AM, Dwijadas Dey <dwijad@xxxxxxxxx> 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@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users