[one-users] ubuntu front end and openSUSE node
Ruben S. Montero
rubensm at dacya.ucm.es
Mon Jun 15 04:32:02 PDT 2009
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