OpenSearch/docs/reference/setup/install/sysconfig-file.asciidoc
Jason Tedor e9687622bd Rename CONF_DIR to ES_PATH_CONF
The environment variable CONF_DIR was previously inconsistently used in
our packaging to customize the location of Elasticsearch configuration
files. The importance of this environment variable has increased
starting in 6.0.0 as it's now used consistently to ensure Elasticsearch
and all secondary scripts (e.g., elasticsearch-keystore) all use the
same configuration. The name CONF_DIR is there for legacy reasons yet
it's too generic. This commit renames CONF_DIR to ES_PATH_CONF.

Relates #26197
2017-08-15 06:19:06 +09:00

41 lines
1.3 KiB
Plaintext

[horizontal]
`JAVA_HOME`::
Set a custom Java path to be used.
`MAX_OPEN_FILES`::
Maximum number of open files, defaults to `65536`.
`MAX_LOCKED_MEMORY`::
Maximum locked memory size. Set to `unlimited` if you use the
`bootstrap.memory_lock` option in elasticsearch.yml.
`MAX_MAP_COUNT`::
Maximum number of memory map areas a process may have. If you use `mmapfs`
as index store type, make sure this is set to a high value. For more
information, check the
https://github.com/torvalds/linux/blob/master/Documentation/sysctl/vm.txt[linux kernel documentation]
about `max_map_count`. This is set via `sysctl` before starting
elasticsearch. Defaults to `262144`.
`ES_PATH_CONF`::
Configuration file directory (which needs to include `elasticsearch.yml`,
`jvm.options`, and `log4j2.properties` files); defaults to
`/etc/elasticsearch`.
`ES_JAVA_OPTS`::
Any additional JVM system properties you may want to apply.
`RESTART_ON_UPGRADE`::
Configure restart on package upgrade, defaults to `false`. This means you
will have to restart your elasticsearch instance after installing a
package manually. The reason for this is to ensure, that upgrades in a
cluster do not result in a continuous shard reallocation resulting in high
network traffic and reducing the response times of your cluster.