mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-15 16:00:05 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/elasticsearch-node
Normal file
33
tldr/elasticsearch-node
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# elasticsearch-node
|
||||
|
||||
> Manage low-level Elasticsearch node operations such as shutdown, repurpose, or viewing info.
|
||||
> More information: <https://www.elastic.co/docs/reference/elasticsearch/command-line-tools/node-tool>.
|
||||
|
||||
- Display information about the current node:
|
||||
|
||||
`elasticsearch-node info`
|
||||
|
||||
- Prepare the node for a full cluster restart (e.g., after upgrading):
|
||||
|
||||
`elasticsearch-node unsafe-bootstrap`
|
||||
|
||||
- Repurpose a node for a different role (e.g., from master to data node):
|
||||
|
||||
`elasticsearch-node repurpose`
|
||||
|
||||
- List the roles assigned to the node:
|
||||
|
||||
`elasticsearch-node roles`
|
||||
|
||||
- Show the installed JVM version, Elasticsearch home path, and other diagnostic information:
|
||||
|
||||
`elasticsearch-node diagnostics`
|
||||
|
||||
- Display help:
|
||||
|
||||
`elasticsearch-node {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user