Configuring the frequency in which Hosts check for

Configuring the frequency in which Hosts check for package updates

环境

Red Hat Enterprise Virtualization 3.6
Red Hat Virtualization 4.xapache

问题

Red Hat Enterprise Virtualization Manager (RHEV-M) uses a periodic job named availableUpdates which checks if there are pending package updates on each Host configured in the platform.
By default, this job runs every 24 hours, but this value can be changed if needed.ide

Red Hat Enterprise Virtualization Manager (RHEV-M) 使用一个名为 availableUpdates 的按期做业,该做业检查平台中配置的每一个主机上是否有挂起的包更新。
默认状况下,此做业每24小时运行一次,但若是须要,能够更改此值。this

决议

RHEV-M uses the value of the HostPackagesUpdateTimeInHours option to schedule the availableUpdates job. The value of this option can be changed using engine-config.spa

RHEV-M 使用 HostPackagesUpdateTimeInHours 选项的值来调度 availableUpdates 做业。能够使用 engine-config 更改此选项的值。code

As an example, to check for updates just once per week, HostPackagesUpdateTimeInHours must be set to 168 (24*7). This can be done by logging into RHEV-M's console and running the following command:orm

做为一个例子,每周只检查一次更新,必须将 HoSTPACKAGESUPDATEMEMIN 小时设置为168(24×7)。这能够经过登陆到RHEV-M控制台并运行如下命令来完成:ci

# engine-config -s HostPackagesUpdateTimeInHours=168

Additionally, the current value for HostPackagesUpdateTimeInHours can be checked executing the following command, also from RHEV-M's console:
另外,HostPackagesUpdateTimeInHours 的当前值也能够在 rhve - m 的控制台执行如下命令来检查:it

# engine-config -g HostPackagesUpdateTimeInHours

As for RHV 4.1, you can also disable this periodic job by setting the value of HostPackagesUpdateTimeInHours to zero (0). This is possible after RFE 1406814 implementationio

对于RHV 4.1 ,您也能够经过将 HostPackagesUpdateTimeInHours 的值设置为0(0)来禁用这个周期性做业,这在 RFE 1406814 实现以后是可能的console

相关文章
相关标签/搜索