[
https://issues.apache.org/jira/browse/CLOUDSTACK-8266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328666#comment-14328666
]
Marcus Sorensen commented on CLOUDSTACK-8266:
---------------------------------------------
Hi, FYI I think the metrics you need are not in the DB but available live
already in StatsCollector. You can probably create a scheduled service that
pulls the current host stats from memory in StatsCollector variables and tracks
which ones are loaded for how long and redistributes load. I've looked into
implementing this myself and actually have a basic reporting service working
right now. It would be useful to implement different strategies, one to
distribute load, one to consolidate and save power, etc. You probably want to
start with writing up a functional spec (here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/4.6+Design+Documents)
that outlines the ideas in this ticket and starts to solidify an implementation
that the community agrees upon.
> Automatic workload Management in the clusters Managed by CloudStack for
> efficient host Management.
> --------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8266
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8266
> Project: CloudStack
> Issue Type: New Feature
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Hypervisor Controller, Management Server
> Affects Versions: 4.5.0
> Environment: Java, Linux, Hypervisor
> Reporter: Rajesh Battala
> Labels: gsoc2015
> Fix For: 4.5.0
>
>
> CloudStack manages hypervisor hosts as clusters. It will deploy the vm's to
> ensure proper hosts capacity are used max.
> Due to some operations by user on vm's like stop/migrate/destroy hosts usage
> in the clusters will be in inefficient state.
> To solve this issue we can have a new Manager who will regularly checks host
> capacity and implement Server Consolidtion by taking the actions:
> 1. Live migrate the vm's if possible along with storage. Migrate them such
> that hosts are fully utilized.
> 2. After redistributing the vm's Shutdown the hosts which are empty.
> 3. When load is getting increased,power-on the hosts remotely by WOL(Wake On
> Lan) mechanisam.
> This idea is discussed and presented in Collab Conference 2014.
> Here is the youtube link
> https://www.youtube.com/watch?v=hJKdZcSpGNQ
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)