- Mastering OpenStack(Second Edition)
- Omar Khedher Chandan Dutta Chowdhury
- 180字
- 2021-07-02 23:52:49
Configuring your setup
The AIO development environment uses the configuration files in test/roles/bootstrap-host/defaults/main.yml.
This file describes the default values for the host configuration. In addition to the configuration file, the configuration options can be passed through shell environment variables.
The BOOTSTRAP_OPTS variable is read by the bootstrap script as a space-separated key value pair. It can be used to pass values to override the default ones in the configuration file:
# export BOOTSTRAP_OPTS="${BOOTSTRAP_OPTS} bootstrap_host_loopback_cinder_size=512"
OSA also allows overriding default values for service configuration. These override values are provided in the /etc/openstack_deploy/user_variables.yml file.
The following is an example of overriding the values in nova.conf using the override file:
nova_nova_conf_overrides:
DEFAULT:
remove_unused_original_minimum_age_seconds: 43200
libvirt:
cpu_mode: host-model
disk_cachemodes: file=directsync,block=none
database:
idle_timeout: 300
max_pool_size: 10
This override file will populate the nova.conf file with the following options:
[DEFAULT]
remove_unused_original_minimum_age_seconds = 43200
[libvirt]
cpu_mode = host-model
disk_cachemodes = file=directsync,block=none
[database]
idle_timeout = 300
max_pool_size = 10
The override variables can also be passed using a per host configuration stanza in/etc/openstack_deploy/openstack_user_config.yml.
The complete set of configuration options are described in the OpenStack Ansible documentation at http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-openstack.html
- Deep Learning Quick Reference
- 大數據安全與隱私保護
- 統計學習理論與方法:R語言版
- 網絡化分布式系統預測控制
- INSTANT Drools Starter
- 項目管理成功利器Project 2007全程解析
- Hands-On Data Warehousing with Azure Data Factory
- Visual Studio 2010 (C#) Windows數據庫項目開發
- 基于人工免疫原理的檢測系統模型及其應用
- 納米集成電路制造工藝(第2版)
- Instant Slic3r
- 項目實踐精解:C#核心技術應用開發
- PyTorch深度學習
- 網管員世界2009超值精華本
- Appcelerator Titanium Smartphone App Development Cookbook(Second Edition)