watcher/doc/source/strategies/basic-server-consolidation.rst
Alexander Chadin c7ec186576 Adapt watcher documentation for new standards
This patch set makes the following changes:

 * Add index file to each subdirectory of doc/source
 * Update doc/source/index.rst with new links
 * Move content of install-guide to the doc/source/install
 * Minor changes

Depends-On: Ifc5512c0e2373cf3387e0e0498268eab092e52bb
Change-Id: Iecb4f60efb015a56b9b37331859848b287112842
2017-07-04 15:49:24 +03:00

2.8 KiB

Basic Offline Server Consolidation

Synopsis

display name: basic

goal: server_consolidation

watcher.decision_engine.strategy.strategies.basic_consolidation

Requirements

Metrics

The basic strategy requires the following metrics:

metric service name plugins comment

compute.node.cpu.percent 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.weight.WeightPlanner

Configuration

Strategy parameter is:

parameter type default Value description

migration_attempts

Number

0

Maximum number of combinations to be tried by the strategy while searching for potential candidates. To remove the limit, set it to 0

period

Number

7200

The time interval in seconds for getting statistic aggregation from metric data source

Efficacy Indicator

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

How to use it ?

$ openstack optimize audittemplate create \
  at1 server_consolidation --strategy basic

$ openstack optimize audit create -a at1 -p migration_attempts=4

None.