109 lines
2.9 KiB
Plaintext
109 lines
2.9 KiB
Plaintext
[DEFAULT]
|
|
|
|
#
|
|
# Options defined in nova.scheduler.manager
|
|
#
|
|
|
|
# Default driver to use for the scheduler (string value)
|
|
scheduler_driver=nova.scheduler.solver_scheduler.ConstraintSolverScheduler
|
|
|
|
#
|
|
# Options defined in nova.scheduler.filters.core_filter
|
|
#
|
|
|
|
# Virtual CPU to physical CPU allocation ratio which affects
|
|
# all CPU filters. This configuration specifies a global ratio
|
|
# for CoreFilter. For AggregateCoreFilter, it will fall back
|
|
# to this configuration value if no per-aggregate setting
|
|
# found. This option is also used in Solver Scheduler for the
|
|
# MaxVcpuAllocationPerHostConstraint (floating point value)
|
|
cpu_allocation_ratio=16.0
|
|
|
|
#
|
|
# Options defined in nova.scheduler.filters.disk_filter
|
|
#
|
|
|
|
# Virtual disk to physical disk allocation ratio (floating
|
|
# point value)
|
|
disk_allocation_ratio=1.0
|
|
|
|
#
|
|
# Options defined in nova.scheduler.filters.num_instances_filter
|
|
#
|
|
|
|
# Ignore hosts that have too many instances (integer value)
|
|
max_instances_per_host=50
|
|
|
|
#
|
|
# Options defined in nova.scheduler.filters.io_ops_filter
|
|
#
|
|
|
|
# Ignore hosts that have too many
|
|
# builds/resizes/snaps/migrations. (integer value)
|
|
max_io_ops_per_host=8
|
|
|
|
#
|
|
# Options defined in nova.scheduler.filters.ram_filter
|
|
#
|
|
|
|
# Virtual ram to physical ram allocation ratio which affects
|
|
# all ram filters. This configuration specifies a global ratio
|
|
# for RamFilter. For AggregateRamFilter, it will fall back to
|
|
# this configuration value if no per-aggregate setting found.
|
|
# (floating point value)
|
|
ram_allocation_ratio=1.5
|
|
|
|
#
|
|
# Options defined in nova.scheduler.weights.ram
|
|
#
|
|
|
|
# Multiplier used for weighing ram. Negative numbers mean to
|
|
# stack vs spread. (floating point value)
|
|
ram_weight_multiplier=1.0
|
|
|
|
#
|
|
# Options defined in nova.volume.cinder
|
|
#
|
|
|
|
# Keystone Cinder account username (string value)
|
|
cinder_admin_user=<None>
|
|
|
|
# Keystone Cinder account password (string value)
|
|
cinder_admin_password=<None>
|
|
|
|
# Keystone Cinder account tenant name (string value)
|
|
cinder_admin_tenant_name=service
|
|
|
|
# Complete public Identity API endpoint (string value)
|
|
cinder_auth_uri=<None>
|
|
|
|
|
|
[solver_scheduler]
|
|
|
|
#
|
|
# Options defined in nova.scheduler.solver_scheduler
|
|
#
|
|
|
|
# The pluggable solver implementation to use. By default, a
|
|
# reference solver implementation is included that models the
|
|
# problem as a Linear Programming (LP) problem using PULP.
|
|
# To use a fully functional (pluggable) solver, set the option as
|
|
# "nova.scheduler.solvers.pluggable_hosts_pulp_solver.HostsPulpSolver"
|
|
# (string value)
|
|
scheduler_host_solver=nova.scheduler.solvers.pluggable_hosts_pulp_solver.HostsPulpSolver
|
|
|
|
|
|
#
|
|
# Options defined in nova.scheduler.solvers
|
|
#
|
|
|
|
# Which constraints to use in scheduler solver (list value)
|
|
scheduler_solver_constraints=ActiveHostConstraint, NonTrivialSolutionConstraint
|
|
|
|
# Assign weight for each cost (list value)
|
|
scheduler_solver_cost_weights=RamCost:1.0
|
|
|
|
# Which cost matrices to use in the scheduler solver.
|
|
# (list value)
|
|
scheduler_solver_costs=RamCost
|