Skip to the content.

Một số tùy chọn cấu hình bổ xung trong file config của Nova.

1. [DEFAULT]

Cấu hình Mô tả Loại dữ liệu
password_length = 12 Độ dài tối thiểu cho mật khẩu tài khoản quản trị của máy ảo. Ở đây là 12 interger
compute_driver = Cấu hình driver được sử dụng để giao tiếp với hypervisor string
non_inheritable_image_properties = Cấu hình những image property mà sẽ không kế thừa từ máy ảo khi tạo snapshot string
default_ephemeral_format Định dạng mặc định cho một volume khi tạo string (ext2 ext3 ext4 xfs ntfs)
dhcp_lease_time = 86400 Thời gian lease cho DHCP integer
dns_server = Cấu hình DNS Server integer
metadata_host = $my_ip Metadata Server string

2. [wsgi]

|Parameter = Value| Description| |——————|———–| |#wsgi_log_format = %(client_ip)s “%(request_line)s” status: %(status_code)s len: %(body_length)s time: %(wall_seconds).7f| Format cho các API request | |#ssl_ca_file = | CA cho SSL| |#ssl_cert_file = | CE cho SSL |

3. [vnc]

Parameter = Value Description
#enabled = true Khởi động VNC
#server_listen = 127.0.0.1 IP trong instance sẽ nhận request VNC

4. [key_manager]

|Parameter = Value| Description| |——————|———–| |#fixed_key = | sử dụng secret key trong nova | |#backend = barbican | cấu hình backend cho fixed_key| |#auth_type = | Loại chứng chỉ xác thực để tạo| |#token = | token để xác thực |