[one-users] How to deploy automatically in Hybird Model

Hector Sanjuan hsanjuan at opennebula.org
Mon Feb 6 03:57:20 PST 2012


Hello, you can add REQUIREMENTS in the VM template, so that it can only be  
deployed on a KVM host:

REQUIREMENTS = "HYPERVISOR=\"kvm\""

More info:

http://opennebula.org/documentation:rel3.2:template#requirement_expression_syntax

Hector

En Mon, 06 Feb 2012 04:06:00 +0100, Hoang Dinh Phuc <hdphuc at gmail.com>  
escribió:

> Hi all,
> I'm building a hybrid cloud computing model with OpenNebula.
>
>    - My private cloud is my data center with OpenNebula: KVM hypervisor.
>    - My public cloud is Amazon EC2 (added host EC2 to be managed by
>    OpenNebula)
>
> I've build VM Template with image OS: CentOS. And When I create new VM  
> with
> command:*
>
> $ onetemplate instantiate 1 -n "centos01"*
> It make an error b/c it automatically deploy to EC2 Host(Not KVM Host). I
> have to resubmit it and manually deploy to KVM host.
>
> Is there any way to automatically deploy to KVM host for this image ?
>
> Thanks


-- 
Hector Sanjuan
OpenNebula Developer



More information about the Users mailing list