OpenSearch/docs/reference/setup
Christian Hofstaedtler c3ec6a1714 Honor masking of systemd-sysctl.service
During package install on systemd-based systems, some sysctl settings
should be set (e.g. vm.max_map_count).

In some environments, changing sysctl settings plainly does not work;
previously a global environment variable named
ES_SKIP_SET_KERNEL_PARAMETERS was introduced to skip calling sysctl, but
this causes trouble for:
 - configuration management systems, which usually cannot apply an env
   var when running a package manager
 - package upgrades, which will not have the env var set any more, and
   thus leaving the package management system in a bad state (possibly
   half-way upgraded, can be very hard to recover)

This removes the env var again and instead of calling systemd-sysctl
manually, tells systemd to restart the wrapper unit - which itself can
be masked by system administrators or management tools if it is known
that sysctl does not work in a given environment.

The restart is not silent on systems in their default configuration, but
is ignored if the unit is masked.

Relates #24234
2017-06-06 10:44:41 -04:00
..
install Honor masking of systemd-sysctl.service 2017-06-06 10:44:41 -04:00
sysconfig Clarify disabling swap in docs 2017-05-12 16:09:52 -04:00
bootstrap-checks.asciidoc Docs: Update production notes for Docker 2017-05-03 14:27:31 +03:00
cluster_restart.asciidoc Added upgrade docs explaining how to reindex in place or reindex from remote 2016-10-11 12:14:35 +02:00
configuration.asciidoc Typo in setup/configuration.asciidoc (#24797) 2017-05-19 10:49:56 -04:00
important-settings.asciidoc Fix default port for unicast zen ping hosts 2017-01-11 17:10:56 -05:00
install.asciidoc Adding `ansible-elasticsearch` to list of CM tools (#23058) 2017-02-09 21:14:30 +01:00
reindex_upgrade.asciidoc Add note about retention periods to reindex-upgrade docs 2016-10-13 12:13:55 +02:00
rolling_upgrade.asciidoc Add note regarding custom jvm.options 2017-01-23 10:39:11 -05:00
secure-settings.asciidoc Update secure-settings.asciidoc (#23891) 2017-04-05 11:18:23 +02:00
stopping.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
sysconfig.asciidoc Docs: Complete rewrite of setup, installation, and configuration docs 2016-04-03 16:09:48 +02:00
upgrade.asciidoc Added upgrade docs explaining how to reindex in place or reindex from remote 2016-10-11 12:14:35 +02:00