All -<br><div>I went through the xen guide and livemigrate is a feature of Xen.</div><div>Can someone please let me know the additional features which Opennebula provides?</div><div>Currently, it seems it is seems to be running xen commands using sudo. I don't see a big value add other then some ease of use.</div>
<div>I am sure the response will benefit everyone.</div><div>Thanks,</div><div>Himanshu<br><br><div class="gmail_quote">On Thu, Nov 27, 2008 at 6:26 PM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@fdi.ucm.es">jfontan@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;"><div style="word-wrap:break-word"><div><br></div><div>Hello,</div><div><br></div><div>Nice you found the problem!</div>
<div><br></div><div>It is not strange for a VM to be in blocked state. It just means that it that specific moment the VM is blocked. It can be blocked because it is idling, waiting for IO, other VM is using the processor, etc. The most common case is a VM in a machine with just one processor. When you issue xm list all the other VM's are in blocked state as dom-0 is using the processor in that very moment (executing xm info). I hope it clarifies the issue.</div>
<div><br></div><div>Bye</div><div><div></div><div class="Wj3C7c"><br><div><div>On Nov 26, 2008, at 12:49 PM, Himanshu Khona wrote:</div><br><blockquote type="cite">All -<div>Just so that it benefits everyone. I managed to resolve the issue.</div>
<div>There is a new tty restriction which prevents from remote execution of the commands in /tmp.</div><div>Comment the default required tty in /etc/sudoers.</div> <div>Then it should start working.</div><div>I had one more question, On the physical host when I run xm list, the vm status shows b stat instead of run even when I am logged in. Is there any reason for the same? Why is it in the blocked state? If so, how to unblock the same?</div>
<div>Thanks,</div><div>Himanshu</div><div><br><div class="gmail_quote">On Wed, Nov 26, 2008 at 1:45 PM, Himanshu Khona <span dir="ltr"><<a href="mailto:himanshukhona@gmail.com" target="_blank">himanshukhona@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All -<div>I am able to use the image using xen commands directly.</div><div>I also tested the same commands as fired by opennebula to xen. It is able to create the image.</div>
<div>Here is the detailed log -</div><div><div> Wed Nov 26 08:01:55 2008 [VMM][I]: Copy success</div><div>Wed Nov 26 08:01:55 2008 [VMM][I]: Setting credits for the VM</div><div>Wed Nov 26 08:01:55 2008 [VMM][I]: Command: sudo /usr/sbin/xm create /opt/opennebula-server//var/8/images/deployment.0 \&\& sudo /usr/sbin/xm sched-cred -d one-8 -w 256</div>
<div>Wed Nov 26 08:01:55 2008 [VMM][E]: Error deploying virtual machine: Unknown error</div><div>Wed Nov 26 08:01:55 2008 [LCM][I]: Fail to boot VM.</div><div>Wed Nov 26 08:01:55 2008 [DiM][I]: New VM state is FAILED</div>
<div><br></div><div>When I try to execute the command above at one go, it gives following error -<br></div><div><br></div><div>sudo /usr/sbin/xm create /opt/opennebula-server//var/8/images/deployment.0 \&\& sudo /usr/sbin/xm sched-cred -d one-8 -w 256</div>
<div>Error: option -d not recognized</div><div>Usage: xm create <ConfigFile> [options] [vars]</div><div><br></div><div>If I execute the first command alone, xen does start up an image and puts in blocked mode.</div>
<div>I am able to login to the image using its IP and run commands as well although status shows b.</div><div>Please help!!</div><div>Thanks,</div><div>Himanshu</div><div><div></div><div><div><br></div><div class="gmail_quote">
On Wed, Nov 26, 2008 at 10:04 AM, Himanshu Khona <span dir="ltr"><<a href="mailto:himanshukhona@gmail.com" target="_blank">himanshukhona@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi -<div>I have downloaded image from the internet. </div><div>When I use the image, I get the following error in vm.log</div> <div><div>Wed Nov 26 04:03:39 2008 [VMM][E]: Error deploying virtual machine: Unknown error</div>
<div>Wed Nov 26 04:03:39 2008 [LCM][I]: Fail to boot VM.</div><div>Wed Nov 26 04:03:39 2008 [DiM][I]: New VM state is FAILED.</div><div><br></div><div>Does anyone know of a working image that I can use? OR any other logs which may be more informational?</div>
<div>Thanks,</div><div>Himanshu</div></div><div><div></div><div><div><div class="gmail_quote">On Tue, Nov 25, 2008 at 11:38 PM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@fdi.ucm.es" target="_blank">jfontan@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"><br> Hello,<div><br> <br> On Nov 25, 2008, at 1:35 PM, Himanshu Khona wrote:<br> <br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi -<br> I have opennebula configured and running with 2 nodes and 1 ONE server.<br> I am unable to deploy any VM on it.<br> I have the following questions -<br> a) In the vm template, the disk image file is blank disk image created using dd or the linux image file to be made using xm commands.<br>
</blockquote> <br></div> The disk image needs to have a linux installed inside. You can do that using xen-tools commands, creating a new image and populating it with some working linux installation or downloading an already prepared image from internet. OpenNebula does not install the operating system into images.<div>
<br> <br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> b) How do I give IP address to a VM?<br> </blockquote> <br></div> You can preconfigure the OS image with a fixed IP or you can use a DHCP server. For DHCP you can follow instructions described at:<br>
<br> <a href="http://opennebula.org/doku.php?id=documentation:howto_net" target="_blank">http://opennebula.org/doku.php?id=documentation:howto_net</a><br> <br> Bye<br><font color="#888888"> <br> -- <br> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>
DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br> Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a><br> OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
<br> </font></blockquote></div><br></div> </div></div></blockquote></div><br></div></div></div> </blockquote></div><br></div></blockquote></div><br></div></div><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Monaco;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<div><div>-- <div class="Ih2E3d"><br>Javier Fontan, Grid & Virtualization Technology Engineer/Researcher<br>DSA Research Group: <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a><br>Globus GridWay Metascheduler: <a href="http://www.GridWay.org" target="_blank">http://www.GridWay.org</a> <br>
OpenNebula Virtual Infrastructure Engine: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a></div></div></div></div></span> </div><br></div></blockquote></div><br></div>