Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ The following methods allow you to perform maintenance on individual hosts while

The way that you disable container services differs based on the platform you used to deploy your ECE hosts.

If you restart the host without first moving its {{es}} nodes to other allocators, the nodes shut down with the host. Before you start, prepare each affected cluster as you would for a rolling restart. The [rolling restart procedure](../start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps) describes the allocation steps and the checks for nodes that hold fully mounted {{search-snaps}}.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect your concern about the self-managed procedure not being 100% applicable to ECE is correct because a lot of the steps in the linked procedure are automated (and my research confirms this, as far as an AI-powered exploration is concerned). I'd remove the xref and keep the key actions on this page.

if you do xref, contextualize it, e.g. "refer to the self-managed deployment procedure for other checks you can perform."

Suggested change
If you restart the host without first moving its {{es}} nodes to other allocators, the nodes shut down with the host. Before you start, prepare each affected cluster as you would for a rolling restart. The [rolling restart procedure](../start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps) describes the allocation steps and the checks for nodes that hold fully mounted {{search-snaps}}.
If you restart the host without first moving its {{es}} nodes to other allocators, the nodes shut down with the host. Before you start, keep nodes that hold fully mounted {{search-snaps}} below the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) so that their shards aren't downloaded again from the snapshot repository. To check disk usage, run `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total`. Check the absolute free space as well as the percentage, because a maximum headroom can cap the low watermark.


#### For Docker-based installations: disable the Docker service [ece-perform-host-maintenance-docker-disable]

