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

相關文章
相關標籤/搜索