Thanks Manuel,<br><br>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.<br>

<br><br>Cordially,<br>Antonio Carlos<br><br><div class="gmail_quote">On Tue, Apr 3, 2012 at 4:04 PM, Manuel Peuster <span dir="ltr"><<a href="mailto:manuel@peuster.de">manuel@peuster.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="word-wrap:break-word"><div class="im">Hello Antonio,<div><br></div><div>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.</div>

<div><br></div><div>I have used a trick to keep VMs in "pending" state to perform the deployment action manually. So no hold is needed.</div><div><br></div><div>Just add 'REQUIREMENTS = "FALSE"' to a VM template that should not automatically be deployed. This will cause the scheduler to ignore it.</div>

<div><br></div><div>But for this solution you will <a href="http://www.dict.cc/englisch-deutsch/unfortunately.html" style="color:black;text-decoration:none;font-family:arial,helvetica,sans-serif;font-size:13px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">unfortunately</a> need different templates for your  different "groups" of VMs .</div>

<div><br></div><div>Regards, Manuel</div><div><br></div><div><br></div></div><div><div class="im"><div>On 02.04.2012, at 23:21, Antonio Carlos Salzvedel Furtado Junior wrote:</div><br></div><blockquote type="cite"><div><div>

</div><div class="h5">Hello Opennebula users,<br><br>I was reading the OpenNebula documentation, and there is the following statement about the Hold state:<br>"The owner has held the VM and it will not be scheduled until it is released. It can be, however, deployed manually."<br>



<br><br>I'm trying to deploy a VM on hold, but I get the message "[VirtualMachineDeploy] Wrong state to perform action".<br>Currently, I'm only being able to deploy pending VMs. I don't have a RANK policy because I just want the manual deployment.<br>



<br>I'm also a bit confused because the documentation refers to this diagram: <a href="http://opennebula.org/_detail/documentation:rel3.0:states-complete.png" target="_blank">http://opennebula.org/_detail/documentation:rel3.0:states-complete.png</a><br>



It does not show that it is possible to deploy from Hold.<br><br>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?<br>



<br><br><br><br></div></div><div class="im">
_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>

</div></blockquote></div><br></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>