[ovirt-users] Change Engine History Logging from Advanched to Basic

Yedidyah Bar David didi at redhat.com
Thu Sep 1 03:52:51 EDT 2016


On Wed, Aug 31, 2016 at 2:58 PM, Matt . <yamakasi.014 at gmail.com> wrote:
> Is there a way to change the Engine History from Advanced to Basic ?

Yes, run 'engine-setup --reconfigure-dwh-scale'.

You can also manually change [1] to whatever specific values you want.
I don't see this documented on the ovirt site, you can use RHV docs.

[1] /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-scale.conf

>
> If so I also would like to know how to empty the DB for older data
> when it's on Basic again, manually.

I don't think we have this documented. It's similar to [2] though.

We have [3] open to do this properly one day.

You can try something like this:

1. Stop dwhd
2. rm /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup*.conf
3. Connect with psql as user postgres and then:
> drop database ovirt_engine_history
> drop user ovirt_engine_history
4. engine-setup

I didn't try this myself.

[2] http://www.ovirt.org/develop/release-management/features/engine/migration-of-local-dwh-reports-to-remote/
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1060529

>
> Thanks!
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



-- 
Didi


More information about the Users mailing list