geosolutions-it / C106-2017

Ansible Automation
1 stars 1 forks source link

Externalizations and java opts #11

Closed conjame closed 4 years ago

conjame commented 4 years ago

@randomorder what needs to be externalize? what java opts needs to be set?

randomorder commented 4 years ago

Directories:

This is done via Java Opts:

Provisional Java Opts (we'll improve them later):

JAVA_OPTS=-Xms1024m -Xmx1024m -XX:+UseParallelGC -XX:+UseParallelOldGC -DGEOSERVER_DATA_DIR=/path/to/datadir -DGEOWEBCACHE_CONFIG_DIR=/path/to/datadir/gwc -DGEOSERVER_LOG_LOCATION=/path/to/logs/dir/geoserver.log -DGEOSERVER_NODE_OPTS=id:<color> -DALLOW_ENV_PARAMETRIZATION=true -Xbootclasspath/a:/path/to//webapps/dir/geoserver/WEB-INF/lib/marlin-0.9.2-Unsafe.jar -Xbootclasspath/p:/path/to//webapps/dir/geoserver/WEB-INF/lib/marlin-0.9.2.sun-java2d.jar -DGEOSERVER_AUDIT_PATH=/path/to/audits/dir/ -DPROXY_BASE_URL=http://publichostname/geoserver

Note:

conjame commented 4 years ago

A basic and incomplete cofiguration for this issue has already been merged in the main repo.

Todo:

randomorder commented 4 years ago

TODO: test audits externalization when we have monitor plugin installed and configured