Sure.
On Thu, Apr 25, 2013 at 3:54 AM, ChunFeng <chunf...@domolo.com> wrote: > hi, Nikita Gubenko > > > The configuration of HostAllocator node in your components.xml is ok. > > > Btw, did you restart management server after you changed the > vm.allocation.algorithm value in global configuration and before create > your user VM instance ? > > > ------------------ > > > Regards, > > > ChunFeng > > > > ------------------ Original ------------------ > From: "Nikita Gubenko"<nikita.gube...@gmail.com>; > Date: Wed, Apr 24, 2013 10:04 PM > To: "users"<users@cloudstack.apache.org>; > > Subject: Re: VM allocation scheduler > > > I have this > <adapters key="com.cloud.agent.manager.allocator.HostAllocator"> > <adapter name="FirstFitRouting" > class="com.cloud.agent.manager.allocator.impl.FirstFitRoutingAllocator"/> > <!--adapter name="FirstFitRouting" > class="com.cloud.agent.manager.allocator.impl.RecreateHostAllocator"/--> > <!--adapter name="FirstFit" > class="com.cloud.agent.manager.allocator.impl.FirstFitAllocator"/--> > </adapters> > > at /usr/src/apache-cloudstack-4.0.1-incubating-src/client/tomcatconf/ > components.xml.in > How should I change this to get balanced/random distribution? > Thanks > > > On Wed, Apr 24, 2013 at 5:54 PM, ChunFeng <chunf...@domolo.com> wrote: > > > hi, Nikita Gubenko > > > > > > When using random allocation algorithm to deploy VNs to hosts in > > cluster , as we expected , should make a balanced distribution . > > > > > > In your cluster the VMs distribution was 14:6 , though the total > > numbers of VMs is fewer , but make some sense. > > > > > > I think you should check the adapters item in components.xml file in > > which HostAllocator using . > > > > > > <adapters > > key="com.cloud.agent.manager.allocator.HostAllocator"> > > > > > > > > > > > > Regards, > > > > > > ChunFeng > > > > > > > > > > > > > > > > > > > > ------------------ Original ------------------ > > From: "Nikita Gubenko"<nikita.gube...@gmail.com>; > > Date: Wed, Apr 24, 2013 04:24 AM > > To: "users"<users@cloudstack.apache.org>; > > > > Subject: VM allocation scheduler > > > > > > Hi > > I have cluster with two xenserver hosts in it. vm.allocation.algorithm is > > set to random. When I try to create 20 vms the allocation algorithm works > > strange - it allocates 14 one host (where console proxy + ssvm also) and > 6 > > to other host (+VR). Should it work like that? > > > > > > Thanks > > -- > > Best Regards, Nikita Gubenko > > > > > > -- > Best Regards, Nikita Gubenko > -- Best Regards, Nikita Gubenko