Feature: Hosted engine maintenance mode
Reason: Provide a method to stop hosted engine automation in order to maintain the hosted engine VM or hosts on which it runs.
Result (if any): The hosted-engine tool has 2 new options added for this feature:
--set-maintenance=<local|global|none> - This sets the maintenance mode of the hosted engine agent:
- local: shut the engine VM down on the local host (if running), and lower the host's HA score to 0. This allows for maintenance of the local host, including putting the host into maintenance mode in the engine.
- global: pause all activity of all HA agents, leaving the engine VM running on its current host. The VM can now be start, shut down, and/or changed as desired without the HA agent taking any action to ensure it is up and running.
- none: un-set maintenance mode and resume normal operation on HA agents. Note that this option affects only the scope of maintenance in force at the time; that is, turning off local maintenance will turn it off only on the local host, while turning off global maintenance will turn it off for all hosts of the cluster.
--vm-start-paused - This option will create the VM in paused state, allowing the VM's domain XML to be changed before the VM runs. One useful application of this is to add/remove devices, particularly boot media.