1.4. 데이터 웨어하우스 샘플링 규모 변경

Red Hat Virtualization에는 데이터 웨어하우스가 필요합니다. 데이터 웨어하우스는 Manager와 같은 머신이나 Manager에 액세스할 수 있는 별도의 머신에 설치 및 설정할 수 있습니다. 일부 설정에는 기본 데이터 보존 설정이 필요하지 않을 수 있으므로 engine-setup에서는 두 개의 데이터 샘플링 규모, 즉 BasicFull을 제공합니다.
  • Full을 선택하면 2.4절. “ovirt-engine-dwhd.conf의 데이터 웨어하우스 서비스 애플리케이션 설정”에 있는 데이터 보존 설정 기본값이 사용됩니다(데이터 웨어하우스가 원격 호스트에 설치된 경우 권장됨).
  • Basic을 선택하면 DWH_TABLES_KEEP_HOURLY 값이 720으로, DWH_TABLES_KEEP_DAILY 값이 0으로 감소하여 Manager 머신의 로드가 완화됩니다(Manager와 데이터 웨어하우스를 동일한 머신에 설치한 경우 권장됨).
샘플링 규모는 설치하는 동안 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의 데이터 웨어하우스 서비스 애플리케이션 설정”에 설명된 대로 개별 데이터 보존 설정을 조정할 수 도 있습니다.