Nikita - Please see my response below

On 27/04/13 12:55 AM, "Prachi Damle" <prachi.da...@citrix.com> wrote:

>Not at the host level - we have balancing at cluster level  based on
>aggregate capacity of the cluster.
>But within one cluster, hosts get chosen either by 'random' or 'firstfit'
>or 'userdispering'. (value of the global config vm.allocation.algorithm)
>
>-Prachi
>
>-----Original Message-----
>From: Nikita Gubenko [mailto:nikita.gube...@gmail.com]
>Sent: Friday, April 26, 2013 12:06 PM
>To: users@cloudstack.apache.org
>Subject: Re: VM allocation scheduler
>
>So there is no feature like balanced distribution? For example when one
>host has 10 running VMs and second host has 0 running VMs I want
>scheduler to allocate new resources to the free host.


Nikita - This would be a good feature to have. Would you mind filing an
enhancement for the same in JIRA please ?
For now you can do any one of the following
1. live migrate the vms to the other host if you want to achieve balancing
or 
2. give hostid in the deployvm command if you want to send them to
particular hosts or
3. Use host tags to achieve balancing as well. Choose half the vms with
one tag and other with other tag and they will get to the host with the
same tag only.

>
>On Fri, Apr 26, 2013 at 10:47 PM, Prachi Damle
><prachi.da...@citrix.com>wrote:
>
>> ChunFeng, the tool looks cool, will try out.
>>
>> Nikita,
>>
>> As ChunFeng explained in the test results, random algorithm will
>> choose host randomly - it is not same as choosing host in round-robin
>>fashion.
>> Thus you may not see a balanced distribution - but you will always see
>> the randomness as demonstrated by your tests.
>>
>> If you want a balanced distribution, user-dispersing can help - but it
>> will ensure the VM dispersion only within  a given account.
>> So if you have more than one account, then VMs may not be distributed
>> evenly.
>>
>> Hope this helps.
>>
>> -Prachi
>>
>> -----Original Message-----
>> From: ChunFeng [mailto:chunf...@domolo.com]
>> Sent: Wednesday, April 24, 2013 10:51 PM
>> To: users
>> Subject: Re: VM allocation scheduler
>>
>> hi,Prasanna
>>
>>
>>     Yes , the tool can redirect the raw vmops.log file to browser
>> real-time and progress like the console log .
>>
>>
>>    As you know , this tool just used for debug purpose , so I remove
>> some parts which no use when debug time , such as :
>>
>>
>>     before raw format in console :
>> 2013-04-25 14:24:26,344 DEBUG
>> [network.router.VirtualNetworkApplianceManagerImpl]
>> (RouterStatusMonitor-1:null) Found 1 routers.
>>
>>
>>
>>     after , in browser :
>>  [VirtualNetworkApplianceManagerImpl] Found 1 routers.
>>
>>
>>
>>   1. remove timestamp
>>   2. remove the java package
>>   3. remove the thread info
>>
>>
>>     This tool I write and tested in Centos , but it's binary
>> compatible , you can use it in Ubuntu  too .
>>
>>
>>     I will update it in near future for support directly show log
>> result in console too .
>>
>>
>> ------------------
>>
>>
>> Regards,
>>
>>
>> ChunFeng
>>
>>
>>
>>
>> ------------------ Original ------------------
>> From:  "Prasanna Santhanam"<t...@apache.org>;
>> Date:  Thu, Apr 25, 2013 02:10 PM
>> To:  "users"<users@cloudstack.apache.org>;
>>
>> Subject:  Re: VM allocation scheduler
>>
>>
>> On Thu, Apr 25, 2013 at 01:35:18PM +0800, ChunFeng wrote:
>> >
>> >     In order to let me observe the whole process more easily , I use
>> > a
>> log tools  which can redirect the raw log to browser ,  download from
>> >     http://www.cloudstack-china.org/2012/12/1531.html
>> >
>> http://www.cloudstack-china.org/wp-content/plugins/download-monitor/do
>> wnload.php?id=25
>>
>> This is quite cool. Does the browser log roll-over and progress too
>> like the console log?
>>
>> --
>> Prasanna.,
>>
>> ------------------------
>> Powered by BigRock.com
>>
>
>
>
>--
>Best Regards, Nikita Gubenko

Reply via email to