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:[email protected]] Sent: Friday, April 26, 2013 12:06 PM To: [email protected] 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. On Fri, Apr 26, 2013 at 10:47 PM, Prachi Damle <[email protected]>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:[email protected]] > 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"<[email protected]>; > Date: Thu, Apr 25, 2013 02:10 PM > To: "users"<[email protected]>; > > 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
