Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1156015 - Upgrade procedure of Reports from local setup to remote
Upgrade procedure of Reports from local setup to remote
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.5.0
Unspecified Unspecified
high Severity unspecified
: ---
: 3.5.0
Assigned To: Lucy Bopf
Tahlia Richardson
integration
:
Depends On: 1156009
Blocks: rhev35betablocker rhev35rcblocker rhev35gablocker 1193259
  Show dependency treegraph
 
Reported: 2014-10-23 08:02 EDT by Shirly Radco
Modified: 2015-09-22 09 EDT (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1156009
Environment:
Last Closed: 2015-03-01 22:39:00 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Shirly Radco 2014-10-23 08:02:00 EDT
+++ This bug was initially created as a clone of Bug #1156009 +++

Description of problem:
The should be a wiki for upgrade procedure of Reports from local setup to remote.

Version-Release number of selected component (if applicable):
3.5
Comment 1 Yedidyah Bar David 2014-10-23 08:40:03 EDT
Overview of the process:

Start with a 3.5 engine/dwh/reports setup on a single host (from clean or upgraded)

* service ovirt-engine-reportsd stop
* Keep somewhere the db credentials (can be found at /var/lib/ovirt-engine-reports/build-conf/master.properties)
* yum remove ovirt-engine-reports (or rhevm-reports)

On the new reports machine:
* yum install ovirt-engine-reports
* engine-setup - supply existing credentials

I didn't try that myself.

As discussed, if you do not care about the data in the reports db, you can simply setup a new machine with a new db - in principle there can be more than one reports server.
Comment 2 Shirly Radco 2014-10-26 09:05:54 EDT
This process was not tested fully and should be tested.
Comment 3 Shirly Radco 2014-11-12 08:12:40 EST
I tried it and it works.

The process for this should be :

Start with a 3.5 engine/dwh/reports setup on a single host (from clean or upgraded)

After the engine and dwh are setup successfully.

On the new reports machine:
* yum install ovirt-engine-reports
* engine-setup - supply existing credentials
  DWH credentials are located at /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf 

On the engine machine:
 If the user wants to remove the other reports installation
  * "Saved Reports" can be migrated to the new installation ,by following the steps 
    of export and import saved reports, according to the documentations .
 Only after that run on the old machine:
  * service ovirt-engine-reportsd stop
  * yum remove ovirt-engine-reports (or rhevm-reports)
Comment 4 Shirly Radco 2014-11-12 08:20:08 EST
Important!
There may be more than one reports instance. And they will all show the reports.
But, The engine will direct to and have SSO with only with the last reports instance that run engine-setup.
Comment 5 Yaniv Lavi 2015-01-13 05:09:04 EST
What is the status of this?
Comment 11 Laura Novich 2015-01-18 08:14:08 EST
SME Review already done and vaild.

New section added here 
Topics 42376,  42377, 42378
http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Migrating_to_a_remote_machine.html#Migrating_the_Reports_to_a_Remote_Machine

What changed:
New section was added describing how to migrate the Reports to a remote machine.
Comment 14 Lucy Bopf 2015-02-08 18:14:54 EST
Moving this bug back to assigned while I work on this content.
Comment 25 Lucy Bopf 2015-03-01 22:39:00 EST
Included in the latest async release.

Note You need to log in before you can comment on or make changes to this bug.