Ask Your Question

Revision history [back]

Hi.

What version of OpenStack are you running?

Perhaps what you are looking for is this command:

$ nova host-update --maintenance [enable | disable]

One of the other approaches I've seen taken with good success is to use Host Aggregates (http://docs.openstack.org/trunk/openstack-compute/admin/content/host-aggregates.html). You have a 'production' aggregate that will be used for normal scheduling, and another aggregate (eg 'downtime') that you can move hosts to for testing/maintenance.

click to hide/show revision 2
adding link to OpenStack Operations Guide

Hi.

What version of OpenStack are you running?

Perhaps what you are looking for is this command:

$ nova host-update --maintenance [enable | disable]

One of the other approaches I've seen taken with good success is to use Host Aggregates (http://docs.openstack.org/trunk/openstack-compute/admin/content/host-aggregates.html). You have a 'production' aggregate that will be used for normal scheduling, and another aggregate (eg 'downtime') that you can move hosts to for testing/maintenance.

You may also be interested in the "Maintenance, Failures, and Debugging" chapter of the OpenStack Operations guide - http://docs.openstack.org/trunk/openstack-ops/content/maintenance.html