<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div>I don't really understand, what do you want to know about the amqp component ?</div><div>Regards,</div><div>Razique</div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co - Razique Mahroua</b></span><span class="Apple-style-span" style="color: rgb(19, 112, 138); font-family: Helvetica; "><b> </b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span><img height="125" width="125" id="0dfa94f5-2830-481b-8c10-e3036db9095d" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></div>
<br><div><div>Le 4 juin 2012 à 10:40, 吴联盟 a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Razique Mahroua,<div> Thanks a lot , I wonder whether somebody can do me any favor of the process of amqp,more exactly , how did the scheduler get the information from the message queue which came from the API module. <br><br><div></div><div id="divNeteaseMailCard"></div><br>At 2012-06-04 15:39:14,"Razique Mahroua" <<a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a>> wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hey,<div>Here is the algo page : </div><div><a href="http://nova.openstack.org/devref/filter_scheduler.html">http://nova.openstack.org/devref/filter_scheduler.html</a></div><div>The one that might interest you is that one :</div><div><a href="http://nova.openstack.org/api/nova.scheduler.filters.affinity_filter.html#nova.scheduler.filters.affinity_filter.SameHostFilter">http://nova.openstack.org/api/nova.scheduler.filters.affinity_filter.html#nova.scheduler.filters.affinity_filter.SameHostFilter</a> (Same Host Filter)<span class="Apple-tab-span" style="white-space:pre">   </span></div><div><a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/samehostfilter.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/samehostfilter.html</a></div><div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co - Razique Mahroua</b></span><span class="Apple-style-span" style="color: rgb(19, 112, 138); font-family: Helvetica; "><b> </b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span><span><NUAGECO-LOGO-Fblan_petit.jpg></span></span>
</span></div>
<br><div><div>Le 4 juin 2012 à 09:09, 吴联盟 a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi,all<div>   </div><div> I want to change the default scheduling algorithm of nova, as follows:</div><div> when you use  command like this  <span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: normal; "><i>euca-run-instances -k test -t m1.tiny ami-tiny -n1</i></span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: normal; "><i>                         </i></span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: normal; "><i>euca-run-instances -k test -t m1.small ami-small -n2</i></span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: normal; "> <b> </b>I want to process the two command at the same time(now it is treated separately,after the first command , the instance specified by the first command is running,and then the following command will be executed),I mean, to handle the information got from the commands at the same time. That is first to find the most reasonable host for each instance whatever it is from the first command or the second command ,and then create the instances on the hosts.More exactly, to find a way to locate the instances </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: 13px; line-height: normal; ">which is specified by the above commands at the same time on the physical machines so that </span><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: small; line-height: normal; ">we will get the least physical machines used.</span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: small; line-height: normal; ">  But now I am confused about the process with the command  from api to amqp to scheduler, I wonder whether anybody can give me  any help on that ?</span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: small; line-height: normal; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: small; line-height: normal; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(51, 51, 51); font-size: small; line-height: normal; ">Thanks a lot!</span></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></blockquote></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span></blockquote></div><br></div></body></html>