Hi Rangababu,<br><br>comments inline,<br><br><div class="gmail_quote">On Wed, Jun 17, 2009 at 5:26 AM, Rangababu <span dir="ltr"><<a href="mailto:rbabu@hexagrid.com">rbabu@hexagrid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
First of all thanks for providing the Java API. I have couple of questions about it.<br>
<br>
(a) What is the difference between VmState & LcmState?</blockquote><div><br>The VmState are a step up the ladder than the LcmSates. In fact, the LcmStates are all contained in the ACTIVE VMState, i.e., the LcmStates are the unfolding of this ACTIVE state. When the VM is in any other VMSate than this ACTIVE one, the LcmState is always at LCM_INIT. <br>
<br>Take a look at include/VirtualMachine.h for a complete list of the states.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
(b) The junit test OpenNebulaClientTest has a lifecycle test method where in, after calling vmallocate, vmdeploy is called. Do we always have to call vmDeploy? If we add couple of hosts to openNebula host list and call vmallocate, wont OpenNebula figure out which host to use? Is it required to call vmDeploy with a host Id? or is it only available for users who want to specify which host their vm should reside on?</blockquote>
<div><br>The deploy call is intended to be used by the scheduler. You can just allocate the VM and the scheduler will be in charge of finding a suitable host, and place the deploy call to the core using the appropriate host_id.<br>
<br>hope it helps, please do not hesitate to ask further doubts.<br><br>Regards,<br><br>-Tino<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><font color="#888888">
<br>
<br>
Rangababu<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></font></blockquote><div><br><br><br clear="all"><br>--<br>Constantino Vázquez, Grid Technology Engineer/Researcher: <a href="http://www.dsa-research.org/tinova">http://www.dsa-research.org/tinova</a><br>
DSA Research Group: <a href="http://dsa-research.org">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.GridWay.org">http://www.GridWay.org</a> <br>OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org">http://www.OpenNebula.org</a><br>
<br></div></div><br>