watcher.decision_engine.strategy.strategies.outlet_temp_control
Module¶Good Thermal Strategy
Towards to software defined infrastructure, the power and thermal intelligences is being adopted to optimize workload, which can help improve efficiency, reduce power, as well as to improve datacenter PUE and lower down operation cost in data center. Outlet (Exhaust Air) Temperature is one of the important thermal telemetries to measure thermal/workload status of server.
This strategy makes decisions to migrate workloads to the hosts with good thermal condition (lowest outlet temperature) when the outlet temperature of source hosts reach a configurable threshold.
watcher.decision_engine.strategy.strategies.outlet_temp_control.
OutletTempControl
(config, osc=None)[source]¶Bases: watcher.decision_engine.strategy.strategies.base.ThermalOptimizationBaseStrategy
[PoC] Outlet temperature control using live migration
Description
It is a migration strategy based on the outlet temperature of compute hosts. It generates solutions to move a workload whenever a server’s outlet temperature is higher than the specified threshold.
Requirements
hardware.ipmi.node.outlet_temperature
successfully.Limitations
Spec URL
choose_instance_to_migrate
(hosts)[source]¶Pick up an active instance to migrate from provided hosts
do_execute
()[source]¶Strategy execution phase
This phase is where you should put the main logic of your strategy.
filter_dest_servers
(hosts, instance_to_migrate)[source]¶Only return hosts with sufficient available resources
get_config_opts
()[source]¶Defines the configuration options to be associated to this loadable
Returns: | A list of configuration options relative to this Loadable |
---|---|
Return type: | list of oslo_config.cfg.Opt instances |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.