Hi Philippe,<div><br></div><div>The "onevm deploy" command will force the virtual machine deployment ignoring the scheduler decision, so that you have to specify the host where you want the virtual machine to be deployed.</div>


<div><br></div><div>If you want to use the cluster option, you have to specify the cluster name in the "REQUIREMENTS" section of the virtual machine template. This value will be used by the scheduler to choose a host of that cluster.</div>


<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><font face="'courier new', monospace">REQUIREMENTS = "CLUSTER = \"testing\""</font></blockquote>
<div><br><div>For more information</div><div>- REQUIREMENTS section: <a href="http://www.opennebula.org/documentation:rel2.0:template#placement_section" target="_blank">http://www.opennebula.org/documentation:rel2.0:template#placement_section</a></div>


<div>- Clusters and Hosts: <a href="http://www.opennebula.org/documentation:rel2.0:cluster_guide" target="_blank">http://www.opennebula.org/documentation:rel2.0:cluster_guide</a></div><div><br></div><div>Hope this helps.</div>

<div><br><br>
<div class="gmail_quote">On 15 December 2010 11:29, Philippe Berthault <span dir="ltr"><<a href="mailto:Philippe.Berthault@bull.net" target="_blank">Philippe.Berthault@bull.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello,<br>
<br>
The "onevm deploy" command requires two parameters : the vm and a host.<br>
<br>
I don't understand why it's mandatory to specify a host name when hosts are grouped into clusters. In this case, the "onevm deploy" command would accept a cluster name instead of a host name and OpenNebula would be able to choose the best host of this cluster to launch the virtual machine on it.<br>



<br>
If this functionnality will be available in a future version of OpenNebula ?<br>
<br>
Philippe.<br>
<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Molina, Cloud Technology Engineer/Researcher<br>DSA Research Group: web <a href="http://dsa-research.org" target="_blank">http://dsa-research.org</a> and blog <a href="http://blog.dsa-research.org" target="_blank">http://blog.dsa-research.org</a><br>


OpenNebula Open Source Toolkit for Cloud Computing: <a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a><br>
</div></div>