Browse documentation for IT-systems used by the European Environment Agency and the Eionet network.
A service wrapper execution for elasticsearch using Java Service Wrapper.
Simply edit the
elasticsearch.conf file to point to the correct
elasticsearch home path.
ElasticSearch can be run as a service using the
elasticsearch script located
bin/service location. The script accepts a single parameter with the
|console||Run the elasticsearch in the foreground.|
|start||Run elasticsearch in the background.|
|stop||Stops elasticsearch if its running.|
|install||Install elasticsearch to run on system startup (init.d / service).|
|remove||Removes elasticsearch from system startup (init.d / service).|
The service uses Java Service Wrapper which is a small native wrapper around the Java virtual machine which also monitors it.
Note, passing JVM level configuration (such as -X parameters) should be set
ES_HEAP_SIZE environment variable controls the maximum memory allocation
for the JVM (set in megabytes). It defaults to
This requires a commercial license for Java Service Wrapper. Licenses are bound to a specific machine, so make sure you send the correct host id when ordering the license.
Once you have your license information, paste the extra
lines into the
elasticsearch.conf file. Then download the corresponding
windows x86 64 bit build of the JSW.
service directory under the elasticsearch
bin directory. Copy
bin\service\lib in your
elasticsearch directory. Also make sure you have a 64-bit JRE installed. The
service can then be installed and started as described above.