[Openstack] Suspend/Stop VM

George Reese george.reese at enstratus.com
Mon Jul 30 16:13:52 UTC 2012


Thanks, but I am looking for how this is done via API.

-George

On Jul 30, 2012, at 11:11 AM, Pengjun Pan <panpengjun at gmail.com> wrote:

> 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
>> 

--
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120730/03effbcb/attachment.html>


More information about the Openstack mailing list