watcher/doc/source/strategies/vm_workload_consolidation.rst
Bruno Grazioli 5c793894ab Add doc for vm_workload_consolidation strategy
This patch adds documentation on requirements for
vm_workload_consolidation strategy.

Change-Id: I304644138b34658b09f7cd8f29eb089757807b61
Closes-bug: #1640820
2016-11-16 09:26:31 +01:00

2.7 KiB

VM Workload Consolidation Strategy

Synopsis

display name: vm_workload_consolidation

goal: vm_consolidation

watcher.decision_engine.strategy.strategies.vm_workload_consolidation

Requirements

Metrics

The vm_workload_consolidation strategy requires the following metrics:

metric service name plugins comment

memory disk.root.size

ceilometer ceilometer

none none

The following metrics are not required but increase the accuracy of the strategy if available:

metric service name plugins comment

memory.usage cpu_util

ceilometer ceilometer

none none

Cluster data model

Default Watcher's Compute cluster data model:

watcher.decision_engine.model.collector.nova.NovaClusterDataModelCollector

Actions

Default Watcher's actions:

action description
migration

watcher.applier.actions.migration.Migrate

change_nova_service_state

watcher.applier.actions.change_nova_service_state.ChangeNovaServiceState

Planner

Default Watcher's planner:

watcher.decision_engine.planner.default.DefaultPlanner

Efficacy Indicator

watcher.decision_engine.goal.efficacy.specs.ServerConsolidation.get_global_efficacy_indicator

Algorithm

For more information on the VM Workload consolidation strategy please refer to: https://specs.openstack.org/openstack/watcher-specs/specs/mitaka/implemented/zhaw-load-consolidation.html

How to use it ?

$ openstack optimize audittemplate create \
  at1 vm_consolidation --strategy vm_workload_consolidation

$ openstack optimize audit create -a at1

Spec URL https://specs.openstack.org/openstack/watcher-specs/specs/mitaka/implemented/zhaw-load-consolidation.html