[Openstack-operators] Putting a hypervisor into maintenance / how to get a list of all instance IDs on a host

Joe Topjian joe at topjian.net
Thu Feb 13 18:51:26 UTC 2014


nova-manage (and I believe somewhere in the nova command as well?) can
disable a service. This will prevent new instances from spawning but still
allow them to be migrated to another host.

The Ops Guide has a chapter on maintenance and failures:

http://docs.openstack.org/trunk/openstack-ops/content/maintenance.html#compute_node_failures

And there's also the "nova evacuate" command, but I've never used it, so
I'm not entirely sure how it works or when to use it:

http://docs.openstack.org/user-guide/content/nova_cli_evacuate.html

Hope that helps,
Joe


On Thu, Feb 13, 2014 at 1:20 PM, Robert van Leeuwen <
Robert.vanLeeuwen at spilgames.com> wrote:

> > Is there an easy way to get a list of all instances on a specific host?
>
> Never mind, found it:
> nova hypervisor-servers $hostname.
>
> Still curious what other people use for putting machines in maintenance
> though :)
>
> Cheers,
> Robert van Leeuwen
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140213/ae3d8ca1/attachment.html>


More information about the OpenStack-operators mailing list