Hi Haijiao, I would suggest you to update the documentation on this particular thing - it's a great way to contribute, considering documentation is always lagging somewhat behind the feature set in CloudStack ?
Best Andrija On Tue, 9 Apr 2019 at 10:24, Haijiao <18602198...@163.com> wrote: > Hi, Wei > > > You rock ! It's exactly what we want. > > > Would suggest community to update the 'deployment planner' part in the > doc, link to these 2 important global parameters. > > > Thanks again , Wei ! > > > > > > > 在2019年04月09 15时18分, "Wei ZHOU"<ustcweiz...@gmail.com>写道: > > Hi Haijiao, > > Try the following global configurations > > vm.allocation.algorithm = firstfitleastconsumed > host.capacityType.to.order.clusters = CPU (or RAM) > > -Wei > > > > > Haijiao <18602198...@163.com> 于2019年4月9日周二 上午8:48写道: > > > > > > > Even we have ran CloudStack for years,still not quite clear about how > > 'First Fit' method exactly works ? > > > > > > It's stated in http://docs.cloudstack.apache.org that if select 'First > > Fit' method in 'Deployment Planner', user shall 'places new VMs on the > > first host that is found having sufficient capacity to support the VM’s > > requirements.' > > > > > > The question is > > > > > > 1. in what order CloudStack checks hosts to find out who is capable > > to host the new VM ? > > 2. Is there a method ACS can create the new VM on the host which has > > less resource utilizatoin, e.g CPU or memory ? That would be particularly > > useful to balance the host resource utilization among hosts within same > > cluster. > > > > > > Regards, > > > > > > > > > > > > > -- Andrija Panić