-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[Zen2] Update documentation for Zen2 #34714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DaveCTurner
merged 115 commits into
elastic:master
from
DaveCTurner:2018-10-22-cluster-coordination-docs
Dec 20, 2018
Merged
Changes from 62 commits
Commits
Show all changes
115 commits
Select commit
Hold shift + click to select a range
621774a
Add some docs on cluster coordination
DaveCTurner 56d050f
Review/rework
DaveCTurner aa6df51
More review feedback
DaveCTurner 7c9db23
Bootstrapping explanation as NOTE
DaveCTurner 830eca7
Rename to 'POST /_cluster/force_local_node_takeover'
DaveCTurner d91c924
WIP rolling restarts
DaveCTurner d03103a
Reorder bootstrap section
DaveCTurner c762dba
Finish section on migration/restarts
DaveCTurner 8ca2e75
Different auto-config heuristics
DaveCTurner d8ec40b
Move/rework section on cluster maintenance
DaveCTurner a498e42
More rewording
DaveCTurner eb0aa2f
Moar reword
DaveCTurner ebcbe3c
Review feedback
DaveCTurner 27a9ffb
Split sentence
DaveCTurner f43414d
Retire -> withdraw vote
DaveCTurner 1fef44e
Typo, and better UUIDs
DaveCTurner 10020db
Width
DaveCTurner 05dc68a
Comments & width
DaveCTurner 529a94a
Reorder
DaveCTurner dd35159
Reformat JSON
DaveCTurner 40649bd
Better API for bootstrapping
DaveCTurner e88656c
Rewording
DaveCTurner 697bbca
Merge branch 'zen2' into 2018-10-22-cluster-coordination-docs
DaveCTurner 8de22f1
Update APIs
DaveCTurner b54c0c1
isn't
DaveCTurner cb38a39
Merge branch 'zen2' into 2018-10-22-cluster-coordination-docs
DaveCTurner dfd64f9
Add wait_for_removal parameter
DaveCTurner 0973de8
rename withdrawal to exclusions
ywelsch e8d9656
Rename tombstones to exclusions
ywelsch 208d463
Reformat
DaveCTurner de98cba
Expand section about quorums
DaveCTurner 12c2b4b
Simplify bootstrapping docs
DaveCTurner d4763ee
Oops
DaveCTurner 09b6293
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner 3fc691f
Command line also ok
DaveCTurner ca73f1f
Refactor docs
ywelsch 01e7555
Merge remote-tracking branch 'elastic/master' into zen2-docs
ywelsch f3a8b93
put all in one doc
ywelsch e10d760
remove coordination.asciidoc
ywelsch ff1e87c
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner 024c9b2
Adapt docker instructions
ywelsch 02b607c
adapt other uses of minimum_master_nodes
ywelsch 60d64b4
Whitespace
DaveCTurner 6102d5b
Cluster formation module forms clusters
DaveCTurner 9fa0844
Rewording of summary
DaveCTurner fb1e7d3
Link to plugins page
DaveCTurner bfc7d16
Tweaks to discovery section
DaveCTurner 2ed2c39
More on bootstrapping
DaveCTurner 68d9ef5
Expand on cluster name
DaveCTurner a2b4d38
Expand on 'default configuration' for auto-bootstrapping
DaveCTurner bb6ef8e
Master-ineligible
DaveCTurner cbd33ff
Emphasize when you need voting exclusions
DaveCTurner b91519c
More on publishing
DaveCTurner 7540e4e
Add lag detection bit
DaveCTurner d04b7ad
Tweaks
DaveCTurner 8635a41
Hyphen?
DaveCTurner 1189440
Consistentify with the `node.name` setting.
DaveCTurner 7c7e7af
Add note on disconnections bypassing fault detection
DaveCTurner d48eccc
Add breaking changes
DaveCTurner 43a6dcc
Reword
DaveCTurner e6087e9
Split up discovery depending on master-eligibility
DaveCTurner 02b7ebd
Use the leader/follower terminology less
DaveCTurner 7714003
fix link
ywelsch dddc3cf
smaller changes
ywelsch 1888c97
Rewrite publishing bit
DaveCTurner b8997b1
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner b1e98bd
Skip attempts to destroy the test cluster
DaveCTurner a1c9843
Rewording
DaveCTurner 4b40b34
Weaken recommendation for removing bootstrap setting
DaveCTurner e6b7401
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner 041494c
Rework discovery settings
DaveCTurner f438a28
Add link to discovery settings docs
DaveCTurner 4180e00
Emphasize again that this is only for new clusters
DaveCTurner 76ec76c
Reformat
DaveCTurner 8d1b118
Define 'cluster bootstrapping'
DaveCTurner 2df3878
Weaken recommendation further, with more qualification
DaveCTurner 17be8bb
Clarify that auto-bootstrapping will only find local nodes
DaveCTurner 7ca6cc8
+automatically
DaveCTurner 2fdb92f
Shorter sentences
DaveCTurner c4fd335
Add 'batch of'
DaveCTurner 1d69b0a
Link up bootstrapping/setting initial quorum sections a bit
DaveCTurner 9003c04
Remove note on migration and TODO
DaveCTurner 771cf61
Fix ref to voting exclusions
DaveCTurner 14de23c
Apply suggestions from code review
lcawl 58c2a52
Apply suggestions from code review
lcawl 98f1485
FIXUP missed suggestion
lcawl ebe1a1f
Reformat
DaveCTurner 2cac91f
local ports
DaveCTurner b4dd874
Apply suggestions from code review
lcawl 9d787f9
Reword 'at startup'
DaveCTurner 400b2e4
Add redirects
DaveCTurner 802a413
Split up monolith
DaveCTurner 0ea5488
Rework the discovery module front page
DaveCTurner 00a0145
Better front page
DaveCTurner 9cdc18f
Reorder sections
DaveCTurner a9848ab
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner 4b55b1e
Suggested changes to adding & removing nodes
lcawl 6778c0a
Suggested changes to bootstrapping doc
lcawl b349806
Suggested changes to discovery docs
lcawl ccba8ba
Apply suggestions from code review
lcawl 8835ef2
Suggested title changes
lcawl 0643929
Suggested changes to publishing docs
lcawl dea0d59
Merge branch 'master' into 2018-10-22-cluster-coordination-docs
DaveCTurner 442a7a7
Further updates to publishing.asciidoc
DaveCTurner 14194c6
Suggested changes to quorums.asciidoc
lcawl e466ed0
Add headings
DaveCTurner 8e34a77
Move recommendation up in bootstrapping doc
DaveCTurner ec4e739
Combine discovery overviews
DaveCTurner f4a41db
Update docs/reference/setup/important-settings/discovery-settings.asc…
lcawl 6af3721
Change title
DaveCTurner 0b2b63c
Clarify the difference between a split brain and an even network part…
DaveCTurner f24c1d9
Add 'that half'
DaveCTurner 64564c0
Move elections overview to quorums page
DaveCTurner 852caed
Fix up broken link
DaveCTurner 94bc24b
_hosts_ providers
DaveCTurner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[float] | ||
[[breaking_70_discovery_changes]] | ||
=== Discovery changes | ||
|
||
[float] | ||
==== Cluster bootstrapping is required if discovery is configured | ||
|
||
The first time a cluster is started, `cluster.initial_master_nodes` must be set | ||
to perform cluster bootstrapping. It should contain the names of the | ||
master-eligible nodes in the initial cluster and be defined on every | ||
master-eligible node in the cluster. The | ||
<<modules-discovery-bootstrap-cluster,cluster bootstrapping reference | ||
DaveCTurner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
documentation>> describes this setting in more detail. | ||
|
||
The `discovery.zen.minimum_master_nodes` setting is required during a rolling | ||
upgrade from 6.x, but can be removed in all other circumstances. | ||
|
||
[float] | ||
==== Removing master-eligible nodes sometimes requires voting exclusions | ||
|
||
If you wish to remove half or more of the master-eligible nodes from a cluster, | ||
you must first exclude the affected nodes from the voting configuration using | ||
the <<modules-discovery-adding-removing-nodes,voting config exclusions API>>. | ||
This is not required if removing fewer than half of the master-eligible nodes | ||
DaveCTurner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
at once. This is also not required when only removing master-ineligible nodes | ||
DaveCTurner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
such as data-only nodes or coordinating-only nodes. Finally, this is not | ||
DaveCTurner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
required when adding nodes to the cluster, only when removing them. | ||
DaveCTurner marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
[float] | ||
==== Discovery configuration is required in production | ||
|
||
Production deployments of Elasticsearch now require at least one of the | ||
following settings to be specified in the `elasticsearch.yml` configuration | ||
file: | ||
|
||
- `discovery.zen.ping.unicast.hosts` | ||
- `discovery.zen.hosts_provider` | ||
- `cluster.initial_master_nodes` |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.