Files
cheatsheet-tldr/tldr/elasticsearch-node
2025-08-09 00:20:24 +00:00

34 lines
857 B
Plaintext

---
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]}}`