watcher/doc/source/strategies/uniform_airflow.rst
Yumeng_Bao bbfd6711fc Modify display_name in strategy documentation
Display_name in documentation of each strategy should be like[1].
[1]:https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/strategies/workload_balance.py#L143

Change-Id: I31b16dbb81d824e0189fcf96ea7f6e57a289e59a
2017-09-01 14:48:23 +08:00

3.1 KiB

Uniform Airflow Migration Strategy

Synopsis

display name: Uniform airflow migration strategy

goal: airflow_optimization

watcher.decision_engine.strategy.strategies.uniform_airflow

Requirements

This strategy has a dependency on the server having Intel's Power Node Manager 3.0 or later enabled.

Metrics

The uniform_airflow strategy requires the following metrics:

metric service name plugins comment

hardware.ipmi.node.airflow hardware.ipmi.node.temperature hardware.ipmi.node.power

ceilometer ceilometer ceilometer

IPMI IPMI IPMI

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

Planner

Default Watcher's planner:

watcher.decision_engine.planner.weight.WeightPlanner

Configuration

Strategy parameters are:

parameter type default Value description

threshold_airflow

Number

400.0

Airflow threshold for migration Unit is 0.1CFM

threshold_inlet_t

Number

28.0

Inlet temperature threshold for migration decision

threshold_power

Number

350.0

System power threshold for migration decision

period

Number

300

Aggregate time period of ceilometer

Efficacy Indicator

None

Algorithm

For more information on the Uniform Airflow Migration Strategy please refer to: https://specs.openstack.org/openstack/watcher-specs/specs/newton/implemented/uniform-airflow-migration-strategy.html

How to use it ?

$ openstack optimize audittemplate create \
  at1 airflow_optimization --strategy uniform_airflow

$ openstack optimize audit create -a at1 -p threshold_airflow=410 \
       -p threshold_inlet_t=29.0 -p threshold_power=355.0 -p period=310