[one-users] Using Images

Ruben S. Montero rubensm at dacya.ucm.es
Sun Nov 30 11:44:26 PST 2008


Hi,
	The goal of OpenNebula is to efficiently manage VMs on a set of distributed 
resources and so takes care of image movement and cloning, networking and 
interfacing with the underlying hypervisors like Xen, KVM or remote providers 
like EC2.  All of this with a uniform and centralized management interface.

In this way, a distributed management system leverages existing virtualization 
platforms to create a new virtualization layer that extends the classical 
benefits of virtualization to a distributed infrastructure, i.e. from server 
consolidation to infrastructure consolidation...

If you just have one physical server, OpenNebula does not make sense, you can 
just use the hypervisor of your choice. However, when you want to deploy  
several VMs on several servers you need something like OpenNebula (you do not 
need too many servers/VMs, about ten servers makes the management a nightmare, 
keep track of the MACs,  or the server where did you deploy each VM....)

For a more thorough description of benefits, please take a look at:

http://www.opennebula.org/doku.php?id=about

Also I'd recommend you to check our project FAQ:

http://www.opennebula.org/doku.php?id=faq

Cheers

Ruben




On Friday 28 November 2008 06:21:16 Himanshu Khona wrote:
> All -
> I went through the xen guide and livemigrate is a feature of Xen.
> Can someone please let me know the additional features which Opennebula
> provides?
> 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.
> I am sure the response will benefit everyone.
> Thanks,
> Himanshu
>
> On Thu, Nov 27, 2008 at 6:26 PM, Javier Fontan <jfontan at fdi.ucm.es> wrote:
> > Hello,
> >
> > Nice you found the problem!
> >
> > 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.
> >
> > Bye
> >
> > On Nov 26, 2008, at 12:49 PM, Himanshu Khona wrote:
> >
> > All -Just so that it benefits everyone. I managed to resolve the issue.
> > There is a new tty restriction which prevents from remote execution of
> > the commands in /tmp.
> > Comment the default required tty in /etc/sudoers.
> > Then it should start working.
> > 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?
> > Thanks,
> > Himanshu
> >
> > On Wed, Nov 26, 2008 at 1:45 PM, Himanshu Khona 
<himanshukhona at gmail.com>wrote:
> >> All -I am able to use the image using xen commands directly.
> >> I also tested the same commands as fired by opennebula to xen. It is
> >> able to create the image.
> >> Here is the detailed log -
> >> Wed Nov 26 08:01:55 2008 [VMM][I]: Copy success
> >> Wed Nov 26 08:01:55 2008 [VMM][I]: Setting credits for the VM
> >> 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
> >> Wed Nov 26 08:01:55 2008 [VMM][E]: Error deploying virtual machine:
> >> Unknown error
> >> Wed Nov 26 08:01:55 2008 [LCM][I]: Fail to boot VM.
> >> Wed Nov 26 08:01:55 2008 [DiM][I]: New VM state is FAILED
> >>
> >> When I try to execute the command above at one go, it gives following
> >> error -
> >>
> >> sudo /usr/sbin/xm create
> >> /opt/opennebula-server//var/8/images/deployment.0 \&\& sudo /usr/sbin/xm
> >> sched-cred -d one-8 -w 256
> >> Error: option -d not recognized
> >> Usage: xm create <ConfigFile> [options] [vars]
> >>
> >> If I execute the first command alone, xen does start up an image and
> >> puts in blocked mode.
> >> I am able to login to the image using its IP and run commands as well
> >> although status shows b.
> >> Please help!!
> >> Thanks,
> >> Himanshu
> >>
> >> On Wed, Nov 26, 2008 at 10:04 AM, Himanshu Khona
> >> <himanshukhona at gmail.com
> >>
> >> > wrote:
> >>>
> >>> Hi -I have downloaded image from the internet.
> >>> When I use the image, I get the following error in vm.log
> >>> Wed Nov 26 04:03:39 2008 [VMM][E]: Error deploying virtual machine:
> >>> Unknown error
> >>> Wed Nov 26 04:03:39 2008 [LCM][I]: Fail to boot VM.
> >>> Wed Nov 26 04:03:39 2008 [DiM][I]: New VM state is FAILED.
> >>>
> >>> Does anyone know of a working image that I can use? OR any other logs
> >>> which may be more informational?
> >>> Thanks,
> >>> Himanshu
> >>>
> >>> On Tue, Nov 25, 2008 at 11:38 PM, Javier Fontan 
<jfontan at fdi.ucm.es>wrote:
> >>>> Hello,
> >>>>
> >>>> On Nov 25, 2008, at 1:35 PM, Himanshu Khona wrote:
> >>>>
> >>>>  Hi -
> >>>>
> >>>>> I have opennebula configured and running with 2 nodes and 1 ONE
> >>>>> server. I am unable to deploy any VM on it.
> >>>>> I have the following questions -
> >>>>> 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.
> >>>>
> >>>> 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.
> >>>>
> >>>>  b) How do I give IP address to a VM?
> >>>>
> >>>>
> >>>> 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:
> >>>>
> >>>> http://opennebula.org/doku.php?id=documentation:howto_net
> >>>>
> >>>> Bye
> >>>>
> >>>> --
> >>>> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> >>>> DSA Research Group: http://dsa-research.org
> >>>> Globus GridWay Metascheduler: http://www.GridWay.org
> >>>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
> >
> > --
> > Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> > DSA Research Group: http://dsa-research.org
> > Globus GridWay Metascheduler: http://www.GridWay.org
> > OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org

-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7
             
 GridWay, http://www.gridway.org
 OpenNEbula, http://www.opennebula.org
+---------------------------------------------------------------+




More information about the Users mailing list