openstack scheduler 配置参数说明


Table 5.23. Description of nova.conf file configuration options for schedulers that use algorithms to assign VM launch on particular compute hosts

Configuration option=Default value

(Type) Description

scheduler_host_manager=nova.scheduler.host_manager.HostManager

(StrOpt) The scheduler host manager class to use.

scheduler_max_attempts=3

(IntOpt) Maximum number of attempts to schedule an instance before giving up and setting the instance to error.

cpu_allocation_ratio=16.0

(FloatOpt) Virtual CPU to Physical CPU allocation ratio.

ram_allocation_ratio=1.5

(FloatOpt) virtual ram to physical ram allocation ratio.

reserved_host_disk_mb=0

(IntOpt) Amount of disk in MB to reserve for host/dom0.

reserved_host_memory_mb=512

(IntOpt) Amount of memory in MB to reserve for host/dom0.

scheduler_available_filters=nova.scheduler.filters.all_filters

(MultiStrOpt) Filter classes available to the scheduler which may be specified more than once. An entry of "nova.scheduler.filters.all_filters" maps to all filters included with nova.

scheduler_default_filters=AvailabilityZoneFilter,RamFilter,ComputeFilter

(ListOpt) Which filter class names to use for filtering hosts when not specified in the request.

compute_fill_first_cost_fn_weight=-1.0

(FloatOpt) How much weight to give the fill-first cost function. A negative value will reverse behavior: e.g. spread-first.

retry_host_cost_fn_weight=1.0

(FloatOpt) How much weight to give the retry host cost function. A negative value will reverse behavior: e.g. use multiple-times-retried hosts first.

least_cost_functions=nova.scheduler.least_cost.compute_fill_first_cost_fn

(ListOpt) Which cost functions the LeastCostScheduler should use.

noop_cost_fn_weight=1.0

(FloatOpt) How much weight to give the noop cost function.

scheduler_driver=nova.scheduler.multi.MultiScheduler

(StrOpt) Default driver to use for the scheduler.

compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

(StrOpt) Driver to use for scheduling Compute calls.

volume_scheduler_driver=nova.scheduler.chance.ChanceScheduler

(StrOpt) Driver to use for scheduling volume calls.

scheduler_json_config_location=

(StrOpt) Absolute path to scheduler configuration JSON file.

max_cores=16

(IntOpt) maximum number of instance cores to allow per host.

max_gigabytes=10000

(IntOpt) maximum number of volume gigabytes to allow per host.

max_networks=1000

(IntOpt) maximum number of networks to allow per host.

skip_isolated_core_check=true

(BoolOpt) Allow overcommitting vcpus on isolated hosts.

scheduler_host_subset_size=1

(IntOpt) New instances will be scheduled on a host chosen randomly from a subset of the N best hosts, rather than just the host with the highest weight. This property defines the subset size that a host is chosen from. A value of 1 chooses the first host returned by the weighing functions. This value must be at least 1. Any value less than 1 will be ignored, and 1 will be used instead.


 




你可能感兴趣的:(openstack scheduler 配置参数说明)