Hi,<div><br></div><div>Maybe I am missing  something.</div><div><br></div><div>1.- SHUTDOWN is a transient state, the VM will end up in DONE, and so -*removed from the active list* or FAIL. So, there is no action to be taken from that state. You can delete it in case that somehow the process hangs.</div>

<div><br></div><div>2.- From FAIL you can resubmit the VM preserving any resource (IP, image...).  </div><div><br></div><div>3.- Once the VM is DONE you can instantiate it again using the Template pool.</div><div><br></div>

<div>4.- The VM may reach an UNKNOWN state, this happens when OpenNebula lost track of the VM for any reason. From that state you can start it up again, as the images are supposed to be already in the host.</div><div><br>

</div><div>Hope now it is a bit clearer</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div><div><div><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 8:39 PM, Gary S. Cuozzo <span dir="ltr"><<a href="mailto:gary@isgsoftware.net" target="_blank">gary@isgsoftware.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">Yes, the shutdown functions as I would expect.  I'm just questioning why it seems to stay in the list of VM's when all I seem to be able to do is delete the VM.  Granted the images are still there, so I can delete the VM, then recreate it again from the template.  But it seems like it would be more useful if I could do something else, such as start it up again.  I thought maybe I was missing something in the overall lifecycle picture, but maybe not.<br>

<br><hr><div style="font-size:12pt;font-style:normal;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal"><b>From: </b>"Ruben S. Montero" <<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>><br>

<b>To: </b>"Gary S. Cuozzo" <<a href="mailto:gary@isgsoftware.net" target="_blank">gary@isgsoftware.net</a>><br><b>Cc: </b><a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>

<b>Sent: </b>Thursday, August 2, 2012 1:28:28 PM<br><b>Subject: </b>Re: [one-users] shutdown vm state<br><br>Hi<div><br></div><div>Upon receiving the ACPI signal the VM should actually shutdown and then it will be removed from the hypervisor active list. From there OpenNebula will move around any persistent or save_as image. Check your guest OS for its ACPI configuration.</div>



<div><br></div><div>There is a timeout for the shutdown operation, if the VM is still alive it will return to RUNNING. </div><div><br></div><div>Cheers</div><div><br></div><div>Ruben<br><br><div class="gmail_quote">On Thu, Aug 2, 2012 at 6:04 PM, Gary S. Cuozzo <span dir="ltr"><<a href="mailto:gary@isgsoftware.net" target="_blank">gary@isgsoftware.net</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:arial,helvetica,sans-serif">Hello,<br>I have a question about the shutdown state of a vm.  Using ONE 3.6 and Sunstone GUI, if I click the "shutdown" button, the vm seems to do a clean shutdown via acpi and it stops running.  The state is indicated as "SHUTDOWN".  From there, the only thing I can seem to do is delete the VM.  Any other action I attempt results in a wrong state error.<br>



<br>What is the purpose and proper/intended use of the shutdown feature?<br><br>Thanks,<br>gary<br><br></div></div><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>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br>

<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>


</font></span></div>
</div><br></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>


</div></div>