<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div id="yiv35525715"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div id="yiv35525715yui_3_2_0_8_131110192077848"><font id="yiv35525715yui_3_2_0_8_131110192077892" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876">Hi Puneeth/Team,</span></font><font size="2"><span><br></span></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778110" class="yiv35525715tab"> Please find the answers to the questions.</span></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778123" class="yiv35525715tab"> 1.) I am using xen id</span></font></div><div
id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778123" class="yiv35525715tab"> 2.) I have not written the script yet, I am trying to check whether it is successful through xen console.</span></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778123" class="yiv35525715tab"> 3.) All three commands displays that the xen virtual machine is running.</span></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><br></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2">I still haven't got full understanding about the VM Template. Let me brief you my environment. I have two machines. <br></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><br></font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font
id="yiv35525715yui_3_2_0_8_13111019207781274" size="2">Machine A. ) OpenNebula front end with NFS share with cluster node</font></div><div id="yiv35525715yui_3_2_0_8_131110192077848"><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778270" class="yiv35525715tab">Machine</span><span id="yiv35525715yui_3_2_0_8_1311101920778275" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778280" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778285" class="yiv35525715tab"> B.) Cluster Node with OpenSuse 11.4 xen kernel.</span></font></div><ul class="yiv35525715" id="yiv35525715yui_3_2_0_8_1311101920778402"><li id="yiv35525715yui_3_2_0_8_1311101920778401"><font id="yiv35525715yui_3_2_0_8_1311101920778467" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778383" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778388" class="yiv35525715tab"></span><span
id="yiv35525715yui_3_2_0_8_1311101920778393" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778398" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778324" class="yiv35525715tab">Both machines are running on OpenSuse 11.4.</span></font></li><li id="yiv35525715yui_3_2_0_8_1311101920778401"><font id="yiv35525715yui_3_2_0_8_1311101920778467" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778324" class="yiv35525715tab">Fedora virtual machine was created on Machine B using Xen kernel. ( This virtual machine is working fine on Machine B with xen commands.)<br></span></font></li><li id="yiv35525715yui_3_2_0_8_1311101920778401"><font id="yiv35525715yui_3_2_0_8_1311101920778516" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778324" class="yiv35525715tab">Same Fedora Virtual machine's image was used to create opennebula fedora image.</span></font></li><li
id="yiv35525715yui_3_2_0_8_1311101920778401"><font id="yiv35525715yui_3_2_0_8_1311101920778516" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778324" class="yiv35525715tab">Then OpenNebula VM template was created as follows</span></font></li><li id="yiv35525715yui_3_2_0_8_1311101920778401"><font id="yiv35525715yui_3_2_0_8_1311101920778516" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778324" class="yiv35525715tab">##################################################<br></span></font></li></ul><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778726" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778731" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778736" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> <font
id="yiv35525715yui_3_2_0_8_13111019207781100">Name =
Fed12<br></font></span><span id="yiv35525715yui_3_2_0_8_13111019207781115" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778752" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778757" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778762" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778767" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">CPU = 0.5<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778774" class="yiv35525715tab"></span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781124" class="yiv35525715tab"> </span></font><font
id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778774" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778779" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778784" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778789" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">MEMORY = 512<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778796" class="yiv35525715tab"></span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781133" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778796" class="yiv35525715tab">
</span><span id="yiv35525715yui_3_2_0_8_1311101920778801" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778806" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778811" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">OS = [<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778818" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778823" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781140" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778823" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778828"
class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778833" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778838" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778843" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> KERNEL = "/boot/vmlinuz-2.6.37.6-0.5-xen",<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778850" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778855" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778860" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781147"
class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778860" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778865" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778870" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778875" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> INITRD = "/boot/initrd-2.6.37.6-0.5-xen",<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778882" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778887" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778892"
class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778897" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781154" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778897" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778902" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778907" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> ROOT = "sda2"<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778916" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778921"
class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778926" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778931" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"></span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781161" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">]<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778938" class="yiv35525715tab"></span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781168" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778938"
class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778943" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778948" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778953" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778958" class="yiv35525715tab"></span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">DISK = [<br></span><span id="yiv35525715yui_3_2_0_8_1311101920778977" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778982" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781175" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span
id="yiv35525715yui_3_2_0_8_1311101920778982" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778987" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778992" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778997" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781002" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> IMAGE_ID = "1",<br></span><span id="yiv35525715yui_3_2_0_8_13111019207781009" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781014" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781019"
class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781182" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781019" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781024" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781029" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781034" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> TARGET = "/dev/sda2",<br></span><span id="yiv35525715yui_3_2_0_8_13111019207781041" class="yiv35525715tab"> </span><span
id="yiv35525715yui_3_2_0_8_13111019207781046" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781051" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781056" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781189" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781056" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781061" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781066" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"> READONLY = "no"<br></span><span
id="yiv35525715yui_3_2_0_8_13111019207781073" class="yiv35525715tab"></span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781196" class="yiv35525715tab"> </span></font><font id="yiv35525715yui_3_2_0_8_13111019207781095" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781073" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781078" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781083" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781088" class="yiv35525715tab"> </span></font><font size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">]<br></span><span id="yiv35525715yui_3_2_0_8_13111019207781266" class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_13111019207781271"
class="yiv35525715tab"> </span><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab">################################################<br></span></font><ul id="yiv35525715yui_3_2_0_8_13111019207781215"><ul id="yiv35525715yui_3_2_0_8_13111019207781220"><ul id="yiv35525715yui_3_2_0_8_13111019207781223"><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781283" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781213" class="yiv35525715tab">in the OS section of VM template, I have put Linux kernel information of Machine B, which is the cluster node (the host machine) there I have specified the Suse Xen kernel which runs the main OS. Same applies to INTRD as well.<br></span></font></li><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781283" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781213" class="yiv35525715tab">I am
bit confused about ROOT partition, I assume ROOT
partition means host machine's (Cluster Node's) "/" Partition. Even though /etc/fstab shows /dev/disk ... id , the df -kh displays as "/" maps to /dev/sda2</span></font></li><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781283" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781213" class="yiv35525715tab">Now on Disk section I assumed TARGET means "/" partition on Cluster node or host machine, which is again /dev/sda2</span></font></li><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781283" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781213" class="yiv35525715tab">Anyhow still OpenNebula xen virtual image creation is not successful. Right now it creates the Virtual Image and copies it however I can't login through the console, it displays set of messages.</span></font></li></ul></ul><li
id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781612" size="2">I believe this whole confusion is due
to my lack of knowledge on OpenNebula VM Template.</font><font id="yiv35525715yui_3_2_0_8_13111019207781283" size="2"><span id="yiv35525715yui_3_2_0_8_13111019207781213" class="yiv35525715tab"> <br></span></font><ul id="yiv35525715yui_3_2_0_8_13111019207781638"><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781679" size="2">Have I pointed to the correct kernel on host machine ? if not what is the correct way</font><ul id="yiv35525715yui_3_2_0_8_13111019207781688"><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font size="2">Do I need to copy Virtual Image's kernel in to host machine (Cluster node) and then point it to them on VM Template.<br></font></li></ul></li><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font id="yiv35525715yui_3_2_0_8_13111019207781717" size="2">Can Someone please elaborate the meaning of ROOT and TARGET on VM template. To what should they be pointed at ?</font><ul
id="yiv35525715yui_3_2_0_8_13111019207781724"><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font size="2">ROOT - to which device should we point this at ? Where can I obtain
this info , is it to the Host Machine ? or to the Virtual Machine ? and what is the device ? is it "/" partition device ?</font></li><li id="yiv35525715yui_3_2_0_8_13111019207781214"><font size="2">TARGET- to which device should we point this at ? Where can I obtain this info , is it to Host Machine ? or to Virtual Machine </font></li></ul></li></ul></li></ul><font id="yiv35525715yui_3_2_0_8_13111019207781623" size="2"><span id="yiv35525715yui_3_2_0_8_1311101920778741" class="yiv35525715tab"></span></font><font size="2"> Highly appreciate if someone can help me to understand above. Please find following xen console output, vm.log and xend.log info.<br></font><div id="yiv35525715yui_3_2_0_8_131110192077848"><font id="yiv35525715yui_3_2_0_8_1311101920778105" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876"></span></font></div><div id="yiv35525715yui_3_2_0_8_13111019207781255"><font id="yiv35525715yui_3_2_0_8_1311101920778586"
size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876"><br>Cheers !<br>Rasika karunathilaka.</span></font><font id="yiv35525715yui_3_2_0_8_1311101920778586" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876"><br><br>################################ vm.log###################################<br>
Tue Jul 19 07:55:48 2011 [DiM][I]: New VM state is ACTIVE.<br>Tue Jul 19 07:55:48 2011 [LCM][I]: New VM state is PROLOG.<br>Tue Jul 19 07:55:48 2011 [VM][I]: Virtual Machine has no context<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: linux-q3r2:/srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33 cdv-gtoopensuse:/srv/cloud/images/87/images/disk.0<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/images/87/images/disk.0<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/images/87/images<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/images/87/images".<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/images/87/images".<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/srv/cloud/one/var/images/95f2274e26a954f8131912f41f84967fbd411c33 /srv/cloud/images/87/images/disk.0".<br>Tue Jul 19 07:58:22 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/images/87/images/disk.0".<br>Tue Jul 19 07:58:22 2011 [LCM][I]: New VM state is BOOT<br>Tue Jul 19 07:58:22 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/87/deployment.0<br>Tue Jul 19 07:58:24 2011 [LCM][I]: New VM state is RUNNING<br>#########################################################################<br>
</span></font><div id="yiv35525715yui_3_2_0_8_13111019207781255"><font id="yiv35525715yui_3_2_0_8_1311101920778586" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876"><br>################################ Xend.log #################################<br>
2011-07-19 23:04:50 2141] DEBUG (XendDomainInfo:1841) Storing domain details: {'console/ring-ref': '306145', 'image/entry': '3221233664', 'console/port': '2', 'store/ring-ref': '306146', 'image/loader': 'generic', 'vm': '/vm/9e0e9651-b379-dfd1-f9ef-8782e445499c', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '4118806528', 'image/guest-os': 'linux', 'image/features/writable-descriptor-tables': '1', 'image/virt-base': '3221225472', 'memory/target': '524288', 'image/guest-version': '2.6', 'image/features/supervisor-mode-kernel': '1', 'image/pae-mode': 'yes', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '3221237760', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '1', 'console/type': 'xenconsoled', 'image/features/auto-translated-physmap': '1', 'name': 'one-87', 'domid': '11',
'image/xen-version': 'xen-3.0', 'store/port': '1'}<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/11/0'} to /local/domain/11/device/console/0.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:97) DevController: writing {'domain': 'one-87', 'frontend': '/local/domain/11/device/console/0', 'uuid': '0d4176fe-0129-6b05-6ece-46955ecb81bd', 'frontend-id': '11', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/11/0.<br>[2011-07-19 23:04:50 2141] DEBUG (XendDomainInfo:1928) XendDomainInfo.handleShutdownWatch<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices tap2.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vif.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vkbd.<br>[2011-07-19 23:04:50
2141] DEBUG (DevController:139) Waiting for devices ioports.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices tap.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vif2.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices console.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:144) Waiting for 0.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vscsi.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vbd.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:144) Waiting for 2050.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/11/2050/hotplug-status.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:671) hotplugStatusCallback /local/domain/0/backend/vbd/11/2050/hotplug-status.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:685) hotplugStatusCallback
1.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices irq.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vfb.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices pci.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vusb.<br>[2011-07-19 23:04:50 2141] DEBUG (DevController:139) Waiting for devices vtpm.<br>[2011-07-19 23:04:50 2141] INFO (XendDomain:1224) Domain one-87 (11) unpaused.<br>#########################################################################<br>
</span></font><div id="yiv35525715yui_3_2_0_8_13111019207781255"><font id="yiv35525715yui_3_2_0_8_13111019207781254" size="2"><br></font><font id="yiv35525715yui_3_2_0_8_1311101920778586" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876">################################ Xen Console############################</span></font> <font size="2"><br></font>
<pre><font size="2">[ 0.000000] Reserving virtual address space above 0xf5800000<br>[ 0.000000] Initializing cgroup subsys cpuset<br>[ 0.000000] Initializing cgroup subsys cpu<br>[ 0.000000] Linux version 2.6.37.6-0.5-xen (geeko@buildhost) (gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP 2011-04-25 21:48:33 +0200<br>[ 0.000000] Xen-provided physical RAM map:<br>[ 0.000000] Xen: 0000000000000000 - 0000000020800000 (usable)<br>[ 0.000000] NX (Execute Disable) protection: active<br>[ 0.000000] last_pfn = 0x20800 max_arch_pfn = 0x10000000<br>[ 0.000000] init_memory_mapping: 0000000000000000-0000000020800000<br>[ 0.000000] RAMDISK: 00832000 - 01b50000<br>[ 0.000000] ACPI in unprivileged domain disabled<br>[ 0.000000] 0MB HIGHMEM available.<br>[ 0.000000] 520MB LOWMEM available.<br>[ 0.000000] mapped low ram: 0 - 20800000<br>[ 0.000000] low ram: 0 - 20800000<br>[ 0.000000]
Zone PFN ranges:<br>[ 0.000000] DMA 0x00000000 -> 0x00001000<br>[ 0.000000] Normal 0x00001000 -> 0x00020800<br>[ 0.000000] HighMem empty<br>[ 0.000000] Movable zone start PFN for each node<br>[ 0.000000] early_node_map[2] active PFN ranges<br>[ 0.000000] 0: 0x00000000 -> 0x00020000<br>[ 0.000000] 0: 0x00020800 -> 0x00020800<br>[ 0.000000] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1 nr_node_ids:1<br>[ 0.000000] PERCPU: Embedded 9 pages/cpu @dfb5e000 s16320 r0 d20544 u36864<br>[ 0.000000] Swapping MFNs for PFN 75d and 1fb5f (MFN 4b456 and 2ac6a)<br>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130032<br>[ 0.000000] Kernel command line: root=/dev/sda2 <br>[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)<br>[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)<br>[ 0.000000] Inode-cache hash
table entries: 32768 (order: 5, 131072 bytes)<br>[ 0.000000] Initializing CPU#0<br>[ 0.000000] allocated 2662400 bytes of page_cgroup<br>[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups<br>[ 0.000000] Software IO TLB disabled<br>[ 0.000000] Initializing HighMem for node 0 (00000000:00000000)<br>[ 0.000000] Memory: 487660k/532480k available (4173k kernel code, 36628k reserved, 3025k data, 344k init, 0k highmem)<br>[ 0.000000] virtual kernel memory layout:<br>[ 0.000000] fixmap : 0xf5476000 - 0xf57ff000 (3620 kB)<br>[ 0.000000] pkmap : 0xf5000000 - 0xf5200000 (2048 kB)<br>[ 0.000000] vmalloc : 0xe1000000 - 0xf4ffe000 ( 319 MB)<br>[ 0.000000] lowmem : 0xc0000000 - 0xe0800000 ( 520 MB)<br>[ 0.000000] .init : 0xc070a000 - 0xc0760000 ( 344 kB)<br>[ 0.000000] .data : 0xc04157d7 - 0xc0709e28 (3025 kB)<br>[ 0.000000] .text :
0xc0002000 - 0xc04157d7 (4173 kB)<br>[ 0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.<br>[ 0.000000] Hierarchical RCU implementation.<br>[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.<br>[ 0.000000] RCU-based detection of stalled CPUs is disabled.<br>[ 0.000000] NR_IRQS:2624 nr_irqs:584 16<br>[ 0.000000] Xen reported: 2926.044 MHz processor.<br>[ 0.000000] Console: colour dummy device 80x25<br>[ 0.000000] console [tty0] enabled<br>[ 0.000000] console [xvc-1] enabled<br>[ 0.080003] Calibrating delay using timer specific routine.. 5859.38 BogoMIPS (lpj=11718775)<br>[ 0.080012] pid_max: default: 32768 minimum: 301<br>[ 0.080037] Security Framework initialized<br>[ 0.080049] AppArmor: AppArmor initialized<br>[ 0.080062] Mount-cache hash table entries: 512<br>[ 0.080137] Initializing cgroup subsys ns<br>[ 0.080143] ns_cgroup deprecated: consider
using the 'clone_children' flag without the ns_cgroup.<br>[ 0.080149] Initializing cgroup subsys cpuacct<br>[ 0.080153] Initializing cgroup subsys memory<br>[ 0.080160] Initializing cgroup subsys devices<br>[ 0.080164] Initializing cgroup subsys freezer<br>[ 0.080168] Initializing cgroup subsys net_cls<br>[ 0.080172] Initializing cgroup subsys blkio<br>[ 0.080603] SMP alternatives: switching to UP code<br>[ 0.098308] Freeing SMP alternatives: 24k freed<br>[ 0.098812] Brought up 1 CPUs<br>[ 0.098873] devtmpfs: initialized<br>[ 0.099027] regulator: core version 0.5<br>[ 0.099059] regulator: dummy: <br>[ 0.118929] Time: 165:165:165 Date: 165/165/65<br>[ 0.118989] NET: Registered protocol family 16<br>[ 0.119108] Brought up 1 CPUs<br>[ 0.119108] PCI: Fatal: No config space access function found<br>[ 0.119108] PCI: setting up Xen PCI frontend stub<br>[ 0.120308] bio: create slab <bio-0> at 0<br>[
0.120355] ACPI: Interpreter disabled.<br>[ 0.120403] suspend: event channel 6<br>[ 0.120403] xen_mem: Initialising balloon driver.<br>[ 0.120403] SCSI subsystem initialized<br>[ 0.120403] vgaarb: loaded<br>[ 0.120403] PCI: System does not support PCI<br>[ 0.120403] PCI: System does not support PCI<br>[ 0.120403] NetLabel: Initializing<br>[ 0.120403] NetLabel: domain hash size = 128<br>[ 0.120403] NetLabel: protocols = UNLABELED CIPSOv4<br>[ 0.120403] NetLabel: unlabeled traffic allowed by default<br>[ 0.120403] Switching to clocksource xen<br>[ 0.121040] AppArmor: AppArmor Filesystem Enabled<br>[ 0.121046] pnp: PnP ACPI: disabled<br>[ 0.122338] NET: Registered protocol family 2<br>[ 0.122379] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)<br>[ 0.122379] TCP established hash table entries: 65536 (order: 7, 524288 bytes)<br>[ 0.122379] TCP bind hash table entries: 65536 (order: 7,
524288 bytes)<br>[ 0.122514] TCP: Hash tables configured (established 65536 bind 65536)<br>[ 0.122519] TCP reno registered<br>[ 0.122522] UDP hash table entries: 256 (order: 1, 8192 bytes)<br>[ 0.122528] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)<br>[ 0.122569] NET: Registered protocol family 1<br>[ 0.122603] Unpacking initramfs...<br>[ 0.138321] Freeing initrd memory: 19576k freed<br>[ 0.145576] platform rtc_cmos: registered platform RTC device (no PNP device found)<br>[ 0.145697] audit: initializing netlink socket (disabled)<br>[ 0.145713] type=2000 audit(1311096890.831:1): initialized<br>[ 0.170606] VFS: Disk quotas dquot_6.5.2<br>[ 0.170629] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)<br>[ 0.170703] msgmni has been set to 265<br>[ 0.170847] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)<br>[ 0.170868] io scheduler noop registered<br>[ 0.170872] io
scheduler deadline registered<br>[ 0.170881] io scheduler cfq registered (default)<br>[ 0.171081] Non-volatile memory driver v1.3<br>[ 0.171086] Linux agpgart interface v0.103<br>[ 0.171186] Xen virtual console successfully installed as xvc0<br>[ 0.171258] Fixed MDIO Bus: probed<br>[ 0.171282] PNP: No PS/2 controller found. Probing ports directly.<br>[ 0.172123] i8042.c: No controller found.<br>[ 0.172170] mice: PS/2 mouse device common for all mice<br>[ 0.172295] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0<br>[ 0.172323] rtc_cmos: probe of rtc_cmos failed with error -38<br>[ 0.172466] TCP cubic registered<br>[ 0.172486] NET: Registered protocol family 10<br>[ 0.172685] lo: Disabled Privacy Extensions<br>[ 0.172815] Registering the dns_resolver key type<br>[ 0.172846] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5)<br>[ 0.172922] registered taskstats version 1<br>[ 0.172937] Magic
number: 1:252:3141<br>[ 0.172952] XENBUS: Device with no driver: device/vbd/2050<br>[ 0.172957] /usr/src/packages/BUILD/kernel-xen-2.6.37.6/linux-2.6.37/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)<br>[ 0.173004] Freeing unused kernel memory: 344k freed<br>[ 0.174096] Write protecting the kernel text: 4176k<br>[ 0.174769] Write protecting the kernel read-only data: 2796k<br>[ 0.215187] netfront: Initialising virtual ethernet driver.<br>[ 0.226035] register_blkdev: cannot get major 8 for sd<br>[ 0.226044] ------------[ cut here ]------------<br>[ 0.226052] WARNING: at /usr/src/packages/BUILD/kernel-xen-2.6.37.6/linux-2.6.37/lib/vsprintf.c:1293 vsnprintf+0x3dd/0x3f0()<br>[ 0.226058] Modules linked in: xenblk(+) cdrom xennet processor thermal_sys hwmon ata_generic<br>[ 0.226075] Pid: 11, comm: xenwatch Not tainted 2.6.37.6-0.5-xen #1<br>[ 0.226079] Call Trace:<br>[ 0.226091] [<c00098f3>]
try_stack_unwind+0x173/0x190<br>[ 0.226098] [<c0007b3f>] dump_trace+0x3f/0xe0<br>[ 0.226103] [<c000995b>] show_trace_log_lvl+0x4b/0x60<br>[ 0.226110] [<c0009988>] show_trace+0x18/0x20<br>[ 0.226118] [<c040b13c>] dump_stack+0x6d/0x72<br>[ 0.226127] [<c003adf8>] warn_slowpath_common+0x78/0xb0<br>[ 0.226133] [<c003ae4b>] warn_slowpath_null+0x1b/0x20<br>[ 0.226139] [<c01ed59d>] vsnprintf+0x3dd/0x3f0<br>[ 0.226146] [<c01ecd07>] pointer+0x1d7/0x260<br>[ 0.226171] [<c01ed338>] vsnprintf+0x178/0x3f0<br>[ 0.226177] [<c01f0327>] kvasprintf+0x27/0x60<br>[ 0.226182] [<c01f0371>] kasprintf+0x11/0x20<br>[ 0.226189] [<c02a43d6>] _dev_error+0x36/0xd0<br>[ 0.226196] [<c02a4666>] xenbus_dev_fatal+0x26/0x40<br>[ 0.226205] [<e10dd76d>] connect+0x26d/0x2e0 [xenblk]<br>[ 0.226215] [<c02a6cef>] otherend_changed+0x9f/0x120<br>[
0.226222] [<c02a4dba>] xenwatch_handle_callback+0x1a/0x60<br>[ 0.226229] [<c02a501f>] xenwatch_thread+0x17f/0x190<br>[ 0.226236] [<c0058e54>] kthread+0x74/0x80<br>[ 0.226243] [<c0006502>] kernel_thread_helper+0x6/0x10<br>[ 0.226249] ---[ end trace e4544fbf68dc1b63 ]---<br>[ 0.226254] vbd vbd-2050: 19 <br>[ 0.320035] XENBUS: Device not ready: device/vbd/2050<br>[ 0.328662] udev[66]: starting version 166<br>########################################################################</font><br></pre><font id="yiv35525715yui_3_2_0_8_1311101920778586" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876">
<br>
</span></font><div id="yiv35525715yui_3_2_0_8_13111019207781255"><font id="yiv35525715yui_3_2_0_8_1311101920778586" size="2"><span id="yiv35525715yui_3_2_0_8_131110192077876"><br></span></font></div><br id="yiv35525715yui_3_2_0_8_131110192077851"></div></div></div><div class="yiv35525715yui_3_2_0_8_131110192077852" id="yiv35525715yui_3_2_0_8_131110192077854" style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div id="yiv35525715yui_3_2_0_8_131110192077895" class="yiv35525715yui_3_2_0_8_131110192077857" style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font id="yiv35525715yui_3_2_0_8_13111019207781251" face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> puneeth <puneeth.poduri@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Rasika Karunathilaka <rasika.karunathilaka@yahoo.com><br><b><span style="font-weight: bold;">Sent:</span></b> Monday, 18 July
2011 7:27 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [one-users] onevm shows vm is running but it is not in xen<br></font><font size="2"><br>Hi,<br> ok firstly is the vm visible when you try xentop or xm list.<br>secondly no the vm is started automatically once we say submit.<br>the
reason its in a blocked state is because its booted and waiting for<br>an input (ie a login) please note the bolcked state in xen is not same<br>as that of opennebula. now i have a set of questions for you ?<br> 1. how are you trying to accesses the console of the deployed vm ?(i<br>know your trying through the command xm console <ID> but what is the ID<br>you are using is it the opennebula vm ID or the xen vm ID note they are<br>different.) -> are you trying a onevm id instead of xen id ??<br><br> 2. Have you written the script files required to take care of the<br>context variables ? (IE init.sh , rc.local(in your case)).please note<br>that rc.local should be present in the VM image inside the desiered<br>folder. and the init.sh should be present in the dom0 or your host<br>system. -> if this is not done you cant establish a network.<br><br> 3. do you have a virt-manager ? if you do can
you find the deployed vm<br>there ? ok please tell me the output of the following commands.<br> i. xm list <br> ii. onevm list<br> iii. xentop<br>--<br>regards<br>puneeth<br>On Mon, 2011-07-18 at 06:39 -0700, Rasika Karunathilaka wrote:<br>> Hi Team,<br>> I was able to create vm instance, and it was created successfully.<br>> Please find my vm template below. However I can't log in to the vm.<br>> when I try to get the console (xm console <id>) it provide following<br>> messages. Further vm is in blocked state. Please Help ! .. <br>> <br>> Why does it deploy, when I just used onevm create <VMTemplate> ,<br>> shouldn't it create the image only and not start it. I believe stating<br>> should come when we issue onevm deploy .
Highly appreciate you<br>> help on this. Kernel and Initrd on template is pointed to the same on<br>> Xen Host machine. <br>> <br>> <br>> <br>> Cheers !<br>> Rasika <br>> <br>> <br>> <br>> ############################ VM Template<br>> ##############################<br>> <br>> Name = Fed12<br>> CPU = 1<br>> MEMORY = 512<br>> OS = [<br>> KERNEL = "/boot/vmlinuz-2.6.37.1-1.2-xen",<br>> INITRD = "/boot/initrd-2.6.37.1-1.2-xen",<br>> ROOT =<br>> "/dev/disk/by-id/ata-Hitachi_HDS721680PLA380_PVE101Z7UGE1AM-part2 "<br>> ]<br>> <br>> DISK = [<br>> IMAGE_ID = "1"<br>> ]<br>> <br>> <br>> CONTEXT = [<br>> HOSTNAME
= "Fed12",<br>> USERNAME = "oneadmin",<br>> IP_PRIVATE = "$NIC[IP]",<br>> IP_GEN = "192.168.104.$VMID",<br>> FILES =<br>> "/vms_configuration/id_rsa.pub /vms_configuration/init.sh",<br>> TARGET = "hdb"<br>> ]<br>> <br>> <br>> ############################## Console messages<br>> #################################################<br>> <br>> <br>> <br>> 0.171869] PNP: No PS/2 controller found. Probing ports directly.<br>> [ 0.172713] i8042.c: No controller found.<br>> [ 0.172756]
mice: PS/2 mouse device common for all mice<br>> [ 0.172882] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as<br>> rtc0<br>> [ 0.172910] rtc_cmos: probe of rtc_cmos failed with error -38<br>> [ 0.173054] TCP cubic registered<br>> [ 0.173075] NET: Registered protocol family 10<br>> [ 0.173274] lo: Disabled Privacy Extensions<br>> [ 0.173405] Registering the dns_resolver key type<br>> [ 0.173436] libceph: loaded (mon/osd proto 15/24, osdmap 5/5 5/5)<br>> [ 0.173506] registered taskstats version 1<br>> [ 0.173522] Magic number: 1:252:3141<br>> [ 0.173537] XENBUS: Device with no driver: device/vbd/51712<br>> [ 0.173541] XENBUS: Device with no driver: device/vbd/832<br>> [<br>> 0.173545] /usr/src/packages/BUILD/kernel-xen-2.6.37.1/linux-2.6.37/drivers/rtc/hctosys.c:
unable to open rtc device (rtc0)<br>> [ 0.173592] Freeing unused kernel memory: 344k freed<br>> [ 0.174686] Write protecting the kernel text: 4176k<br>> [ 0.175358] Write protecting the kernel read-only data: 2792k<br>> [ 0.217635] netfront: Initialising virtual ethernet driver.<br>> [ 0.232769] xen-vbd: registered block device major 202<br>> [ 0.232795] blkfront: xvda: barriers enabled<br>> [ 0.234407] xvda: xvda1 xvda2<br>> [ 0.234661] Setting capacity to 8388610<br>> [ 0.234667] xvda: detected capacity change from 0 to 4294968320<br>> [ 0.234827] xen-vbd: registered block device major 3<br>> [ 0.234840] blkfront: hdb: barriers enabled<br>> [ 0.236238] hdb: unknown partition table<br>> [ 0.236355] Setting capacity to 736<br>>
[ 0.236360] hdb: detected capacity change from 0 to 376832<br>> [ 0.336171] udev[65]: starting version 166<br>> <br>> _______________________________________________<br>> Users mailing list<br>> <a rel="nofollow" ymailto="mailto:Users@lists.opennebula.org" target="_blank" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>> <a rel="nofollow" target="_blank" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br><br><br><br><br></font></div></div></div></div></div></body></html>