<div dir="ltr">Good morning guys,<div><br></div><div>we are going to deploy a new production infrastructure.</div><div><br></div><div>in order to share some folders through our app servers (Tomcat 8), I wan to create a GlusterFS storage area.</div><div><br></div><div>I made some tests in localhost (using some VMs), but at the moment only with Apache2.</div><div><br></div><div>My configuration is a mirroring replica (1:1).</div><div><br></div><div><b>My questions are:</b></div><div><b><br></b></div><div>1) Considering 2 Frontends and 2 Gluster FS Nodes, the best practice is to write a different fstab entry for each node?</div><div>Frontend1 (mount the first gluster node, and the second one as backup volume):</div><div>gluster1.droplet.com:/app_volume /var/www/html glusterfs defaults,_netdev,backupvolfile-server=<a href="http://gluster2.droplet.com">gluster2.droplet.com</a> 0 0<br></div><div><br></div><div>Frontend2 /etc/fstab (mount the second gluster node, and the first one as backup volume):</div><div>gluster2.droplet.com:/app_volume /var/www/html glusterfs defaults,_netdev,backupvolfile-server=<a href="http://gluster1.droplet.com">gluster1.droplet.com</a> 0 0<br></div><div><br></div><div><br></div><div>2) I want to backup every day the volume files. I can run a zip command directly from the gluster node, or I need to mount it on the backup server than run the command? Is there any other good solution to store a backup?</div><div><br></div><div>3) Can I share WebApps folder between Tomcat servers? Is there any known issue? (for example putting a .war into the WebApps folder, I think I&#39;ll generate some errors due to tomcat war deploying? Anyone have experiences with tomcat and glusterfs shared folders?)</div><div><br></div><div>4) Can I use a load balancer software to mount GlusterFS volumes? If YES, is there any benefits?</div><div><br></div><div>Thank you in advance for your answers, </div><div><br></div><div>best regads, have a nice day,</div><div><br></div><div>Riccardo</div></div>