← Back to team overview

openstack team mailing list archive

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

 

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!

Follow ups