-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] [7.10] Combining important config settings into a single page (#…
…63849) (#63883) * [DOCS] Combining important config settings into a single page (#63849) * Combining important config settings into a single page. * Updating ids for two pages causing link errors and implementing redirects. * Updating links to use IDs instead of xrefs.
- Loading branch information
Adam Locke
authored
Oct 19, 2020
1 parent
af9e96d
commit c28c342
Showing
20 changed files
with
197 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 6 additions & 5 deletions
11
docs/reference/setup/important-settings/cluster-name.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
[[cluster.name]] | ||
=== `cluster.name` | ||
[[cluster-name]] | ||
[discrete] | ||
=== Cluster name setting | ||
|
||
A node can only join a cluster when it shares its `cluster.name` with all the | ||
other nodes in the cluster. The default name is `elasticsearch`, but you should | ||
change it to an appropriate name which describes the purpose of the cluster. | ||
change it to an appropriate name that describes the purpose of the cluster. | ||
|
||
[source,yaml] | ||
-------------------------------------------------- | ||
cluster.name: logging-prod | ||
-------------------------------------------------- | ||
|
||
Make sure that you don't reuse the same cluster names in different environments, | ||
otherwise you might end up with nodes joining the wrong cluster. | ||
IMPORTANT: Do not reuse the same cluster names in different environments. | ||
Otherwise, nodes might join the wrong cluster. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
docs/reference/setup/important-settings/error-file.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[[error-file-path]] | ||
=== JVM fatal error logs | ||
[discrete] | ||
=== JVM fatal error log setting | ||
|
||
By default, Elasticsearch configures the JVM to write fatal error logs | ||
to the default logging directory (this is `/var/log/elasticsearch` for | ||
the <<rpm,RPM>> and <<deb,Debian>> package distributions, and the `logs` | ||
directory under the root of the Elasticsearch installation for the | ||
<<targz,tar>> and <<zip-windows,zip>> archive distributions). These are logs | ||
produced by the JVM when it encounters a fatal error (e.g., a | ||
segmentation fault). If this path is not suitable for receiving logs, | ||
you should modify the entry `-XX:ErrorFile=...` in | ||
<<jvm-options,`jvm.options`>> to an alternate path. | ||
By default, {es} configures the JVM to write fatal error logs | ||
to the default logging directory. On <<rpm,RPM>> and <<deb,Debian>> packages, | ||
this directory is `/var/log/elasticsearch`. On <<targz,Linux and MacOS>> and <<zip-windows,Windows>> distributions, the `logs` | ||
directory is located under the root of the {es} installation. | ||
|
||
These are logs produced by the JVM when it encounters a fatal error, such as a | ||
segmentation fault. If this path is not suitable for receiving logs, | ||
modify the `-XX:ErrorFile=...` entry in <<jvm-options,`jvm.options`>>. |
30 changes: 16 additions & 14 deletions
30
docs/reference/setup/important-settings/es-tmpdir.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
[[es-tmpdir]] | ||
=== Temp directory | ||
[discrete] | ||
=== Temporary directory settings | ||
|
||
By default, Elasticsearch uses a private temporary directory that the startup | ||
By default, {es} uses a private temporary directory that the startup | ||
script creates immediately below the system temporary directory. | ||
|
||
On some Linux distributions a system utility will clean files and directories | ||
from `/tmp` if they have not been recently accessed. This can lead to the | ||
private temporary directory being removed while Elasticsearch is running if | ||
On some Linux distributions, a system utility will clean files and directories | ||
from `/tmp` if they have not been recently accessed. This behavior can lead to | ||
the private temporary directory being removed while {es} is running if | ||
features that require the temporary directory are not used for a long time. | ||
This causes problems if a feature that requires the temporary directory is | ||
subsequently used. | ||
Removing the private temporary directory causes problems if a feature that | ||
requires this directory is subsequently used. | ||
|
||
If you install Elasticsearch using the `.deb` or `.rpm` packages and run it | ||
under `systemd` then the private temporary directory that Elasticsearch uses | ||
If you install {es} using the `.deb` or `.rpm` packages and run it | ||
under `systemd`, the private temporary directory that {es} uses | ||
is excluded from periodic cleanup. | ||
|
||
However, if you intend to run the `.tar.gz` distribution on Linux for an | ||
extended period then you should consider creating a dedicated temporary | ||
directory for Elasticsearch that is not under a path that will have old files | ||
If you intend to run the `.tar.gz` distribution on Linux or MacOS for | ||
an extended period, consider creating a dedicated temporary | ||
directory for {es} that is not under a path that will have old files | ||
and directories cleaned from it. This directory should have permissions set | ||
so that only the user that Elasticsearch runs as can access it. Then set the | ||
`$ES_TMPDIR` environment variable to point to it before starting Elasticsearch. | ||
so that only the user that {es} runs as can access it. Then, set the | ||
`$ES_TMPDIR` environment variable to point to this directory before starting | ||
{es}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.