cloudstack/api/src/com/cloud
prachi 313e6ca284 Bug 8791 user dispersing allocator
Changes:
- Added a two new deployment planners  'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.

'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.

'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
..
acl * Introduced aclType parameter for createNetwork command (can hold 2 values now: Account and Domain). This parameter defines the access control type to the network object. If it's account - 2011-11-10 18:34:56 -08:00
agent/api bug 11817: NAAS external network device support 2011-11-15 12:18:59 -08:00
alert api refactoring 2010-11-21 12:00:21 -08:00
api Default gateway service to sourceNat service in the API 2011-11-17 16:28:10 -08:00
async bug 6745: Using UUID instead of integers - for Async Jobs 2011-11-03 07:33:58 -07:00
capacity bug 10893: Adding a new capacity type - Local Primary storage. 2011-10-27 11:22:18 +05:30
cluster bug 9127: intermediate checkin for agent load balancer 2011-05-24 18:45:00 -07:00
configuration Intermidiate checkin to Project feature: 2011-09-20 18:35:28 -07:00
consoleproxy api refactoring 2010-11-21 12:00:21 -08:00
dao api refactoring 2010-11-21 12:00:21 -08:00
dc changes to Create Vlan & Public IPs 2011-10-31 09:53:25 -07:00
deploy Bug 8791 user dispersing allocator 2011-11-17 18:29:39 -08:00
domain More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project 2011-10-05 13:24:25 -07:00
event bug 11817: NAAS external network device support 2011-11-15 12:18:59 -08:00
exception 1) Added resource limits for the Projects - the same as for the account 2011-09-21 17:09:49 -07:00
host Bug 11522 - New agent manager 2011-10-24 16:49:32 -07:00
hypervisor 1) Removed tags from the network object 2011-11-01 17:42:06 -07:00
network Call implement() and shutdown() methods for providers only when the provider serves a service for the network 2011-11-17 13:53:53 -08:00
offering Removed unsupported state from the network offering 2011-11-16 17:22:07 -08:00
org bug 10197: 2011-07-19 15:49:48 -07:00
projects bug 6745: Using UUID instead of integers - for all commands 2011-11-03 07:34:00 -07:00
resource Merge complete except for virtualnetworkappliancemanager 2011-11-10 15:18:16 -08:00
serializer bug 3179: added "count" parameter to the response to all List* api commands 2011-04-01 19:29:08 -07:00
server bug 10848: ListCapacity - Full rework. This fixes the pagination logic and the capacities are visible till the cluster level. 2011-10-27 11:18:56 +05:30
storage bug 10330: refactor storage code befor merge clvm code 2011-10-31 20:25:26 -07:00
template More stuff to Projects feature - added support for adding resources (vms, templates, isos) to the project 2011-10-05 13:24:25 -07:00
user Bug 11313 - Add an account param/detail/map in the XXXAccount API calls 2011-11-07 14:24:36 -08:00
uservm bug 8962: moving vm from one account to other 2011-06-09 15:02:47 +05:30
vm Merge complete except for virtualnetworkappliancemanager 2011-11-10 15:18:16 -08:00