I have a web application which run on single tomcat server. We use Springs MVC and DI + we have a index engine to index files like pdf, word etc.
We need to scale this application to work in a cluster now. We have our documents stored on file system (pdf, word) etc which user can download from our web interface. Also we manage indexes to be able to search. Once we go on a cluster my questions are
1. How would each node be able to serve the document which are on the file system now ? Is there a good solution other than replicating all documents manually on each server? We are hosting on windows.
2. How do we take care of indexing and searching in cluster? Ideally only one node should be allowed to write to the index and all other nodes should be able to search?
3. Do we need to move to Jboss for better cluster support?