← Back to team overview

openstack team mailing list archive

Re: could you give me some tips on the process of how to change the scheduler algorithm

 

I don't quite understand your question, but if what you want is
scheduler policy that always schedules instance to physical node has
least load (AMB # of vCPU), then SimpleScheduler is the answer.

Or, since you talked about 'process two command at the same time', are
you looking for a multprocess Nova API service? Like this
https://review.openstack.org/#/c/5762/ ?

On Mon, Jun 4, 2012 at 3:09 PM, 吴联盟 <wulianmeng4643639@xxxxxxx> wrote:
> hi,all
>
>  I want to change the default scheduling algorithm of nova, as follows:
>  when you use  command like this  euca-run-instances -k test -t m1.tiny
> ami-tiny -n1
>                          euca-run-instances -k test -t m1.small ami-small
> -n2
>   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 which is
> specified by the above commands at the same time on the physical machines so
> that we will get the least physical machines used.
>   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 ?
>
>
> Thanks a lot!
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Regards
Huang Zhiteng


References