Thanks Daniel.<br><br>I have Xen installed and XenDom0 running on a node and I have successfully connected to the Node.<br><br> ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT<br> 0 node-0 default 0 400 395 400 7.9G 1024K off<br>
1 node1 default 0 400 398 400 7.9G 7.2G on<br><br>I have created an image template of CentOS DVD ISO:<br>NAME = "CentOS 5.5 Base"<br>PATH = /opt/cloud/one/images/CentOS-5.5-x86_64-bin-DVD-1of2.iso<br>
PUBLIC = YES<br>DESCRIPTION = "CentOS 5.5 for testing"<br><br>Then registered the template and oneimage lsited it:<br><br> oneimage list<br> ID USER NAME TYPE REGTIME PUB PER STAT #VMS<br>
1 oneadmin CentOS 5.5 Base OS Jan 31, 2011 11:14 Yes No rdy 0<br><br>I have created vnet using onevnet with name LAN2.<br><br>Now I am trying to start a VM on the node using this image. <br><br>I have created the vm template as:<br>
<br>CPU = 1<br>MEMORY = 2056<br><br>DISK = [ image = "CentOS 5.5 Base" ]<br><br>DISK = [ type = swap,<br> size = 3072 ]<br><br>#swap of 3 GB<br>DISK = [ type = swap,<br>
size = 3072 ]<br>#/ root file system of 10 GB<br><pre class="xterm">DISK = [ TYPE = fs,
SIZE = 10240,
FORMAT = ext3,
SAVE = yes,
TARGET = ? ]<br>NIC = [ NETWORK = "LAN2" ]<br></pre>GRAPHICS = [type="vnc",listen="0.0.0.0",port="1"]<br><br>What could be the Target, I have /vm on hda3 ( not a separate partition but / of my Xen Host)<br>
I am trying to have a 10 GB / mount and 3 GB swap space. How can I set the rest like kernel etc....<br><br>I have no idea how to create the disk, I have no separate partitions for Xen guest, partitions I have are / /boot and swap. I have a /vm directory for keeping Guests. Should I re-instal the machine with separate /vm partition?<br>
<br>I am stuck on this for some time. It would be great if some one can help me.<br><br>Thanks,<br>Anoop<br><br><br><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 12:42 PM, <span dir="ltr"><<a href="mailto:Daniel.MOLDOVAN@cs.utcluj.ro">Daniel.MOLDOVAN@cs.utcluj.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
Look at <a href="http://www.opennebula.org/documentation:rel2.0:template" target="_blank">http://www.opennebula.org/documentation:rel2.0:template</a> . And<br>
depending on your needs you can create both swap partitions and disk and<br>
so on. You need at least one boot partition which is the root for the OS<br>
in the case you are using KVM. For XEN you can use a kernel located on the<br>
host to boot the VM. Regarding the disk concepts,think at each disk as a<br>
separate storage drive, depending on the storage type(cdrom, disk, swap,<br>
etc).<br>
<br>
P.S. Is ONE not ON :P<br>
<br>
<br>
În Lun, Ianuarie 31, 2011 10:27 pm, anoop Lekshmanan a scris:<br>
<div><div></div><div class="h5">> Thanks Nikolay.<br>
><br>
><br>
> One more question, on deploying like this how can I choose/customize disk<br>
> for thus deployed VMs like /, swap, boot etc. I had gone through ON<br>
> docs, but I dont understand the disk concepts, should we create partitions<br>
> /,swap,<br>
> boot on the node for VM. What does Target means, should we create target<br>
> partitions before running the deploy commands.<br>
><br>
> Sorry for bothering you, I am totally confused on this part.<br>
><br>
><br>
> Thanks,<br>
> Anoop<br>
><br>
><br>
> On Tue, Feb 1, 2011 at 1:42 AM, <<a href="mailto:knawnd@gmail.com">knawnd@gmail.com</a>> wrote:<br>
><br>
><br>
>> anoop Lekshmanan wrote on 31/01/11 23:04:<br>
>><br>
>> Hi Nikolay,<br>
>><br>
>>><br>
>>> Thanks!<br>
>>><br>
>>><br>
>>> I have used the registered image with VM template but on onevm create<br>
>>> template-name the vm state continues be on pending.<br>
>>><br>
>> To run VM it needs to be deployed apart from creating VM<br>
>> $ onevm deploy <VM_id> <Host_id><br>
>><br>
>><br>
>> VM_id is virtual machine id (specified in first column on 'onevm<br>
>> list') Host_id is registered in ON host id ('onehost list')<br>
>> E.g.<br>
>> $ onevm deploy 9 3<br>
>><br>
>><br>
>> Hope it helps,<br>
>> Nikolay.<br>
>><br>
>><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>
>><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>
><br>
<br>
<br>
</div></div></blockquote></div><br>