Replies: 1 comment 2 replies
-
This is relevant: #7337 The datadir in GeoNetwork might not be that much of an issue, at least by looking at the PR above. Most of the GN configuration is in the database (settings and UI settings) or in its web.xml and associated files. The comparison with GeoServer doesn't make that much sense since GS stores all its catalog (i.e. list of layers etc.) on the disk, whereas GN does not. Also, all GN instances can use the same ElasticSearch index, which can also be clustered independantly. The limitations preventing clustering are there, but they might not be that hard to overcome 🙂 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From #8021 (comment)
Currently, GeoNetwork is mainly constraint with its datadir that is stored in the filesystem. If geonetwork were to only use a database as a store for all of its configuration files, moving geonetwork around servers would be an easy task because it wouldn't be constraint to a filesystem of a particular server. (NFS is an option for solving this issue, but it's more of a workaround than a real solution)
In the geoserver community, there is geoserver cloud which implemented this functionality, the datadir is stored in the database, and you can easily move geoserver around servers or even having multiple geoserver at the same time: https://geoserver.org/geoserver-cloud/
On top of this, in geOrchestra when we use Kubernetes, we can't launch multiple geonetwork in a "rolling deployment" type. Rolling deployment means that a new instance of the program will be brought up, the system will wait for it to be "healthy" (through checks) and when it is, the old instance of the program is shutdown and the HTTP traffic flows to the new instance. The benefit is no downtime for the user.
Currently, it is not possible to do that because it would create some conflicts in the datadir. I'm eager to discover ways to solve this issue because launching a new instance of geonetwork takes quite a lot of time, so when we do some re-deployment there is a downtime for our users.
Beta Was this translation helpful? Give feedback.
All reactions