We're setting up a simple Tomcat cluster using Tomcat 5.5.12. There will be initially 2 Tomcat instances on 2 physical Linux servers in this cluster. Is mounting a shared NFS folder appropriate for this?
NFS will allow us to deploy updates a single time and have all Tomcat's in the cluster pick up the change. It also allows us to manage a single configuration without messy synchronization/mirror scripts. I had some doubts about a shared setup at first: - Multiple Jaspers instances will try to read/write to the same work directory - Multiple Catalina instances will try write to the to same catalina.out file However, after a simple test, I found that none of these cause a problem. If I deploy a new webapp, all Tomcats pick up the change. I did a "tail -f catalina.out" and it appears all Tomcats can write to catalina.out. It seems that the Jasper has already been setup to run asyncronously so adding 2 separate Tomcats didn't cause a problem. Don't get how both can write to the same catalina.out though. But I'm happy with it. Has anyone tried this NFS mounting (it could also be a Windows mounted drive as well on Windows systems). Are there unforeseen problems my tests don't reveal? Are there any alternatives to NFS mounting that still provide the same simplicity? -- View this message in context: http://www.nabble.com/Tomcat-Cluster-and-NFS-mounted-webapp-tp20176721p20176721.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]