I have a linux server dedicated to awstats. This server hosts awstats application and generate/publish statistics for several websites hosted by several webservers deployed in my infrastructure.
In order to do this job at this moment each webserver exports via NFS its web-access-logs directories and the awstats server mounts them in read only. In this way everything works fine and awstats can read all servers logs.
The main problem of this solution is that whenever i turn off/on a webserver i have to reconfigure both the NFS mounts and the Awstats configuration inside awstats server. Considering that i have a dynamic environment (private cloud) it happens that i have to turn off and on webservers many times during the day based on the load i have on them.
Do you know any other possible and smart configuration i can apply to the awstats in order to accomplish this need without having to reconfigure it every time?
Thank you very much.