Re: [ovirt-users] Change Engine History Logging from Advanched to Basic
Hi Yedidyah, Superb, thanks for this, very clear! Cheers, Matt 2016-09-01 9:52 GMT+02:00 Yedidyah Bar David : > On Wed, Aug 31, 2016 at 2:58 PM, Matt . 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@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users > > > > -- > Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Change Engine History Logging from Advanched to Basic
On Wed, Aug 31, 2016 at 2:58 PM, Matt . 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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users -- Didi ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Change Engine History Logging from Advanched to Basic
Is there a way to change the Engine History from Advanced to Basic ? If so I also would like to know how to empty the DB for older data when it's on Basic again, manually. Thanks! ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users