use engine-config config oVirt's properties

使用engine-config可以配置ovirt的配置选择, 参考red hat rhevm的19.3章的内容.
配置修改后, 需要重启ovirt-engine服务使之生效.
[root@176 ~]# engine-config -h
Usage: engine-config <action> [<args>]

AVAILABLE ACTIONS
       -l, --list
           List available configuration keys.

       -a, --all
           Get all available configuration values.

       -g KEY, --get=KEY
           Get the value of the given key for the given version. If a version is not given, the values of all existing versions are returned.

       -s KEY=VALUE, --set KEY=VALUE
           Set the value of the given key for the given version. The version is required for this action only when the version is not 'general'.

       -m KEY=VALUE, --merge KEY=VALUE
           Merge the value of the given key for the given version with the value in the database. The version is required for this action only when the version is not 'general'.

       -h, --help
           Show this help message and exit.

OPTIONS
       --cver=VERSION
           Relevant configuration version to use.

       -p PROP_FILE, --properties=PROP_FILE
           Use the given alternate properties file.

       -c CFG_FILE, --config=CFG_FILE
           Use the given alternate configuration file.

       --log-file=LOG_FILE
           Sets file to write logging into (if not set nothing is logged).

       --log-level=LOG_LEVEL
           Sets log level, one of DEBUG (default), INFO, WARN, ERROR (case insensitive).

       --log4j-config=XML_FILE
           Sets log4j.xml file which logging configuration is loaded from.

SETTING PASSWORDS
       Passwords can be set in interactive mode:

           engine-config -s PasswordEntry=interactive

       or via file with one of the following options:

           engine-config -s PasswordEntry --admin-pass-file=/tmp/mypass
           engine-config -s PasswordEntry=/tmp/mypass

       PasswordEntry varies between the different password options.

NOTE
       In order for your change(s) to take effect, restart the oVirt engine.


列出可配置项的描述 : 
[root@176 ~]# engine-config -l|less
AbortMigrationOnError: "Optionally abort an ongoing migration on any error" (Value Type: Boolean)
AsyncTaskPollingRate: "Async Task Polling Rate (in seconds)" (Value Type: Integer)
AsyncTaskZombieTaskLifeInMinutes: "Zombie tasks life-time in minutes" (Value Type: Integer)
AuditLogAgingThreshold: "Audit Log Aging Threshold (in days)" (Value Type: Integer)
AuditLogCleanupTime: "Audit Log Cleanup Time" (Value Type: String)
AuthenticationMethod: "Authentication Method" (Value Type: String)
BlockMigrationOnSwapUsagePercentage: "Host swap percentage threshold (for scheduling)" (Value Type: Integer)
BootstrapMinimalVdsmVersion: "Minimum VDSM version" (Value Type: String)
CABaseDirectory: "CA Base Directory" (Value Type: String)
CpuOverCommitDurationMinutes: "The duration in minutes of CPU consumption to activate selection algorithm" (Value Type: Integer)
DisableFenceAtStartupInSec: "Disable Fence Operations At oVirt Startup In Seconds" (Value Type: Integer)
ClusterEmulatedMachines: "Supported machine types" (Value Type: String)
WANDisableEffects: "Disabled WAN Effects value to send to the SPICE console" (Value Type: StringMultiple)
WANColorDepth: "WAN Color Depth value to send to the SPICE console" (Value Type: Integer)
EnableSpiceRootCertificateValidation: "Enable Spice Root Certification Validation" (Value Type: String)
EnableUSBAsDefault: "Enable USB devices attachment to the VM by default" (Value Type: String)
EnableVdsLoadBalancing: "Enables Host Load Balancing system." (Value Type: String)
....


列出可配置项的当前值 : 
[root@176 ~]# engine-config -a|less
AbortMigrationOnError: false version: 3.0
AbortMigrationOnError: false version: 3.1
AbortMigrationOnError: false version: 3.2
AbortMigrationOnError: false version: 3.3
AsyncTaskPollingRate: 10 version: general
AsyncTaskZombieTaskLifeInMinutes: 3000 version: general
AuditLogAgingThreshold: 30 version: general
AuditLogCleanupTime: 03:35:35 version: general
AuthenticationMethod: LDAP version: general
BlockMigrationOnSwapUsagePercentage: 0 version: general
BootstrapMinimalVdsmVersion: 4.9 version: general
CpuOverCommitDurationMinutes: 2 version: general
DisableFenceAtStartupInSec: 300 version: general
ClusterEmulatedMachines: rhel6.2.0,pc-1.0 version: 3.0
ClusterEmulatedMachines: rhel6.3.0,pc-1.0 version: 3.1
ClusterEmulatedMachines: rhel6.4.0,pc-1.0 version: 3.2
ClusterEmulatedMachines: rhel6.4.0,pc-1.0,pseries version: 3.3
ClusterEmulatedMachines: rhel6.5.0,pc-1.0,pseries version: 3.4
WANDisableEffects: animation version: general
WANColorDepth: 16 version: general
...


[参考]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
要在Ubuntu上安装oVirt,可以按照以下步骤进行操作: 1. 首先,确保您的Ubuntu系统已经更新到最新版本。您可以使用以下命令进行系统更新: ``` sudo apt update sudo apt upgrade ``` 2. 安装oVirt引擎管理节点。执行以下命令来安装所需的软件包: ``` sudo apt install ovirt-engine ``` 3. 安装oVirt引擎数据库。默认情况下,oVirt使用PostgreSQL数据库。您可以使用以下命令来安装: ``` sudo apt install ovirt-engine-extension-aaa-ldap-setup ovirt-engine-extension-aaa-ldap ovirt-engine-dwh-setup ovirt-engine-sdk-python ovirt-engine-tools-backup ovirt-engine-webadmin-portal ovirt-engine-yubikey-setup ovirt-guest-agent-common ovirt-host-deploy ovirt-imageio-common ovirt-imageio-daemon ovirt-imageio-proxy ovirt-provider-ovn-common ovirt-provider-ovn-driver ovirt-provider-ovn-hosted-engine-ha ovirt-provider-ovn-provider ovirt-provider-ovn-vdsm ovirt-release-master ``` 4. 安装oVirt引擎虚拟化节点。执行以下命令进行安装: ``` sudo apt install ovirt-hosted-engine-ha ``` 5. 配置oVirt引擎。执行以下命令开始配置过程: ``` sudo engine-setup ``` 6. 按照引导程序的指示完成oVirt引擎的配置。您需要提供必要的信息,例如管理员密码、数据库配置等。 7. 完成配置后,您可以通过Web浏览器访问oVirt引擎的管理控制台。 请注意,以上步骤提供了安装oVirt引擎的基本过程。根据您的特定需求和环境,可能还需要进行其他配置和调整。建议您参考官方文档或oVirt社区以获取更详细和具体的信息。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值