You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/07/17 17:23:09 UTC

[GitHub] nvazquez opened a new pull request #2189: CLOUDSTACK-10006: Internal DRS-like load balancing implementation for Vmware

nvazquez opened a new pull request #2189: CLOUDSTACK-10006: Internal DRS-like load balancing implementation for Vmware
URL: https://github.com/apache/cloudstack/pull/2189
 
 
   JIRA TICKET: https://issues.apache.org/jira/browse/CLOUDSTACK-10006
   
   ## Introduction
   One of the most useful features provided by Vmware is DRS (Distributed Resources Scheduler), whose main job is to load balance workload within clusters when needed (given a migration threshold). However, this feature is only available for Enterprise Plus licenses. We would like a way to provide a similar feature internal to CloudStack for those Vmware licenses which don't have DRS feature available.
   
   ## Usage
   This feature is disabled by default, it can be activated by switching global setting: `vmware.drs.internal.enabled` to `true` (management server restart is required).
   When feature is active, it would set a a thread per cluster which will execute every `vmware.drs.interval` seconds:
   
   - If cluster setting: `vmware.drs.internal.enabled = false` -> no action performed on cluster
   - If cluster setting: `vmware.drs.internal.enabled = true`:
      - Get cluster hosts statistics and calculate cluster imbalance
      - While cluster imbalance > `vmware.drs.threshold`:
         - If no good migration is found -> stop
         - If good migration is found -> it is added to the list of recommendations
   
   Good migration search works like this:
   - For each VM v:
      - For each host h that is not Source Host:
         - Simulate move v to h
         - Measure new cluster-wide load imbalance metric as g
   - Return move v that gives least cluster-wide imbalance g.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services