Bug 1335009
| Summary: | [RFE] Add option to run DWH in a "minimal" mode for collecting data for the dashboards | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Yedidyah Bar David <didi> |
| Component: | Setup.Core | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.0.0 | CC: | bugs, dfediuck, pnovotny, pstehlik, sbonazzo, sradco, ylavi |
| Target Milestone: | ovirt-4.0.0-beta | Keywords: | FutureFeature |
| Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
lsvaty: testing_plan_complete- ylavi: planning_ack+ sbonazzo: devel_ack+ pstehlik: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1328805 | Environment: | |
| Last Closed: | 2016-07-05 07:53:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1328805 | ||
| Bug Blocks: | 1324860, 1337280, 1351872 | ||
|
Description
Yedidyah Bar David
2016-05-11 06:55:37 UTC
Cloned for adding the option to engine-setup's command line and --help. Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. Verified in rhevm-4.0.0.2-0.1.el7ev.noarch, ovirt-engine-setup-4.0.0.2-0.1.el7ev.noarch (build 4.0.0-12).
Installation with the basic DWH scale:
# yum install -y ovirt-engine-setup && engine-setup
...
Configure Data Warehouse on this host (Yes, No) [Yes]: yes
...
Please choose Data Warehouse sampling scale:
(1) Basic
(2) Full
(1, 2)[1]: 1
...
[ INFO ] Execution of setup completed successfully
# grep -r DWH_TABLES_KEEP /etc/ovirt-engine-dwh/*
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_SAMPLES=24
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_HOURLY=720
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_DAILY=0
Update/reconfiguration to the full DWH scale:
# engine-setup --help
Usage: /usr/bin/engine-setup
...
--reconfigure-dwh-scale
If DWH is configured, allow changing its scale.
# engine-setup --reconfigure-dwh-scale
...
Please choose Data Warehouse sampling scale:
(1) Basic
(2) Full
(1, 2)[1]: 2
...
[ INFO ] Execution of setup completed successfully
# grep -r DWH_TABLES_KEEP /etc/ovirt-engine-dwh/*
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_SAMPLES=24
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_HOURLY=1440
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf:DWH_TABLES_KEEP_DAILY=43800
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf.20160609154211:DWH_TABLES_KEEP_SAMPLES=24
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf.20160609154211:DWH_TABLES_KEEP_HOURLY=720
/etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf.20160609154211:DWH_TABLES_KEEP_DAILY=0
oVirt 4.0.0 has been released, closing current release. |