[one-users] ubuntu front end and openSUSE node
Shi Jin
jinzishuai at yahoo.com
Tue Jun 16 08:29:19 PDT 2009
Following your instructions, I have
seki at frontend:/usr/lib/one/im_probes$ tail *.rb -n 1
==> kvm.rb <==
puts "HYPERVISOR=KVM"
==> xen.rb <==
puts "HYPERVISOR=Xen"
And in my template, I have
REQUIREMENTS= [
HYPERVISOR= "Xen"
]
in xen template and
REQUIREMENTS= [
HYPERVISOR="KVM"
]
in the KVM template.
However, the proper nodes are still not used.
Could you please give some more help here?
Thanks a lot.
Shi
PS. I've been able to run WinXP VM on Xen nodes now by putting
RAW = [type="xen",data='builder="hvm"']
in the template.
Thanks.
--
Shi Jin, PhD
--- On Mon, 6/15/09, Ruben S. Montero <rubensm at dacya.ucm.es> wrote:
> From: Ruben S. Montero <rubensm at dacya.ucm.es>
> Subject: Re: [one-users] ubuntu front end and openSUSE node
> To: "Shi Jin" <jinzishuai at yahoo.com>
> Cc: users at lists.opennebula.org, jinzishuai at gmail.com
> Date: Monday, June 15, 2009, 7:32 AM
> Hi,
>
> We are using the same images (disks) for both hypervisors.
> Anyway you
> can add any attribute to the hosts. For example, add
>
> pust "HYPERVISOR=Xen"
>
> to im_probes/xen.rb
>
> and
>
> pust "HYPERVISOR=KVM"
>
> to im_probes/kvm.rb
>
>
> Then you can use the new variable in the VM templates for
> the REQUIREMENTS
> attribute, like:
>
> REQUIREMENTS = HYPERVISOR = "Xen"
>
> Cheers
>
> Ruben
>
> On Sun, Jun 14, 2009 at 11:28 PM, Shi Jin <jinzishuai at yahoo.com>
> wrote:
> >
> > Hi,
> >
> > I have another question with regarding to this mixture
> of KVM and Xen nodes.
> > My understanding is that Xen takes partition image
> while KVM takes disk image. If my KVM intended template is
> sent to the Xen node, it is not going to work.
> > Therefore, I really want to be able to differentiate
> the two hypervisors while not limiting to a specific node.
> The way of specifying the hostname works but is not flexible
> enough. Is there a better way to do this?
> >
> > Thanks.
> > Shi
> >>
> >> If you are doing tests, the best thing to force
> the
> >> deployment in a
> >> Xen machine is either with
> >>
> >> REQUIREMENTS= HOSTNAME=<host_with_xen>
> >>
> >> or use the onevm deploy command
> >>
> >>
> >> Cheers
> >>
> >> Ruben
> >>
> >> On Thu, Jun 11, 2009 at 4:27 AM, Shi Jin<jinzishuai at yahoo.com>
> >> wrote:
> >> >
> >> > Hi there,
> >> >
> >> > I am having a bit wierd situation. I have an
> existing
> >> cluster all running Ubuntu 9.04 with KVM as the
> hypervisor.
> >> It works fine. Now I have a new node, which is
> running
> >> openSUSE 11.1 with Xen as the hypersivor. I think
> OpenNebula
> >> supports both and the drivers can be loaded
> together.
> >> However, I am unable to get VMs running on the new
> OpenSUSE
> >> node. The node is added without any problem. If
> I remove
> >> all other nodes, the newly created VM will always
> be in the
> >> "Pending" state. I am wondering what could be
> wrong in my
> >> setup and how I can debug this. Right now, other
> than
> >> finding the pending state, the /var/log/one log
> files does
> >> not give me much information.
> >> >
> >> > Also, in the template file, do I need to
> specify
> >> whether I want the hypervisor to be KVM or Xen?
> How do I do
> >> that if I want to?
> >> >
> >> > Thank you very much.
> >> > --
> >> > Shi Jin, PhD
> >> >
> >> >
> >> >
> >> >
> _______________________________________________
> >> > Users mailing list
> >> > Users at lists.opennebula.org
> >> > http://lists.opennebula.org/listinfo.cgi/users-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
> >>
> +---------------------------------------------------------------+
> >>
> >
> >
> >
> >
>
>
>
> --
> +---------------------------------------------------------------+
> 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