mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Add note regarding custom jvm.options
When users need to specify a custom location for configuration files, they also need to specify a custom location for the jvm.options file yet our docs are absent in this regard. This commit adds a note to the rolling upgrade docs explaining this situation. Relates #22747
This commit is contained in:
parent
e48bc2eed7
commit
d9a3ffcea0
@ -69,7 +69,8 @@ default.
|
|||||||
It is a good idea to place these directories in a different location so that
|
It is a good idea to place these directories in a different location so that
|
||||||
there is no chance of deleting them when upgrading Elasticsearch. These
|
there is no chance of deleting them when upgrading Elasticsearch. These
|
||||||
custom paths can be <<path-settings,configured>> with the `path.conf`,
|
custom paths can be <<path-settings,configured>> with the `path.conf`,
|
||||||
`path.logs`, and `path.data` settings.
|
`path.logs`, and `path.data` settings, and using `ES_JVM_OPTIONS` to specify
|
||||||
|
the location of the `jvm.options` file.
|
||||||
|
|
||||||
The <<deb,Debian>> and <<rpm,RPM>> packages place these directories in the
|
The <<deb,Debian>> and <<rpm,RPM>> packages place these directories in the
|
||||||
appropriate place for each operating system.
|
appropriate place for each operating system.
|
||||||
@ -88,8 +89,9 @@ To upgrade using a zip or compressed tarball:
|
|||||||
overwrite the `config` or `data` directories.
|
overwrite the `config` or `data` directories.
|
||||||
|
|
||||||
* Either copy the files in the `config` directory from your old installation
|
* Either copy the files in the `config` directory from your old installation
|
||||||
to your new installation, or use the `-E path.conf=` option on the command
|
to your new installation, or set the environment variable `ES_JVM_OPTIONS`
|
||||||
line to point to an external config directory.
|
to the location of the `jvm.options` file and use the `-E path.conf=`
|
||||||
|
option on the command line to point to an external config directory.
|
||||||
|
|
||||||
* Either copy the files in the `data` directory from your old installation
|
* Either copy the files in the `data` directory from your old installation
|
||||||
to your new installation, or configure the location of the data directory
|
to your new installation, or configure the location of the data directory
|
||||||
|
Loading…
x
Reference in New Issue
Block a user