Advanced Settings
Overview
Advanced settings allow you to make fine-grained configurations for multiple resource attributes, and are updated without rebooting your management nodes. Once the configurations are made, corresponding resource attributes will take effect globally. If any advanced setting is not made, the default values of the global settings will be used.
Inventory
Resource Configuration Inventory
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| name | The name. For more information, see Resource Property. | 3.4.0 | ||
| description | The description. For more information, see Resource Property. | Yes | 3.4.0 | |
| category | The category. | 3.4.0 | ||
| value | The value. | Yes | 3.4.0 | |
| createDate | The creation date. For more information, see Resource Property. | 3.4.0 | ||
| groupBy | 3.4.0 | |||
| lastOpDate | The last operation date. For more information, see Resource Property. | 3.4.0 | ||
| resourceType | The resource type. | 3.4.0 | ||
| resourceUuid | 3.4.0 | |||
| uuid | The UUID. For more information, see Resource Property. | 3.4.0 | ||
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.4.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.4.0 |
Operations
GetResourceConfig
GetResourceConfig category=host name=test resourceUuid=46597de31eac41539c4e6eda52885769Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| category | The setting category. | 3.4.0 | ||
| name | The setting name. | 3.4.0 | ||
| resourceUuid | The resource UUID. | 3.4.0 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.4.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.4.0 | |
| timeout | Yes |
GetResourceBindableConfig
GetResourceBindableConfigParameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| category | The setting category. | Yes | 3.4.0 | |
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.4.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.4.0 | |
| timeout | Yes |
DeleteResourceConfig
DeleteResourceConfig category=host name=test resourceUuid=46597de31eac41539c4e6eda52885769Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| category | The setting category. | 3.4.0 | ||
| name | The setting name. | 3.4.0 | ||
| resourceUuid | The resource UUID. | 3.4.0 | ||
| deleteMode | Yes | 3.4.0 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.4.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.4.0 | |
| timeout | Yes |
QueryResourceConfig
QueryResourceConfigPrimitive Fields of Query
UpdateResourceConfig
UpdateResourceConfig category=host name=test resourceUuid=435a7c71c82b4b0b971f4674ab346822 value=10Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| category | The setting category. | 3.4.0 | ||
| name | The setting name. | 3.4.0 | ||
| resourceUuid | The resource UUID. | 3.4.0 | ||
| value | The setting value. | 3.4.0 | ||
| userTags | The user tags. For more information, see CreateUserTag. | Yes | 3.4.0 | |
| systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 3.4.0 | |
| timeout | Yes |
Tags
CreateUserTag resourceType=ResourceConfigVO tag=Test1 \
resourceUuid=3fd25b9e5b87423bba5612a45c1f5eccEntries
Cluster
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| zstack.experimental.repo | Configures whether to enable ZStack Cloud experimental repositories for the cluster. | false |
|
drs
| Name | Description | Default | Valid Value |
|---|---|---|---|
| drs.enable | Specifies whether to enable dynamic resource scheduling. | false |
|
Host
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| cpu.overProvisioning.ratio | Provisions the vCPU number for the VM instance. vCPU formula: PhysicalCPUTotalThreads X CPUOverprovisioningratio = DistributablevCPUNumber. | 10 | 1-1000 |
KVM
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| reservedMemory | The reserved memories on all KVM hosts. | 1G | >= 0 |
| vm.cpuMode |
For cluster with x86_64 CPU architecture:
Note:
For cluster with aarch64 CPU architecture: You can select only host-passthrough. The CPU model and features of the VM instance in the cluster are the same as the CPU model and features of the hosts in the cluster. For cluster with mips64el CPU architecture: You can specify a custom CPU model. If you specify a custom CPU model, VM instances in the cluster share the specified CPU model. |
|
|
localstorage
| Name | Description | Default | Valid Value |
|---|---|---|---|
| qcow2.allocation | The preallocation policy of LocalStorage storage space for volumes. | none |
|
nfsPrimaryStorage
| Name | Description | Default | Valid Value |
|---|---|---|---|
| qcow2.allocation | The policy used to allocate NFS primary storage space for volumes. | none |
|
Premium Cluster
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| hugepage.enable | Specifies whether to enable hugepages for a
cluster. Default: false. If set to true, hugepages is enabled for
all hosts in the cluster, with a size of 2 MB for each page. In
addition, hugepage space is allocated to VM instances. Note:
|
false |
|
| hugepage.size | The size of each page for each host after hugepages is enabled for a cluster. Default: 2 MB. | 2 | (0, +∞) |
| network.ovsdpdk | Specifies whether to enable network acceleration support for a cluster. Default: false. | false |
|
sharedblock
| Name | Description | Default | Valid Value |
|---|---|---|---|
| qcow2.allocation | The policy used to allocate Shared Block primary storage space for volumes. | none |
|
| device.allocate.strategy |
|
none |
|
sharedMountPointPrimaryStorage
| Name | Description | Default | Valid Value |
|---|---|---|---|
| qcow2.allocation | The policy used to allocate SMP primary storage space for volumes. | none |
|
System (Mevoco)
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| overProvisioning.primaryStorage | Provisions the virtual memory capacity for the VM instance. The memory capacity formula: PhysicalMemoryCapacity X MemoryOverprovisioningratio = DistributableMemoryCapacity. | 1.0 | >0 |
| overProvisioning.memory | Provisions the available space of the virtual primary storage for the VM instance. The primary storage space formula: PhysicalAvailablePrimaryStorageSpace X PrimaryStorageSuperResolution = DistributableAvailablePrimaryStorageSpace. | 1.0 | >0 |
Instance (VM)
| Name | Description | Default Value | Valid Value |
|---|---|---|---|
| numa | The Instance Offering Online Modification value, which allows you to modify the VM CPU and the memory. It's not recommended to modify he VM CPU and the memory for Windows VM instance online in a production environment. | false |
|
| emulateHyperV | Sets whether to emulate Hyper-V. | false |
|
| kvmHiddenState | Specifies whether to hide the KVM hypervisor signature for a VM instance. If this parameter is true, <hidden state='on'> is added under <kvm> in the VM instance XML definition when the VM instance starts. If this parameter is false, it is not added. If this parameter is configured for a VM instance, the global setting and cluster advanced setting do not take effect on the VM instance. Enable this parameter for NVIDIA GPU clusters. | false |
|
| vm.hyperv.clock.feature | Specifies whether to enable hypervclock for VM instances. Default: true. If set to false, the VM instances are disabled with hyperclock. If you enable kvm hidden for a VM instance, disable VM hypervclock to avoid hanging the guest after hot migrations. Restart the VM instance to make the modification take effect after you turn off the button. | true |
|

Note: