<div class="gmail_quote"><br>Hi Tino,<div><br></div><div>I think I am getting a little farther in that I was trying to use the onevm create <image> instead of registering (which worked but not sure it helps).</div><div>
<br></div><div>However it fails to create the vm and I find this message in the vmm_vmware.log:</div>
<div><br></div><div><div>[02.09.2010 11:57:44] Failed deploying VM 1 into 12core.xxxxx.com.Reason:/export/vg0-lv0/1/deployment.0 (No such file or directory)</div><div><br></div><div>with these messages in the oned.log:</div>
<div><br></div><div><div>Thu Sep 2 11:57:43 2010 [DiM][D]: Deploying VM 1</div><div>Thu Sep 2 11:57:43 2010 [ReM][D]: VirtualMachinePoolInfo method invoked</div><div>Thu Sep 2 11:57:43 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -</div>
<div><br></div><div>Thu Sep 2 11:57:44 2010 [VMM][D]: Message received: DEPLOY FAILURE 1 Failed deploying VM in host <a href="http://12core.boston.vm-labs.com" target="_blank">12core.boston.vm-labs.com</a>.</div><div><br>
</div><div>Thu Sep 2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh: Deleting</div>
<div><br></div><div>Thu Sep 2 11:57:44 2010 [TM][D]: Message received: LOG - 1 tm_delete.sh: Executed "rm -rf /export/vg0-lv0/one-12core.xxxxx.com:/export/vg0-lv0/1/images".</div><div><br></div><div>Thu Sep 2 11:57:44 2010 [TM][D]: Message received: TRANSFER SUCCESS 1 -</div>
</div><div><br></div><div>Any tips with these messages?</div><div><br></div><div>I have a single NFS mount on the ESX host as datastore1 and is a local path to the OpenNebula front-end.</div><div><br></div><div>-Jon</div>
<div><div></div><div class="h5">
<div><br></div><div><br></div><br><div class="gmail_quote">On Thu, Sep 2, 2010 at 11:39 AM, Jonathan Kelley <span dir="ltr"><<a href="mailto:jkelley@vm-labs.com" target="_blank">jkelley@vm-labs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Tino,<div><br></div><div>Thanks for the quick reply.</div><div><br></div><div> How do you specify a VM PATH though as my VM has 5-6 associated files?</div><div><br></div><div>Here is the example given:</div><div><span style="font-family:Arial, Verdana, Geneva, Helvetica, sans-serif;font-size:13px;color:rgb(53, 55, 53);line-height:18px"><pre style="font-family:'Lucida Console', Monaco, 'DejaVu Sans Mono', monospace, 'Courier New', MiscFixed;font-size:10px;white-space:pre-wrap;padding-top:0.5em;padding-right:0.5em;padding-bottom:0.5em;padding-left:0.5em;border-top-width:2px;border-right-width:2px;border-bottom-width:2px;border-left-width:2px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(0, 0, 0);border-right-color:rgb(0, 0, 0);border-bottom-color:rgb(0, 0, 0);border-left-color:rgb(0, 0, 0);color:rgb(255, 255, 255);background-color:rgb(103, 103, 103);overflow-x:auto;overflow-y:auto;line-height:14px;margin-top:10px;margin-right:10px;margin-bottom:10px;margin-left:10px">
NAME = "Ubuntu Web Development"
PATH = /home/one_user/images/ubuntu_desktop.img
PUBLIC = YES
DESCRIPTION = "Ubuntu 10.04 desktop for Web Development students.
Contains the pdf lessons and exercises as well as all the necessary
programming tools and testing frameworks."</pre></span><div><br></div><div>For my Windows XP I have two disk files so how do I specify two files in the PATH field? Or do I specify the vmx file?</div><div><br></div><div>
Thanks again,</div><div>-Jon</div><div><div></div><div><div><br></div><br><div class="gmail_quote">On Thu, Sep 2, 2010 at 11:29 AM, Tino Vazquez <span dir="ltr"><<a href="mailto:tinova@fdi.ucm.es" target="_blank">tinova@fdi.ucm.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Jonathan,<br>
<br>
The way to use the image catalog is to upload individual images, each<br>
of them requiring an image template [1].<br>
<br>
One registered, a VM can use an image by just referencing the image's<br>
name (same as the VirtualNetwork from your template, using just the<br>
name "VMWareNET").<br>
<br>
Regards,<br>
<br>
-Tino<br>
<br>
[1] <a href="http://opennebula.org/documentation:rel2.0:img_template" target="_blank">http://opennebula.org/documentation:rel2.0:img_template</a><br>
--<br>
Constantino Vázquez Blanco | <a href="http://dsa-research.org/tinova" target="_blank">dsa-research.org/tinova</a><br>
Virtualization Technology Engineer / Researcher<br>
OpenNebula Toolkit | <a href="http://opennebula.org" target="_blank">opennebula.org</a><br>
<div><div></div><div><br>
<br>
<br>
On Thu, Sep 2, 2010 at 4:57 PM, Jonathan Kelley <<a href="mailto:jkelley@vm-labs.com" target="_blank">jkelley@vm-labs.com</a>> wrote:<br>
> Hello,<br>
> I am trying to register my VM to use with OpenNebula and ESX 4.1.<br>
> I copied the VM folder to the shared nfs storage and then have tried to<br>
> create a template for this vm but I am not sure I have it right:<br>
> root@xxxx:/srv/cloud/one# cat /export/vg0-lv0/WinXP.template<br>
> NAME=VMwareVM<br>
> MEMORY=256<br>
> CPU=1<br>
> NIC=[NETWORK="VMWareNet"]<br>
> DISK=[ source="/export/vg0-lv0/WinXP_32bit_Dev",<br>
> clone="yes",<br>
> save="no"]<br>
> However when I run the register command I get image not present messages:<br>
> root@xxxx:/export/vg0-lv0# /srv/cloud/one/bin/oneimage register<br>
> ./WinXP.template<br>
> Error: Image not present, aborting.<br>
><br>
> It is not quite clear to me what the template should look like and how to<br>
> register an existing VMware VM.<br>
> Thanks,<br>
> Jon<br>
><br>
</div></div>> _______________________________________________<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>
><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</div><br>