[one-users] Java API questions
rbabu at hexagrid.com
rbabu at hexagrid.com
Wed Jun 17 17:21:33 PDT 2009
Tino
Thanks for your email.
On Jun 17, 2009, at 11:54 AM, Tino Vazquez <tinova at fdi.ucm.es> wrote:
> Hi Rangababu,
>
> comments inline,
>
> On Wed, Jun 17, 2009 at 5:26 AM, Rangababu <rbabu at hexagrid.com> wrote:
> Hi
>
> First of all thanks for providing the Java API. I have couple of
> questions about it.
>
> (a) What is the difference between VmState & LcmState?
>
> 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.
>
> Take a look at include/VirtualMachine.h for a complete list of the
> states.
>
>
> (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?
>
> 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.
>
> hope it helps, please do not hesitate to ask further doubts.
>
> Regards,
>
> -Tino
>
>
>
>
> Rangababu
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> Constantino Vázquez, Grid Technology Engineer/Researcher: http://www.dsa-research.org/tinov
> a
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090617/0a0868ff/attachment-0002.htm>
More information about the Users
mailing list