cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yitao Jiang <willier...@gmail.com>
Subject Re: Help In Launch instance Schedule policy
Date Wed, 27 Nov 2013 06:03:21 GMT
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.Damle@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:willierjyt@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message