[one-users] Deploy VM on hold state

Antonio Carlos Salzvedel Furtado Junior acsfj08 at inf.ufpr.br
Wed Apr 4 09:23:04 PDT 2012


Thanks Manuel,

It really works. I've never used the REQUIREMENTS expression before, but
I'd read about it on the documentation. It didn't occur to me that this
parameter could solve the problem. I'm going to add it to my template.


Cordially,
Antonio Carlos

On Tue, Apr 3, 2012 at 4:04 PM, Manuel Peuster <manuel at peuster.de> wrote:

> Hello Antonio,
>
> I also tried to hold a VM directly after it is allocated to prevent it
> from scheduling. But this dosen't work very good for me.
>
> I have used a trick to keep VMs in "pending" state to perform the
> deployment action manually. So no hold is needed.
>
> Just add 'REQUIREMENTS = "FALSE"' to a VM template that should not
> automatically be deployed. This will cause the scheduler to ignore it.
>
> But for this solution you will unfortunately<http://www.dict.cc/englisch-deutsch/unfortunately.html> need
> different templates for your  different "groups" of VMs .
>
> Regards, Manuel
>
>
> On 02.04.2012, at 23:21, Antonio Carlos Salzvedel Furtado Junior wrote:
>
> Hello Opennebula users,
>
> I was reading the OpenNebula documentation, and there is the following
> statement about the Hold state:
> "The owner has held the VM and it will not be scheduled until it is
> released. It can be, however, deployed manually."
>
>
> I'm trying to deploy a VM on hold, but I get the message
> "[VirtualMachineDeploy] Wrong state to perform action".
> Currently, I'm only being able to deploy pending VMs. I don't have a RANK
> policy because I just want the manual deployment.
>
> I'm also a bit confused because the documentation refers to this diagram:
> http://opennebula.org/_detail/documentation:rel3.0:states-complete.png
> It does not show that it is possible to deploy from Hold.
>
> There is only a group of VMs that I don't want to be scheduled, so I'm
> using the same template for them. If I don't hold them, will the scheduler
> try to deploy?
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120404/8941c0f0/attachment-0003.htm>


More information about the Users mailing list