This method lets you perform maintenance actions on hosts without first removing the associated host from your {{ece}} installation. It works by disabling the Docker daemon. The host remains a part of your ECE installation throughout these steps but will be offline and the resources it provides will not be available.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,12 @@ Nodes exceeding the low watermark threshold will be slow to restart. Reduce the
```

If you closed all {{ml}} jobs before stopping the nodes, open the jobs and start the datafeeds from {{kib}} or with the [open jobs]({{es-apis}}operation/operation-ml-open-job) and [start datafeed]({{es-apis}}operation/operation-ml-start-datafeed) APIs.

### Avoid downloading fully mounted {{search-snaps}} again [restart-cluster-rolling-search-snaps]

Fully mounted {{search-snaps}} have no replicas, so a shard that is allocated to a different node is downloaded again from the snapshot repository. To give each node the best chance of getting its own shards back after the restart:

* **Keep disk usage comfortably below the low watermark on every node that holds fully mounted indices.** A node above the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) can't receive shards, including its own, so they are allocated to other nodes instead. Before you start, check `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total` against your [disk-based shard allocation settings](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#disk-based-shard-allocation). The low watermark can be capped by a maximum headroom, so check the absolute free space as well as the percentage. If nodes are close to the watermark, free up space or add capacity before the maintenance.
* **Re-enable allocation only after the node has rejoined.** Follow steps 6 and 7 in order: if you remove the `cluster.routing.allocation.enable` setting while the restarted node is still away, its fully mounted shards are allocated to other nodes immediately.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming numbered steps is pretty fragile because someone might reorder or inject a new steps. I would suggest naming the actual action

@shainaraskas shainaraskas Nov 26, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you want to keep the references to the steps concrete (I didn't do this in my other suggestions in this area) we can add anchor links to the target steps then link to them

7. **Re-enable replica shard allocation.** $$$restart-cluster-rolling-reenable-allocation$$$
8. **Repeat in case of rolling restart.** $$$restart-cluster-rolling-repeat$$$
2. When you [re-enable replica shard allocation](#restart-cluster-rolling-reenable-allocation), do it only when the node has rejoined and disk space isn't blocking it. If you remove the `cluster.routing.allocation.enable` setting before the restarted node rejoins the cluster, its fully mounted shards are allocated to other nodes immediately.
3. When you [repeat the procedure for the next node](#restart-cluster-rolling-repeat), first confirm that the node has its shards back. Run `GET _cat/recovery?v&active_only=true` and check that no snapshot recoveries are active. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.

* **Check before you re-enable allocation.** Run the [cluster allocation explain API]({{es-apis}}operation/operation-cluster-allocation-explain) for one unassigned fully mounted shard. If the response shows the restarted node being rejected by the `disk_threshold` decider, resolve the disk space issue first.
* **Check before you repeat for the next node.** As part of step 8, confirm that the node's shards have started on it and that `GET _cat/recovery?v&active_only=true` shows no snapshot recoveries. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.
Comment on lines +216 to +223

@shainaraskas shainaraskas Nov 26, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest splitting bullets into before and during. the headings are aggressive so here are two options

Suggested change
### Avoid downloading fully mounted {{search-snaps}} again [restart-cluster-rolling-search-snaps]
Fully mounted {{search-snaps}} have no replicas, so a shard that is allocated to a different node is downloaded again from the snapshot repository. To give each node the best chance of getting its own shards back after the restart:
* **Keep disk usage comfortably below the low watermark on every node that holds fully mounted indices.** A node above the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) can't receive shards, including its own, so they are allocated to other nodes instead. Before you start, check `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total` against your [disk-based shard allocation settings](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#disk-based-shard-allocation). The low watermark can be capped by a maximum headroom, so check the absolute free space as well as the percentage. If nodes are close to the watermark, free up space or add capacity before the maintenance.
* **Re-enable allocation only after the node has rejoined.** Follow steps 6 and 7 in order: if you remove the `cluster.routing.allocation.enable` setting while the restarted node is still away, its fully mounted shards are allocated to other nodes immediately.
* **Check before you re-enable allocation.** Run the [cluster allocation explain API]({{es-apis}}operation/operation-cluster-allocation-explain) for one unassigned fully mounted shard. If the response shows the restarted node being rejected by the `disk_threshold` decider, resolve the disk space issue first.
* **Check before you repeat for the next node.** As part of step 8, confirm that the node's shards have started on it and that `GET _cat/recovery?v&active_only=true` shows no snapshot recoveries. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.
### Avoid downloading fully mounted {{search-snaps}} again [restart-cluster-rolling-search-snaps]
Fully mounted {{search-snaps}} have no replicas, so a shard that is allocated to a different node is downloaded again from the snapshot repository. To give each node the best chance of getting its own shards back after the restart, use the following checks.
#### Before you start [restart-cluster-rolling-search-snaps-before]
Keep disk usage comfortably below the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) on every node that holds fully mounted indices. A node above the low watermark can't receive shards, including its own, so the shards are allocated to other nodes instead.
To check disk usage, run `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total` and compare the results with your [disk-based shard allocation settings](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#disk-based-shard-allocation). Check the absolute free space as well as the percentage, because a maximum headroom can cap the low watermark.
If nodes are close to the watermark, free up space or add capacity before the maintenance.
#### For each node that you restart [restart-cluster-rolling-search-snaps-each-node]
1. Confirm that disk space isn't blocking the restarted node. When the node has rejoined, run the [cluster allocation explain API]({{es-apis}}operation/operation-cluster-allocation-explain) on one unassigned fully mounted shard. If the response shows the `disk_threshold` decider rejecting the node, resolve the disk space issue.
2. Re-enable allocation only when the node has rejoined and disk space isn't blocking it. If you remove the `cluster.routing.allocation.enable` setting before the restarted node rejoins the cluster, its fully mounted shards are allocated to other nodes immediately.
3. Confirm that the node has its shards back before you restart the next node. Run `GET _cat/recovery?v&active_only=true` and check that no snapshot recoveries are active. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.
Suggested change
### Avoid downloading fully mounted {{search-snaps}} again [restart-cluster-rolling-search-snaps]
Fully mounted {{search-snaps}} have no replicas, so a shard that is allocated to a different node is downloaded again from the snapshot repository. To give each node the best chance of getting its own shards back after the restart:
* **Keep disk usage comfortably below the low watermark on every node that holds fully mounted indices.** A node above the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) can't receive shards, including its own, so they are allocated to other nodes instead. Before you start, check `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total` against your [disk-based shard allocation settings](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#disk-based-shard-allocation). The low watermark can be capped by a maximum headroom, so check the absolute free space as well as the percentage. If nodes are close to the watermark, free up space or add capacity before the maintenance.
* **Re-enable allocation only after the node has rejoined.** Follow steps 6 and 7 in order: if you remove the `cluster.routing.allocation.enable` setting while the restarted node is still away, its fully mounted shards are allocated to other nodes immediately.
* **Check before you re-enable allocation.** Run the [cluster allocation explain API]({{es-apis}}operation/operation-cluster-allocation-explain) for one unassigned fully mounted shard. If the response shows the restarted node being rejected by the `disk_threshold` decider, resolve the disk space issue first.
* **Check before you repeat for the next node.** As part of step 8, confirm that the node's shards have started on it and that `GET _cat/recovery?v&active_only=true` shows no snapshot recoveries. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.
### Avoid downloading fully mounted {{search-snaps}} again [restart-cluster-rolling-search-snaps]
Fully mounted {{search-snaps}} have no replicas, so a shard that is allocated to a different node is downloaded again from the snapshot repository. To give each node the best chance of getting its own shards back after the restart, use the following checks.
Before you start, keep disk usage comfortably below the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) on every node that holds fully mounted indices. A node above the low watermark can't receive shards, including its own, so the shards are allocated to other nodes instead. To check disk usage, run `GET _cat/allocation?v&h=node,disk.percent,disk.avail,disk.total` and compare the results with your [disk-based shard allocation settings](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#disk-based-shard-allocation). Check the absolute free space as well as the percentage, because a maximum headroom can cap the low watermark. If nodes are close to the watermark, free up space or add capacity before the maintenance.
For each node that you restart:
1. Confirm that disk space isn't blocking the restarted node. When the node has rejoined, run the [cluster allocation explain API]({{es-apis}}operation/operation-cluster-allocation-explain) on one unassigned fully mounted shard. If the response shows the `disk_threshold` decider rejecting the node, resolve the disk space issue.
2. Re-enable allocation only when the node has rejoined and disk space isn't blocking it. If you remove the `cluster.routing.allocation.enable` setting before the restarted node rejoins the cluster, its fully mounted shards are allocated to other nodes immediately.
3. Confirm that the node has its shards back before you restart the next node. Run `GET _cat/recovery?v&active_only=true` and check that no snapshot recoveries are active. If recoveries are starting on other nodes, pause the rolling restart and check disk usage against the watermarks.

Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@
::::


It’s worth noting that if a searchable snapshot index has no replicas, then when the node hosting it is shut down, allocation will immediately try to relocate the index to a new node in order to maximize availability. For fully mounted indices this will result in the new node downloading the entire index snapshot from the cloud repository. Under a rolling cluster restart, this may happen multiple times for each searchable snapshot index. Temporarily disabling allocation during planned node restart will prevent this, as described in the [cluster restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling).
It’s worth noting that if a searchable snapshot index has no replicas, then when the node hosting it is shut down, allocation will immediately try to relocate the index to a new node in order to maximize availability. For fully mounted indices this will result in the new node downloading the entire index snapshot from the cloud repository. Under a rolling cluster restart, this may happen multiple times for each searchable snapshot index. Temporarily disabling allocation during planned node restart will prevent this, as described in the [cluster restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps).

Check notice on line 180 in deploy-manage/tools/snapshot-and-restore/searchable-snapshots.md

View workflow job for this annotation

GitHub Actions / build / vale

Elastic.WordChoice: Consider using 'can, might' instead of 'may', unless the term is in the UI.

Check notice on line 180 in deploy-manage/tools/snapshot-and-restore/searchable-snapshots.md

View workflow job for this annotation

GitHub Actions / build / vale

Elastic.Wordiness: Consider using 'to' instead of 'in order to'.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the old link was more relevant here because it described disabling allocation

Suggested change
It’s worth noting that if a searchable snapshot index has no replicas, then when the node hosting it is shut down, allocation will immediately try to relocate the index to a new node in order to maximize availability. For fully mounted indices this will result in the new node downloading the entire index snapshot from the cloud repository. Under a rolling cluster restart, this may happen multiple times for each searchable snapshot index. Temporarily disabling allocation during planned node restart will prevent this, as described in the [cluster restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps).
It’s worth noting that if a searchable snapshot index has no replicas, then when the node hosting it is shut down, allocation will immediately try to relocate the index to a new node in order to maximize availability. For fully mounted indices this will result in the new node downloading the entire index snapshot from the cloud repository. Under a rolling cluster restart, this may happen multiple times for each searchable snapshot index. Temporarily disabling allocation during planned node restart will prevent this, as described in the [cluster restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling).


When allocation is re-enabled after the restart, {{es}} prefers to place each fully mounted shard back on the node that still holds its cached data. This only works if the node is eligible to receive the shard, so before a planned restart keep every node below the low watermark. Refer to the [rolling restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps) for the checks to run.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
When allocation is re-enabled after the restart, {{es}} prefers to place each fully mounted shard back on the node that still holds its cached data. This only works if the node is eligible to receive the shard, so before a planned restart keep every node below the low watermark. Refer to the [rolling restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps) for the checks to run.
When allocation is re-enabled after the restart, {{es}} prefers to place each fully mounted shard back on the node that still holds its cached data. To let {{es}} do this, keep every node below the [low watermark](elasticsearch://reference/elasticsearch/configuration-reference/cluster-level-shard-allocation-routing-settings.md#cluster-routing-watermark-low) before a planned restart. Refer to the [rolling restart procedure](../../maintenance/start-stop-services/full-cluster-restart-rolling-restart-procedures.md#restart-cluster-rolling-search-snaps) for the checks to run.



## Back up and restore {{search-snaps}} [back-up-restore-searchable-snapshots]
Expand Down
Loading