<div dir="ltr">Thanks for the hint. I'll try it later.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 9:29 AM, Mike Wilson <span dir="ltr"><<a href="mailto:geekinutah@gmail.com" target="_blank">geekinutah@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>There is a scheduler hint called 'force_hosts' for this sort of thing. I believe the command line looks like this:</div>

<div><br></div><div>Nova boot <server_name> --hints force_hosts=host1 <everything else></div><div><br></div><div>Does that work for you?</div><div><br></div><div>This does not bypass the scheduler, but it is built into the scheduler to allow you to explicitly place new instances on a subset of hardware.</div>

<div><br></div><div>-Mike Wilson</div><div><br></div><div>Sent from my iPhone</div><div><div class="h5"><div><br>On Oct 16, 2013, at 6:35 PM, Li Ma <<a href="mailto:skywalker.nick@gmail.com" target="_blank">skywalker.nick@gmail.com</a>> wrote:<br>

<br></div><blockquote type="cite"><div><div dir="ltr">Hi all,<div><br></div><div>I encountered a problem with nova-scheduler. Given that I have 20 different compute nodes, I need to run several instances on a certain compute node for testing or verification. I go through all the scheduling algorithms and find out I can achieve this by availability zone.</div>



<div><br></div><div>But this is a little bit weird to create more than 20 availability zone with only one compute node temporarily. Is there any other solutions for this?</div><div><br></div><div>In my opinion, there should be a certain parameter with nova CLI to specify which compute node this instance should be placed directly without any scheduling. Using this method, I can bypass the scheduling options defined in the nova.conf and do what we want to meet the specific requirements. <br clear="all">



<div><br></div><div>Thanks,</div>-- <br><div dir="ltr">
<div>
<div>
<p style="text-align:left" align="left"><span style="color:silver;font-size:10pt" lang="EN-US"><font color="#000000">Li Ma (Nick)</font></span></p></div>
<div>
<p style="text-align:left" align="left"><span style="color:silver;font-size:10pt" lang="EN-US"><font color="#000000">Email: <a href="mailto:skywalker.nick@gmail.com" target="_blank">skywalker.nick@gmail.com</a></font></span></p>



</div></div></div>
</div></div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br>

<span>Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a></span><br><span>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br>

</div></blockquote></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
<div>
<div>
<p style="text-align:left" align="left"><span style="color:silver;font-size:10pt" lang="EN-US"><font color="#000000">Li Ma (Nick)</font></span></p></div>
<div>
<p style="text-align:left" align="left"><span style="color:silver;font-size:10pt" lang="EN-US"><font color="#000000">Architect of Stackinsider</font></span></p></div>
<div>
<p style="text-align:left" align="left"><span style="color:silver;font-size:10pt" lang="EN-US"><font color="#000000">Email: <a href="mailto:skywalker.nick@gmail.com" target="_blank">skywalker.nick@gmail.com</a></font></span></p>

</div></div></div>
</div>