viocli update nova-compute 명령을 사용하여 Nova 컴퓨팅 서비스 구성에서 특정 매개 변수를 업데이트할 수 있습니다.
conf:
nova_compute:
DEFAULT:
debug: true
default_schedule_zone: nova1
host: compute-7e8d8b50-c8
cpu_allocation_ratio: 16
ram_allocation_ratio: 1.5
disk_allocation_ratio: 0.0
max_concurrent_builds: 20
always_resize_on_same_host: False
sync_power_state_interval: 600
sync_power_state_action: dbsync
use_hypervisor_stats: true
update_resources_interval: 0
# Options of the interval (in second) to schedule the cache image cleanup worker thread
image_cache_manager_interval: 2400
# Options of the expiration (in second) for unused image cache to be deleted
remove_unused_original_minimum_age_seconds: 86400
vmware:
host_ip: .VCenter:vcenter1:spec.hostname
host_password: .VCenter:vcenter1:spec.password
host_username: .VCenter:vcenter1:spec.username
insecure: .VCenter:vcenter1:spec.insecure
cluster_name: domain-c8
datastore_regex: sharedVmfs\-1|sharedVmfs\-0
network_passthrough: false
tenant_vdc: false
pbm_enabled: true
pbm_default_policy: <policy_name>
set_asset_tag: <value>
import_vm_enabled: true
import_vm_relocate: true
datastore_selection_policy: max_free_space
import_net_id: None
datastore_cluster: dsc
shared_datastore_regex: sharedVmfs\-1|sharedVmfs\-0
dvs_moid:
# compute01: dvs-35
# compute02: dvs-36
default_vif_model: vmxnet3
gpu_profile: grid_p100-4a
profile_fb_size_kb: 4096
| 매개 변수 | 기본값 | 설명 |
|---|---|---|
| debug |
false |
로깅 수준을 기본 INFO 수준이 아닌 debug로 설정하려면 |
| default_schedule_zone |
none |
인스턴스의 기본 가용성 영역을 입력합니다. |
| host |
<current_hostname> |
호스트의 호스트 이름, FQDN 또는 IP 주소를 입력합니다. |
| cpu_allocation_ratio |
none |
가상 CPU 대비 물리적 CPU 할당 비율을 입력합니다. |
| ram_allocation_ratio |
none |
가상 RAM 대비 물리적 RAM 할당 비율을 입력합니다. |
| disk_allocation_ratio |
none |
가상 디스크 대비 물리적 디스크 할당 비율을 입력합니다. |
| max_concurrent_builds |
10 |
|
| always_resize_on_same_host |
크기 조정을 위해 소스와 일치시킬 강제 대상 노드를 입력합니다. |
|
| sync_power_state_interval |
600 |
데이터베이스와 하이퍼바이저 간에 전원 상태를 동기화하는 간격을 입력합니다. |
| sync_power_state_action |
데이터베이스 인스턴스 상태와 인스턴스의 실제 상태가 일치하지 않을 때 수행되는 작업입니다. |
|
| use_hypervisor_stats |
이 옵션은 vCenter 통계를 사용할지 아니면 Nova 리소스 추적에 의존할지를 지정합니다. |
|
| update_resources_interval |
0 |
이 옵션은 |
| image_cache_manager_interval |
2400 |
이 옵션은 캐시 이미지 정리 작업자 스레드를 스케줄링하는 간격을 초 단위로 지정합니다. |
| remove_unused_original_minimum_age_seconds |
86400 |
이 옵션은 사용되지 않는 이미지 캐시가 삭제될 만료 시간을 초 단위로 지정합니다. |
| host_ip |
none |
VMware vCenter 호스트 연결에 사용할 호스트 이름 또는 IP 주소를 입력합니다. |
| host_password |
none |
VMware vCenter 호스트 연결에 사용할 암호를 입력합니다. |
| host_username |
none |
VMware vCenter 호스트 연결에 사용할 사용자 이름을 입력합니다. |
| insecure |
false |
HTTPS 연결을 확인합니다. |
| cluster_name |
none |
VMware 클러스터 ComputeResource의 이름을 입력합니다. |
| datastore_regex |
none |
계산에 사용할 데이터스토어를 지정하는 정규식 설정을 입력합니다. |
| network_passthrough |
네트워크 패스스루 기능을 사용 또는 사용하지 않도록 설정하는 플래그입니다. |
|
| tenant_vdc |
테넌트 VDC를 사용 또는 사용하지 않도록 설정하는 플래그입니다. |
|
| pbm_enabled |
false |
이 옵션은 인스턴스 배치를 기반으로 스토리지 정책을 사용 또는 사용하지 않도록 설정합니다. |
| pbm_default_policy |
none |
이 옵션은 사용할 기본 정책을 지정합니다. |
| use_linked_clone |
true |
연결된 클론을 입력합니다. |
| set_asset_tag |
버그에 대한 해결 방법을 제공하기 위한 옵션입니다. |
|
| import_vm_enabled |
import vm을 사용 또는 사용하지 않도록 설정하는 플래그입니다. |
|
| import_vm_relocate |
이 옵션은 가져온 가상 시스템이 VMware 드라이버에 따라 기본 이름 지정 규칙 및 폴더 배치를 따르도록 재구성할 수 있습니다. |
|
| datastore_selection_policy |
max_connected_hosts |
Nova 데이터스토어 선택 정책을 입력합니다. |
| import_net_id |
가상 시스템이 올바른 neutron 포트에 연결될 수 있도록 설정하는 데 필요한 NSXT 스위치 UUID를 입력합니다. |
|
| datastore_cluster |
데이터스토어 클러스터의 이름 또는 moid를 입력합니다. |
|
| shared_datastore_regex |
CD-ROM의 공유 데이터스토어에 대한 정규식을 입력합니다. |
|
| default_vif_model |
기본 vnic 모델을 입력합니다. |
|
| gpu_profile |
GPU 패스스루 디바이스에 대한 프로파일을 입력합니다. |
|
| profile_fb_size_kb |
GPU 프로파일 프레임 버퍼 크기를 킬로바이트 단위로 입력합니다. |