On Dec 30, 2013, at 1:29 PM, Nevo <snowge...@gmail.com> wrote:

> Hi all!
>  Sorry if my question (see the subject) has been asked before, as it's indeed 
> (http://markmail.org/message/apchw5rsf4xgevt4?q=list:org%2Eapache%2Eincubator%2Ecloudstack-%2A+suspend).
>  But since I saw no further update on that issue, maybe I could check out 
> here first. My box is running cloudstack 4.2.0 on ubuntu 12.04 (desktop). The 
> hypervisor is kvm as you probably know. it would be great to be able to 
> suspend/resume my VMs now and then so I could have my PC take a break 
> sometimes.  Can anyone suggest whether it's possible to support that? It 
> seems we can do it via "virsh": 
> https://help.ubuntu.com/community/KVM/Managing , but not cloudstack API?
> 

Hi, you can start/stop Vm with the API :
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/startVirtualMachine.html

try it with cloud monkey: https://pypi.python.org/pypi/cloudmonkey/

>  Thanks!
> 
> 
> Nevo

Reply via email to