Re: Help In Launch instance Schedule policy

2013-11-27 Thread Yitao Jiang
Hi , I work with 4.1.0.And now i find out how it working. The two classes only override the needed methods, and other logics are handled by method in FirstFit class. The plan method of FirstFit class call different method according algorithms configured by global configuration. Thanks, Yitao

Re: Help In Launch instance Schedule policy

2013-11-26 Thread Prachi Damle
Hi Yitao, Which version of CloudStack are you working with? That will determine the configuration needed. The UserDispersing and UserConcentrated extend the FirstFit and just override the methods that decide the order of clusters to be considered for searching the resources, based on their res

Re: Help In Launch instance Schedule policy

2013-11-26 Thread Yitao Jiang
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 FirstFit

Re: Help In Launch instance Schedule policy

2013-11-23 Thread Yitao Jiang
Hi Prachi, that is exactly what I looking for. Thank you. On 2013-11-23, at 4:13, Prachi Damle wrote: > 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 o

RE: Help In Launch instance Schedule policy

2013-11-22 Thread Prachi Damle
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+Dep