Peter,
Yes, we currently do this across three different machines (with one front-end machine).
We don't use mod_jk and it's load balancing features, but our setup is fairly similar.
To share configurations, we have a shared directory (via samba) which each geoserver references via GEOSERVER_DATA_DIR locally. So it's like this:
configurationserver:
samba installed
geoserver_data_dir lives here
geoserver.war lives here
server1:
tomcat installed locally
configurationserver:geoserver_data_dir mounted here
configurationserver:geoserver.war mounted here
server2:
tomcat installed locally
configurationserver:geoserver_data_dir mounted here
configurationserver:geoserver.war mounted here
To update our configuration, we wrote a quickie script to force a geoserver reload (wget --save-cookies login-url, wget --load-cookies reload-url), and then we use the GUI or command line to change the configuration on one server, and then run a mass "reload" against all servers.
I'm thinking that it would be really cool to set up some kind of clustering/load-balancing solution for geoserver, but I'm not sure exactly how that would work out. Let me know if you have any good ideas about that.
--saul
Peter Parker wrote:
Has anyone configured GeoServer to run an Apache mod_jk / Tomcat load balanced group? Since I just successfully got GeoServer up and running, I don't know if there will be any performance issues, but I suspect there will be. So anticipating this, I setup a load balanced group of two Tomcat containers. This seems to work fine.
I just wanted to know if there are any issues with this configuration.
One thing I noticed already is that I have to configure each container individually. It would be nice to be able to share the configuration files.
Thanks in advance.
Peter