Bug 1318665
Summary: | [RFE] - make DWH required for engine. | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Yaniv Lavi <ylavi> |
Component: | RFEs | Assignee: | Yedidyah Bar David <didi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lukas Svaty <lsvaty> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.0.0 | CC: | awels, bugs, mkalinin, mperina, pstehlik, sbonazzo |
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: | Environment: | ||
Last Closed: | 2016-07-05 07:55:49 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: | 1350166 | ||
Bug Blocks: | 1324860, 1337280, 1351864 |
Description
Yaniv Lavi
2016-03-17 13:23:05 UTC
What is the format and location of the conf file we need to add to the engine so that it can access the DWH database? Perhaps simply the existing one dwh uses /etc/ovirt-engine-dwh/ovirt-engine-dwh.d/10-setup-database.conf ? Perhaps copy it to /etc/ovirt-engine/engine.conf.d ? I guess I can find answers to most of my questions in: https://gerrit.ovirt.org/#/c/54058/30/packaging/services/ovirt-engine/ovirt-engine.xml.in Moving needinfo to Alexander, just in case. Yes, you can find the answers in ovirt-engine.xml.in but here they are just in case. DWH_DB_HOST="localhost" DWH_DB_PORT="5432" DWH_DB_USER="ovirt_engine_dwh" DWH_DB_PASSWORD="ovirt_engine_dwh" DWH_DB_DATABASE="ovirt_engine_history" DWH_DB_SECURED="False" DWH_DB_SECURED_VALIDATION="False" DWH_DB_DRIVER="org.postgresql.Driver" DWH_DB_URL="jdbc:postgresql://localhost:5432/ovirt_engine_history?sslfactory=org.postgresql.ssl.NonValidatingFactory" (In reply to Alexander Wels from comment #3) > Yes, you can find the answers in ovirt-engine.xml.in but here they are just > in case. > > DWH_DB_HOST="localhost" > DWH_DB_PORT="5432" > DWH_DB_USER="ovirt_engine_dwh" > DWH_DB_PASSWORD="ovirt_engine_dwh" > DWH_DB_DATABASE="ovirt_engine_history" > DWH_DB_SECURED="False" > DWH_DB_SECURED_VALIDATION="False" > DWH_DB_DRIVER="org.postgresql.Driver" > DWH_DB_URL="jdbc:postgresql://localhost:5432/ > ovirt_engine_history?sslfactory=org.postgresql.ssl.NonValidatingFactory" IOW, identical to what we already write in [1] for DWH's own use. BUT, note that in the copy for the engine, we'll keep the DWH machine FQDN, in both DWH_DB_HOST and DWH_DB_URL, IF db host is 'localhost' there, so that the engine can access it even if it's remote. It's then up to the user to make sure that this fqdn resolves correctly from the engine side (and is accessible in the firewall etc). [1] /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA. The user should have a option in setup to reconfigure DWH to move from full blown to minimal and vice versa. The default should be minimal with the engine on tha same machine and full blown on a separate installation. Setting doc text -. I expect proper documentation in the main docs etc. to accompany the dashboards themselves. verified in ovirt-engine-4.0.0.4-0.1.el7ev.noarch oVirt 4.0.0 has been released, closing current release. |