[GeoNetwork-users] How to install multiple instance of GeoNetwork on same Jetty server

Hi list, Just a quick how-to install multiple nodes on the same jetty & mckoi install.

#1.Make as many installation as you need (you can use Desktop or server installer). Make sure to set up all nodes with different node name. Install in different directory (eg. /usr/geonetwork, /usr/geonetwork1, /usr/geonetwork2)
#2.Check that all nodes are working one after the other.
#3.Shutdown all nodes
#4.Select one node where you want to install all instance (eg. /usr/geonetwork)
#5.Copy all web directory to the main node (eg. copy /usr/geonetwork2/web in /usr/geonetwork/web2, etc.)
#6.Set up jetty to start all web application. Edit /usr/geonetwork/bin/config.xml and add as many nodes as you need

/geonetwork ../web /geonetwork2 ../web2 ... #7.Set up web application. Edit /usr/geonetwork/web2/WEB-INF/web.xml and change all geonetwork by the jetty web application name. (eg. change geonetwork by geonetwork2). #8.Set up mckoi database to use different port. Edit /usr/geonetwork/web2/WEB-INF/db/db.conf and change the jdbc_server_port parameter (eg jdbc_server_port=9158). Be sure to set DB with different ports. #9.Set up GeoNetwork database ports according to #8 (eg. change in /usr/geonetwork/web2/WEB-INF/config.xml jdbc:mckoi://localhost/ by jdbc:mckoi://localhost:9158/) for the node to point to the correct mckoi db. #10.Set GeoNetwork z3950Port. In order to avoid conflict between all nodes, update the z3950Port parameters in /usr/geonetwork/web2/WEB-INF/config.xml (eg. change by ) #11.Update the /usr/geonetwork/web2/index.html to make the redirection ok. Change geonetwork by the web application name as defined in jetty.xml.

HTH.

Francois


Ce message a ete verifie par MailScanner pour des virus ou des polluriels et rien de suspect n’a ete trouve.

Les donnees et renseignements contenus dans ce message sont personnels, confidentiels et privés.Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.
Any data and information contained in this electronic mail is personal, confidential and private. Any total or partial publication, use or distribution must be authorized.