cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Gubenko <nikita.gube...@gmail.com>
Subject Re: VM allocation scheduler
Date Wed, 24 Apr 2013 14:04:49 GMT
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 <chunfeng@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.gubenko@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

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