Hi, thank you! Now it works perfect!
2012/10/4 Carlos Martín Sánchez <[email protected]> > Hi, > > The core automatically sets the CLUSTER requirement if the VM uses one of > the following: > - an Image stored in a Datastore assigned to a Cluster > - a VNet assigned to a Cluster > > You will need to add the Host to the Cluster, or use Images/Vnets > available to that Host. > > > By the way, I recommend to use NAME inside the requirements. This > attribute is the OpenNebula name for the Host, the one you see in > onehost/Sunstone. On the other hand, HOSTNAME is an attribute returned by > the monitorization probes, and it may not be the same as the Host NAME. > This will happen for example if you have an alias in /etc/hosts, or the > short vs FQDN... > > Regards > -- > Carlos Martín, MSc > Project Engineer > OpenNebula - The Open-source Solution for Data Center Virtualization > www.OpenNebula.org | [email protected] | > @OpenNebula<http://twitter.com/opennebula><[email protected]> > > > > On Thu, Oct 4, 2012 at 1:47 PM, Rainer Schubert < > [email protected]> wrote: > >> Hey André, >> >> the problem is, that I have a Cluster with the id 100, but the Host >> "MyHost" is not a member of it. So Opennebula will always try to deploy my >> VM on the cluster ID 100 to Host "MyHost" and have the pending mode. >> >> bye >> >> >> 2012/10/4 André Monteiro <[email protected]> >> >>> Hi Rainer, >>> >>> I never had this change on a template before, but maybe 100 is the >>> default cluster, even when it doesn't exist. >>> About the pending state, is the used capacity full? Force the deployment >>> on over-commit with the "Deploy" button on actions top right menu. >>> >>> -- >>> André Monteiro >>> >>> >>> >>> >>> On Thu, Oct 4, 2012 at 12:34 PM, Rainer Schubert < >>> [email protected]> wrote: >>> >>>> Hi André, >>>> >>>> thank you very much for your help. When I use: >>>> >>>> REQUIREMENTS="HOSTNAME = \"myhost\"" >>>> >>>> The created VM is still in pending mode. When I look into the >>>> Live-Template "VM Template" my option was supplemented with a cluster >>>> option: >>>> >>>> REQUIREMENTS CLUSTER_ID = 100 & ( HOSTNAME = "MyHost" ) >>>> >>>> My modified template under "virtual resources" look like this: >>>> >>>> >>>> REQUIREMENTS="HOSTNAME = \"MyHost\"" >>>> >>>> >>>> So, Sunstone put the Clusteroption in to REQUIREMENTS by himself? >>>> MyHost is not in any Cluster, that is a standalone server. >>>> >>>> best regards >>>> >>>> >>>> 2012/10/4 André Monteiro <[email protected]> >>>> >>>>> Hi, >>>>> >>>>> Just check the VM checkbox and select "Deploy" on the menu, the >>>>> existing hosts will appear to select where to deploy. >>>>> Also you can add on your template >>>>> >>>>> REQUIREMENTS="HOSTNAME = \"myhost\"" >>>>> >>>>> -- >>>>> André Monteiro >>>>> >>>>> >>>>> >>>>> >>>>> On Thu, Oct 4, 2012 at 12:01 PM, Rainer Schubert < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I want create a new VM, which will be deployed always on the same >>>>>> host? In Sunstone I can't find the option in the CREATE popup menu. Is >>>>>> there a way to deploy a VM alsowas on same Host? >>>>>> >>>>>> thank you >>>>>> >>>>>> _______________________________________________ >>>>>> Users mailing list >>>>>> [email protected] >>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>>>> >>>>>> >>>>> >>>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
