[Openstack] Suspend/Stop VM

Pengjun Pan panpengjun at gmail.com
Mon Jul 30 16:11:31 UTC 2012


I never tried to stop a VM using api. But run a "nova help", it has
pause, reboot, resume, etc.

To bypass nova api, you can use virsh to stop instances. Do a "sudo
virsh list --all", it will list all the running instances even if nova
cannot see it for some reason. And then you can kill all the "ghost"
instances by "sudo virsh shutdown <id>".

Hope this helps.

PJ


On Mon, Jul 30, 2012 at 10:50 AM, George Reese
<george.reese at enstratus.com> wrote:
> I must be missing something, but I can't find any docs on how to suspend or
> stop a VM via API.
>
> Any pointers, please? :)
>
> -George
>
> --
> George Reese - Chief Technology Officer, enStratus
> e: george.reese at enstratus.com    Skype: nspollution    t: @GeorgeReese    p:
> +1.207.956.0217
> enStratus: Enterprise Cloud Management - @enStratus -
> http://www.enstratus.com
> To schedule a meeting with me: http://tungle.me/GeorgeReese
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>




More information about the Openstack mailing list