Table 4.53. Description of scheduler configuration options
Configuration option = Default value Description
[DEFAULT]
aggregate_image_properties_isolation_namespace =None (StrOpt) Force the filter to consider only keys matching the given namespace.
aggregate_image_properties_isolation_separator =. (StrOpt) The separator used between the namespace and keys
baremetal_scheduler_default_filters =RetryFilter, AvailabilityZoneFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ExactRamFilter, ExactDiskFilter, ExactCoreFilter (ListOpt) Which filter class names to use for filtering baremetal hosts when not specified in the request.
cpu_allocation_ratio = 0.0 (FloatOpt) 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. NOTE: This can be set per-compute, or if set to 0.0, the value set on the scheduler node(s) will be used and defaulted to 16.0
disk_allocation_ratio = 1.0 (FloatOpt) Virtual disk to physical disk allocation ratio
io_ops_weight_multiplier = -1.0 (FloatOpt) Multiplier used for weighing host io ops. Negative numbers mean a preference to choose light workload compute hosts.
isolated_hosts = (ListOpt) Host reserved for specific images
isolated_images = (ListOpt) Images to run on isolated host
max_instances_per_host = 50 (IntOpt) Ignore hosts that have too many instances
max_io_ops_per_host = 8

(IntOpt) Tells filters to ignore hosts that have this many or more instances currently in build, resize, snapshot, migrate, rescue or unshelve task states

用在IoOpsFilter中,num_io_host在host_state中。

ram_allocation_ratio = 0.0 (FloatOpt) 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. NOTE: This can be set per-compute, or if set to 0.0, the value set on the scheduler node(s) will be used and defaulted to 1.5
ram_weight_multiplier = 1.0 (FloatOpt) Multiplier used for weighing ram. Negative numbers mean to stack vs spread.
reserved_host_disk_mb = 0 (IntOpt) Amount of disk in MB to reserve for the host
reserved_host_memory_mb = 512 (IntOpt) Amount of memory in MB to reserve for the host
restrict_isolated_hosts_to_isolated_images = True (BoolOpt) Whether to force isolated hosts to run only isolated images
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 = RetryFilter, AvailabilityZoneFilter, RamFilter, DiskFilter, ComputeFilter, ComputeCapabilitiesFilter, ImagePropertiesFilter, ServerGroupAntiAffinityFilter, ServerGroupAffinityFilter (ListOpt) Which filter class names to use for filtering hosts when not specified in the request.
scheduler_driver =nova.scheduler.filter_scheduler.FilterScheduler (StrOpt) Default driver to use for the scheduler
scheduler_driver_task_period = 60 (IntOpt) How often (in seconds) to run periodic tasks in the scheduler driver of your choice. Please note this is likely to interact with the value of service_down_time, but exactly how they interact will depend on your choice of scheduler driver.
scheduler_host_manager =nova.scheduler.host_manager.HostManager (StrOpt) The scheduler host manager class to use
scheduler_host_subset_size = 1 (IntOpt) New instances will be scheduled on a host chosen randomly from a subset of the N best hosts. 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
scheduler_instance_sync_interval = 120

(IntOpt) Waiting time interval (seconds) between sending the scheduler a list of current instance UUIDs to verify that its view of instances is in sync with nova. If the CONF option `scheduler_tracks_instance_changes` is False, changing this option will have no effect.

为nova compute manager中的一个周期任务

scheduler_json_config_location = (StrOpt) Absolute path to scheduler configuration JSON file.
scheduler_manager =nova.scheduler.manager.SchedulerManager (StrOpt) Full class name for the Manager for scheduler
scheduler_max_attempts = 3 (IntOpt) Maximum number of attempts to schedule an instance
scheduler_topic = scheduler (StrOpt) The topic scheduler nodes listen on
scheduler_tracks_instance_changes = True (BoolOpt) Determines if the Scheduler tracks changes to instances to help with its filtering decisions.
scheduler_use_baremetal_filters = False (BoolOpt) Flag to decide whether to use baremetal_scheduler_default_filters or not.
scheduler_weight_classes =nova.scheduler.weights.all_weighers (ListOpt) Which weight class names to use for weighing hosts

http://docs.openstack.org/liberty/config-reference/content/list-of-compute-config-options.html#config_table_nova_scheduler

最新文章

  1. HDU 4612 Warm up tarjan缩环+求最长链
  2. WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform
  3. Mac下为我们开发的App制作gif动画演示(不仅仅针对开发者,想做gif图片的也可参考)
  4. 执行脚本出现bin/bash: bad interpreter: No such file or directory
  5. SQL SERVER 2008筛选时报错 无法为该请求检索数据
  6. 高效删除 ListItem
  7. mysql中exists的用法介绍
  8. FastDFS与Nginx的配置说明
  9. js任意数组按下标相加
  10. DELL 服务器报CPU 1 has an internal error (IERR)
  11. hexo博客添加功能
  12. unity 安装破解提示partern not found和tutorials学习
  13. 建立一个类似于天眼的Android应用程序:第4部分 - 持久收集联系人,通话记录和短信(SMS)
  14. BZOJ1023:[SHOI2008]cactus仙人掌图(圆方树,DP,单调队列)
  15. springboot系列一、springboot产生背景及介绍
  16. 【Ray Tracing The Next Week 超详解】 光线追踪2-6 Cornell box
  17. github_源码
  18. jmeter 参数化方法
  19. Eclipse里面的Maven项目打包(Maven build)
  20. 使用NHibernate(6)-- HQL && ICriteria 简单介绍

热门文章

  1. 【转】通过SQL Server 2008数据库复制实现数据库同步备份
  2. 巨蟒python全栈开发flask目录
  3. 巨蟒django之CRM2 展示客户列表&&分页
  4. 网络安装CentOS6.4
  5. 2015-03-06——ajax基础
  6. springboot集成h2
  7. 目标是:互联网方向的Java开发工程师
  8. SpringBoot连接PostgreSQL
  9. BAPI: TRANSACTION_BEGIN的作用
  10. 面试题2:实现Singleton模式(Java实现)