Hi Nikolay,<br><br>
The life-cycle diagram [1] is the best way to understand the VM states, and what actions are available for each of them.<br>
<br>If you shut down a VM, it will enter the final DONE state, from which no action can be performed.<br>A stopped VM on the other hand can be later resumed, using 'onevm resume'.<br><br>Internally, the difference is that shutting down the VM it has a chance to perform any operations (like unregister from a service). A stopped VM is suspended (paused).<br>
<br>[1] <a href="http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle">http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle</a><br><br>Regards<br><br clear="all"><span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">--<br>
Carlos Martín, MSc<br>Project Major Contributor<br><span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span> - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.opennebula.org/" style="color:rgb(42, 93, 176)" target="_blank">www.<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">OpenNebula</span>.org</a> | <a href="mailto:cmartin@opennebula.org" style="color:rgb(42, 93, 176)" target="_blank">cmartin@<span style="background-color:rgb(255, 255, 204);color:rgb(34, 34, 34);background-repeat:initial initial">opennebula</span>.org</a></span><br>
<br><br><div class="gmail_quote">On Sun, May 8, 2011 at 5:34 PM, <span dir="ltr"><<a href="mailto:knawnd@gmail.com">knawnd@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi!<br>
<br>
Tino has already explained the difference between deleting and shutting down VM in [1]. But I wonder what the difference is between shutting down VM and stopping it (I mean 'onevm shutdown' and 'onevm stop'). It's not clear from onevm man page [2].<br>
<br>
Thanks.<br>
Nikolay.<br>
<br>
[1] <a href="http://www.mail-archive.com/users@lists.opennebula.org/msg02965.html" target="_blank">http://www.mail-archive.com/users@lists.opennebula.org/msg02965.html</a><br>
[2] <a href="http://opennebula.org/doc/2.2/cli/onevm.html" target="_blank">http://opennebula.org/doc/2.2/cli/onevm.html</a><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br>