[ovirt-users] Remove reporst and dwh services and db

Yedidyah Bar David didi at redhat.com
Sun Dec 20 07:34:03 UTC 2015


On Fri, Dec 18, 2015 at 11:45 AM, Kevin COUSIN <kevin at famillecousin.fr> wrote:
> Hi list,
>
> Is it safe to remove dwh service et databases from an running ovirt engine ?
>
> I think I can try something like :
>
> engine-cleanup
> [ INFO  ] Stage: Initializing
> [ INFO  ] Stage: Environment setup
>           Configuration files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging-reports-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf', '/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf']
>           Log file: /var/log/ovirt-engine/setup/ovirt-engine-remove-20151218103955-e7a1em.log
>           Version: otopi-1.4.0 (otopi-1.4.0-1.el7.centos)
> [ INFO  ] Stage: Environment packages setup
> [ INFO  ] Stage: Programs detection
> [ INFO  ] Stage: Environment customization
>           Do you want to remove all components? (Yes, No) [Yes]: no
>
>           --== PRODUCT OPTIONS ==--
>
>           Do you want to remove PKI keys? (Yes, No) [No]: no
>           Do you want to remove ISO domain layout? (Yes, No) [No]: no
>           Do you want to remove YUM version locking configuration? (Yes, No) [No]: no
>           Do you want to remove PKI configuration? (Yes, No) [No]: no
>           Do you want to remove Core files? (Yes, No) [No]: no
>           Do you want to remove DWH files? (Yes, No) [No]: yes
>           Do you want to remove Reports files? (Yes, No) [No]: yes
>           Do you want to remove NFS exports configuration? (Yes, No) [No]: no
>           Do you want to remove NFS Configuration? (Yes, No) [No]: no
>           Do you want to remove Apache SSL configuration? (Yes, No) [No]: no
>           Do you want to remove VMConsole Helper PKI keys? (Yes, No) [No]: no
>           Do you want to remove VMConsole PKI Proxy keys? (Yes, No) [No]: no
>           The following files were changed since setup:
>           /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-uuid.conf
>           /etc/ovirt-engine-reports/ovirt-engine-reports.conf.d/10-setup-database.conf
>           /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
>           /etc/ovirt-engine-reports/sso.properties
>           Remove them anyway? (Yes, No) [Yes]: yes
>           Do you want to remove the engine? (Yes, No) [No]: no
>           Do you want to remove DWH DB content? All data will be lost (Yes, No) [No]: yes
>           Do you want to remove Reports DB content? All data will be lost (Yes, No) [No]: yes
>           Do you want to remove Reports Jasper artifacts? (Yes, No) [No]: yes
>           Do you want to remove the WebSocket proxy? (Yes, No) [No]: no
> [ INFO  ] Stage: Setup validation
>           During execution engine service will be stopped (OK, Cancel) [OK]: Cancel

No, this currently does not work, see [1] [2].

Please check [3] for something that currently works, although is not
very elegant.
Basically, just yum remove it and remove some extra files.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1060529
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1169695
[3] http://www.ovirt.org/Features/Migration_of_local_DWH_Reports_to_remote

Best,
-- 
Didi



More information about the Users mailing list