本文共 4533 字,大约阅读时间需要 15 分钟。
[root@176 ~]# engine-config -hUsage: engine-config列出可配置项的描述 :[ ]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|lessAbortMigrationOnError: "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|lessAbortMigrationOnError: false version: 3.0AbortMigrationOnError: false version: 3.1AbortMigrationOnError: false version: 3.2AbortMigrationOnError: false version: 3.3AsyncTaskPollingRate: 10 version: generalAsyncTaskZombieTaskLifeInMinutes: 3000 version: generalAuditLogAgingThreshold: 30 version: generalAuditLogCleanupTime: 03:35:35 version: generalAuthenticationMethod: LDAP version: generalBlockMigrationOnSwapUsagePercentage: 0 version: generalBootstrapMinimalVdsmVersion: 4.9 version: generalCpuOverCommitDurationMinutes: 2 version: generalDisableFenceAtStartupInSec: 300 version: generalClusterEmulatedMachines: rhel6.2.0,pc-1.0 version: 3.0ClusterEmulatedMachines: rhel6.3.0,pc-1.0 version: 3.1ClusterEmulatedMachines: rhel6.4.0,pc-1.0 version: 3.2ClusterEmulatedMachines: rhel6.4.0,pc-1.0,pseries version: 3.3ClusterEmulatedMachines: rhel6.5.0,pc-1.0,pseries version: 3.4WANDisableEffects: animation version: generalWANColorDepth: 16 version: general...[参考]
转载地址:http://imfna.baihongyu.com/