Chapter 4. Administering the Self-Hosted Engine
4.1. Maintaining the Self-Hosted Engine
The maintenance modes enable you to start, stop, and modify the Manager virtual machine without interference from the high-availability agents, and to restart and modify the self-hosted engine nodes in the environment without interfering with the Manager.
There are three maintenance modes that can be enforced:
-
global
- All high-availability agents in the cluster are disabled from monitoring the state of the Manager virtual machine. The global maintenance mode must be applied for any setup or upgrade operations that require theovirt-engine
service to be stopped, such as upgrading to a later version of Red Hat Virtualization. -
local
- The high-availability agent on the node issuing the command is disabled from monitoring the state of the Manager virtual machine. The node is exempt from hosting the Manager virtual machine while in local maintenance mode; if hosting the Manager virtual machine when placed into this mode, the Manager will migrate to another node, provided there is one available. The local maintenance mode is recommended when applying system changes or updates to a self-hosted engine node. -
none
- Disables maintenance mode, ensuring that the high-availability agents are operating.
Maintaining a RHEL-Based Self-Hosted Engine (Local Maintenance)
Place a self-hosted engine node into the local maintenance mode:
-
In the Administration Portal, click
and select a self-hosted engine node. -
Click
. The local maintenance mode is automatically triggered for that node. You can also set the maintenance mode from the command line:
# hosted-engine --set-maintenance --mode=local
-
In the Administration Portal, click
After you have completed any maintenance tasks, disable the maintenance mode:
# hosted-engine --set-maintenance --mode=none
Maintaining a RHEL-Based Self-Hosted Engine (Global Maintenance)
Place self-hosted engine nodes into global maintenance mode:
-
In the Administration Portal, click
, select any self-hosted engine node, and click . You can also set the maintenance mode from the command line:
# hosted-engine --set-maintenance --mode=global
-
In the Administration Portal, click
After you have completed any maintenance tasks, disable the maintenance mode:
# hosted-engine --set-maintenance --mode=none