It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Perform host maintenance
editPerform host maintenance
editThese steps show how you can safely perform maintenance on hosts in your ECE installation. Host maintenance refers to actions that are not part of taking care of Elastic Cloud Enterprise itself and that you might need to perform for a number of different reasons, including:
- To apply urgent operating system patches or hot fixes
- To perform regularly scheduled software or hardware upgrades
- To enable new features, such as encryption of data at rest
- To meet updated installation prerequisites
You can perform these maintenance actions on your hosts using one of these methods:
Which method you choose depends on how invasive your host maintenance needs to be. If your host maintenance could affect ECE, use the destructive method that first deletes the runner from your installation. Both methods include a step that moves any hosted Elasticsearch clusters and Kibana instances off the affected runners and are generally considered safe, provided that your ECE installation still has sufficient resources available to operate after the host has been removed.
By disabling the Docker daemon
editThis method lets you perform maintenance actions on hosts without first removing the associated runner from your Elastic Cloud Enterprise installation. It works by disabling the Docker daemon. The runner remains a part of your ECE installation throughout these steps but will be offline and the resources it provides will not be available.
To perform host maintenance:
-
Recommended: If the runner holds the allocator role and you have enough spare capacity:
- Enable maintenance mode on the allocator.
- Move all nodes off the allocator and to other allocators in your installation. Moving all nodes lets you retain the same level of redundancy for highly available Elasticsearch clusters and ensures that other clusters without high availability remain available.
Skipping Step 1 will affect the availability of clusters with nodes on the allocator. Skip at your own risk. Any tags associated with the allocator might also be lost and need to be added back.
-
Disable the Docker daemon:
sudo systemctl disable docker sudo systemctl disable docker.socket
-
Reboot the host:
sudo reboot
- Perform your maintenance on the host, such as patching the operating system.
-
Enable the Docker daemon:
sudo systemctl enable docker sudo systemctl enable docker.socket
-
Reboot the host again:
sudo reboot
- If you enabled maintenance mode in Step 1: Take the allocator out of maintenance mode.
- Optional for allocators: ECE will start using the allocator again as you create new or change existing clusters, but it will not automatically redistribute nodes to an allocator after it becomes available. If you want to move nodes back to the same allocator after host maintenance, you need to manually move the nodes and specify the allocator as a target.
- Verify that all ECE services and deployments are back up by checking that the runner shows a green status in the Cloud UI.
After the runner shows a green status in the Cloud UI, it is fully functional again and can be used as before.
By deleting the runner
editThis method lets you perform potentially destructive maintenance actions on hosts. It works by deleting the associated runner, which removes the host from your Elastic Cloud Enterprise installation. To add the runner to your ECE installation again after host maintenance is complete, you must reinstall ECE.
To perform host maintenance:
-
If the runner holds the allocator role:
- Enable maintenance mode on the allocator.
- Move all nodes off the allocator and to other allocators in your installation. Moving all nodes lets you retain the same level of redundancy for highly available clusters and ensures that other clusters without high availability remain available.
Do not skip this step or you will affect the availability of clusters with nodes on the allocator. You are in the process of removing the runner from your installation and whatever ECE artifacts are stored on it will be lost.
- Delete the runner from your ECE installation.
- Perform the maintenance on your host, such as enabling encryption of data at rest.
- Reinstall ECE on the host as if it were a new runner and assign the same roles as before.
- Optional for allocators: ECE will start using the allocator again as you create new or change existing clusters, but it will not automatically redistribute nodes to an allocator after it becomes available. If you want to move nodes back to the same allocator after host maintenance, you need to manually move the nodes and specify the allocator as a target.
After the runner shows a green status in the Cloud UI, the host is part of your ECE installation again and can be used as before.