Red Hat Training

A Red Hat training course is available for Red Hat Virtualization

1.4. 更改数据仓库采样规模

Red Hat Virtualization 需要数据仓库。它可以在与 Manager 相同的机器上安装和配置,也可以在可访问 Manager 的单独机器上安装和配置。所有设置都不需要默认数据保留设置,因此 engine-setup 提供两个数据抽样扩展: BasicFull
抽样扩展会在安装过程中由 engine-setup 配置:
--== MISC CONFIGURATION ==--
         
Please choose Data Warehouse sampling scale:
(1) Basic
(2) Full
(1, 2)[1]:
您可以使用 --reconfigure-dwh-scale 选项再次运行 engine-setup,从而更改抽样扩展。

例 1.1. 更改数据仓库采样规模

# engine-setup --reconfigure-dwh-scale
[...]
Welcome to the RHEV 4.0 setup/upgrade.
Please read the RHEV 4.0 install guide
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/4.1/html/Installation_Guide/index.html.
Please refer to the RHEV Upgrade Helper application
https://access.redhat.com/labs/rhevupgradehelper/ which will guide you in the upgrading process.
Would you like to proceed? (Yes, No) [Yes]: 
[...]
Setup can automatically configure the firewall on this system.
Note: automatic configuration of the firewall may overwrite current settings.
Do you want Setup to configure the firewall? (Yes, No) [Yes]:
[...]
Setup can backup the existing database. The time and space required for the database backup depend on its size. This process takes time, and in some cases (for instance, when the size is few GBs) may take several hours to complete.
If you choose to not back up the database, and Setup later fails for some reason, it will not be able to restore the database and all DWH data will be lost.
Would you like to backup the existing database before upgrading it? (Yes, No) [Yes]: 
[...]
Please choose Data Warehouse sampling scale:
(1) Basic
(2) Full
(1, 2)[1]: 2
[...]
During execution engine service will be stopped (OK, Cancel) [OK]: 
[...]
Please confirm installation settings (OK, Cancel) [OK]:
您还可以根据需要调整单个数据保留设置,如 第 2.4 节 “ovirt-engine-dwhd.conf 中的数据仓库服务的应用程序设置” 所述。