1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-09 11:35:45 +02:00
tldr/pages/common/elasticsearch-node.md
2025-08-08 15:37:00 +03:00

28 lines
764 B
Markdown

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