Hello, I'm busy to setup a high availability active/passive Geoserver installation.
What I have done is the following: - Geoserver is installed in a FreeBSD jail java1.prod.lan (ACTIVE). - Geoserver is installed in a FreeBSD jail java2.prod.lan (PASSIVE). - The two instances share a common GEOSERVER_DATA_DIR (mounted under /filer/geoserver/data_dir) which is a NFS4 mount. - The PASSIVE node starts with -DGEOSERVER_CONSOLE_DISABLED=true and all the "gs-web-*.jar" files have been deleted from the WEB-INF/lib directory. - The upstream HAProxy is properly configured so that /web* redirects to the ACTIVE node. - When I modify the catalog on the ACTIVE node through the web interface I'm issuing a curl -u admin:password -XPOST http://java2.prod.lan:8080/geoserver/rest/reload to reload the catalog on the PASSIVE node. I'm a little paranoid on possible corruption of the GEOSERVER_DATA_DIR so I first wanted to export it read-only to the PASSIVE node but it doesn't work (see GEOS-7841)... So the GEOSERVER_DATA_DIR is mounted read-write on both nodes. I've made some tests and it seems to work well, but I wondered if I forgot something or if you have comments on this basic setup? Thanks! Julien -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
