-
Notifications
You must be signed in to change notification settings - Fork 7
Ignoring Hosts
thoeynck edited this page Mar 30, 2015
·
2 revisions
To prevent a host downtime from breaking your update waves, you can ignore it:
ignore host://[HOSTNAME] -m "motivation why I am ignoring this host"
This will prevent the status command from connecting to the host and thus will not show the status of the services. Any command that would usually break with a "Host Unreachable" exception, will now skip the ignored host and will continue running. The option --ignore-unreachable-hosts
is not necessary.
This feature is intended for hardware maintenance jobs where several VMs on a physical host are stopped and shut down. To unignore the host, use the following command:
unignore host://[HOSTNAME]
Combine the functions lock host://*
and stop services://*
with the ignore host://*
to safely bring the host into maintenance mode.