<div dir="ltr"><div><div><div><div><div><div>Hi All,<br><br></div>I am not sure how quantum is responsible for figuring out the compute-host(as per your discussion).<br><br></div>All I knew is that its nova-scheduler whose job is to figure out which compute node should be used for bringing up the instances. Correct me if I am wrong.<br>
<br></div>@Piotr: Each nova-compute node keeps on updating nova-scheduler about the amount of RAM + vCPUs it has. Basic nova-scheduler checks which host has the maximum free RAM at that moment and launches the instance on that host. In your case, all your instances would be coming on single compute node since it would be having the max RAM even after the launch of 'n' instances. The moment its free RAM becomes less than that of other compute-node, next instance will be launched on the other node.<br>
<br></div>To know more about it, you can have a look at nova-scheduler and its various configurations. <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/ch_scheduling.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/ch_scheduling.html</a><br>
<br></div>-Regards<br></div>Rahul Sharma <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 20, 2013 at 4:33 PM, Piotr Kopec <span dir="ltr"><<a href="mailto:pkopec17@gmail.com" target="_blank">pkopec17@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="ltr">Thanks for that Mahardhika,<div><br></div><div>I believe you but I still don't see where this options is specified. Could you tell me where can I find it? (I'm working on Grizzly now)</div>
<div>And another question: How can I configure quantum (because (correct me if i'm wrong) it is responsible for choosing compute node for instances) to distribute instances among compute nodes?</div>
<div><br></div><div>Any links with some explenation about that issue will be appreciated. Unfortunately <a href="http://doc.openstack.org" target="_blank">doc.openstack.org</a> doesn't explain a lot about that.</div>
<div><br></div><div>
Regards</div><span class="HOEnZb"><font color="#888888"><div>Piotr</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/20 Mahardhika Gilang <span dir="ltr"><<a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Tryin to answer here,<br>
Instance will build on compute node that have nova-compute and kvm
on it, and determining which is compute with quantum configuration
in sql_connection section.<div><div><br>
<br>
On 9/20/2013 4:41 PM, Piotr Kopec wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div>
<div dir="ltr">
<div>
<p style="margin:1.2em 0px!important">Hello folks,</p>
<p style="margin:1.2em 0px!important">I'm wondering how those
compute nodes are working in practice. End user will use
Dashboard for building instances.<br>
So I have deployed nova as follows:</p>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;white-space:pre-wrap;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block;padding:0.5em;color:rgb(51,51,51);background-color:rgb(248,248,255);background-repeat:initial initial">[root@ctlnode136 ~]# nova-manage service list
Binary Host Zone Status State Updated_At
nova-cert ctlnode136 internal enabled :-) 2013-09-20 09:34:04
nova-scheduler ctlnode136 internal enabled :-) 2013-09-20 09:34:04
nova-consoleauth ctlnode136 internal enabled :-) 2013-09-20 09:34:04
nova-conductor ctlnode136 internal enabled :-) 2013-09-20 09:33:58
nova-compute network nova enabled :-) 2013-09-20 09:34:01
nova-console ctlnode136 internal enabled :-) 2013-09-20 09:34:02
nova-compute compute nova enabled :-) 2013-09-20 09:34:01
nova-console compute internal enabled XXX 2013-09-20 09:32:20</code></pre>
<p style="margin:1.2em 0px!important">And each time when I‘m
creating instance from Dashboard it’s admin panel shows that
those instances live on “compute” host. Not even single
instance, created from Dashboard, live on (in my case)
“network” host.</p>
<p style="margin:1.2em 0px!important">Is there any way to
distribute equally among compute nodes instances created
from Dashboard?</p>
<p style="margin:1.2em 0px!important">Thanks for replies.</p>
<p style="margin:1.2em 0px!important">Piotr.</p>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
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>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>
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><font color="#888888">
</font></span></pre><span><font color="#888888">
</font></span></blockquote><span><font color="#888888">
<br>
<br>
<div>-- <br>
Regards,<br>
Mahardhika Gilang<br>
<br>
<strong>PT. Andalabs Technology
</strong><br>
Gedung Gravira<br>
Jl. Cideng Barat no. 54<br>
Jakarta Pusat 10150<br>
<br>
HP : 0852 139 55861<br>
Email : <a href="mailto:mahardika.gilang@andalabs.com" target="_blank">mahardika.gilang@andalabs.com</a> </div>
</font></span></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
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><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>