Hi, Prachi, I followed the directions of above link , and configure vm.allocation.algorithm to userconcentratedpod_random. But it seems does't work. Through the codes about the deployment plan, i found that the algorithms of UserDispersingPlanner and UserConcentratedPodPlanner all extends FirstFitPlanner, but neither implement the method of plan, which actually works for deciding where to deploy a vm, so no matter what algorithms i used, it all use the algorithm of firstfit algorithm, cause it implement the plan method. Is this a bug or developer should implement this method, or did i miss something in the global configuration ?
2013/11/23 Prachi Damle <prachi.da...@citrix.com> > Hi Yitao, > > CloudStack scheduling policies are implemented by the DeploymentPlanner > and HostAllocator/StoragePoolAllocator components. > If you want to take a look at the source code of these components, this > will tell you where to look: > https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Deployment+Planning+and+Resource+Allocation > > These components implement the Adapter interface of CloudStack - so you > can provide your own implementation and plug it in to be used for VM > deployment. Let me know if you face any questions on this. > > Thanks, > Prachi > -----Original Message----- > From: Yitao Jiang [mailto:willier...@gmail.com] > Sent: Thursday, November 21, 2013 10:11 PM > To: dev@cloudstack.apache.org > Subject: Help In Launch instance Schedule policy > > Hi, > > I was looking for some help in launching instance using some schedule > policies. > I know that Openstack allow developers write their own policy .So I guess > cloudstack support maybe that .Since i am just started developing it , i'll > be really appreciate someone can tell me where i can write it using some > policy, such as according to the weight of each host, or RoundRobin. > -- > > Best regards, > > Yitao Jiang > -- Best regards, Yitao Jiang