Migrating Smart Reporting data
After you perform the data migration for BMC Helix ITSM, perform the Smart Reporting version 21.05 data migration.
Supported migration paths
The following table lists the supported migration paths from which you can migrate Smart Reporting data to version 21.05:
Source version | Target version | Source database | Target database | Supported User onboarding option |
---|---|---|---|---|
20.02, 20.08 | 21.05 | Microsoft SQL Server | PostgreSQL |
|
20.02, 20.08 | 21.05 | Oracle | PostgreSQL |
|
20.02, 20.08 | 21.05 | Microsoft SQL Server | Oracle |
|
Before you begin
- Make sure that you have downloaded the migration packs as per your target Smart Reporting version. For example, if you are migrating to Smart Reporting version 21.05, download the 21.05 migration packs.
To download the migration packs, see Downloading-the-installation-files.
For information about the available Smart Reporting migration packs, see Available-migration-packs. - Make sure that you have migrated your BMC Helix ITSM data.
Run the following query:
select * from reportviewsource where accesscode='DELETED' or connectionmethodcode='JDBC-LOAD';After running the query, if we get any records in the result, do not add the source IDs for these records in step 3c.
In Smart Reporting source database, run the following query:
select sourceName, count(1) from reportviewsource where
iporg in (select iporg from Organisation) and accesscode='UNSECURE' group by sourceName having count(1)>1;If the result set is greater than 1, find the active AR System data source ID and apply data filter by using the following steps.
The active AR System data source ID is the valid data source connection from the number of source connections created during AR System onboarding.
- Log in the BMC Helix Data Manager.
- Select Data Migration > Migration Packs > Select right Migration Pack > Export table.
Check for Reportviewsource and apply a data filter by using the following qualification:
sourceid = <AR System data source> or sourceid = <Smart Reporting Repository database source>
For example, sourceid = 60541 or sourceid = 2536767
The following image shows an example:
- Check your organisation table for any duplicate organisations.
If you have any duplicate organisations, perform the following steps:- Identify the correct iporg value by comparing the iporg value in reportviewsource table.
Reportviewsource table has iporg and sourceid columns. - Identify the correct iporg value corresponding to the correct sourceid value in the table.
- Apply the following qualification in BMC Helix Data Manager tool for Organisation table:
- Log in to BMC Helix Data Manager.
- Navigate to Data Migration > Migration Packs > Select right Migration Pack > Export table > Check for Organisation > Apply Data filter.
- Enter the qualification.
For example, iporg = 1 or iporg = 13001 (In this example, 1 is 'default' organisation and 13001 is right organisation).
- Identify the correct iporg value by comparing the iporg value in reportviewsource table.
To migrate data
Perform the following steps to migrate Smart Reporting data:
- In the target system, perform onboarding and content import.
- If your source Smart Reporting database has an active Smart Reporting Repository Database as Datasource, perform the following steps:
- In the target system, log in to Smart Reporting.
- Click Administration > AdminConsole > Data Sources > Add.
- Select Database and enter the name as Smart Reporting Repository DB.
Select Database Type as Yellowfin Repository Database.
- Enter the Smart Reporting target system username and password.
The following image shows an example connection: - To test the connection, click Test Connection.
- Click SAVE AND CLOSE.
Stop the Smart Reporting instances on the target system to start the migration activities.
Register the source and target systems.
System
Steps to register the system
Smart Reporting source system
- Register a source system.
Important:
For Microsoft SQL Server database, make sure that you specify the migration mode as JDBC while registering the source system.
For Oracle database, the migration mode is set to JDBC by default. - Create a BMC Helix Data Manager user.
- Test system connectivity and get database character set details.
- Discover the source system.
Smart Reporting target system
- Register a target system.
Important:
For Microsoft SQL Server database, make sure that you specify the migration mode as JDBC while registering the source system.
For Oracle database, the migration mode is set to JDBC by default. - Create a BMC Helix Data Manager user.
- Test system connectivity and get database character set details.
- Discover the target system.
- Register a source system.
- Migrate data from the source system to the target system by performing the following steps:
- Start the Smart Reporting instances.
- In the AR System Configuration Generic UI form, update the following parameter values:
- Open the Remedy AR System Administration Console, and click System > General > Centralized Configuration.
- In the AR System Configuration Generic UI form, from the Component Name list, select the Mid Tier component.
- Click Add.
- Enter the values for the following parameters:
- arsystem.radminpass—Specify the user password.
- arsystem.radminuser—Specify user as siadmin.
- arsystem.reportingURL—Specify the URL to access Smart Reporting.
- arsystem.rtenantid—Specify the customer name.
- Click Apply
- Click Close.
In Mid Tier Configuration Tool, in the Report settings, update the reporting customer name and siadmin password details.
For more information see Configuring report setting for mid tier.
- In the SmartReportingServer_Info form, update the reporting customer name and siadmin password details.
To copy the Template Smart Reporting Migration pack
- In BMC Helix Data Manager, select Data Migration > Migration Packs.
- Select the Template Smart Reporting Migration pack.
- Select Action > Copy.
- In the Source Data Dictionary field, select the data dictionary for the source system.
- In the Target Data Dictionary field, select the data dictionary for the target system.
- Click Copy Migration Pack.
To export data
- In BMC Helix Data Manager, select Data Migration > Migrate Data.
- On the Migrate Data page, in the Migration Pack field, select the Template Smart Reporting Migration pack.
- Complete the fields and click Next.
- On the Migrate Data - Confirm page, in the Migration Job Name field, specify the migration job, and click Confirm Migration.
- On the Migration View Job page, click Start Export.
To import data
- After the data export is complete, on the Migration View Job page, navigate to the Import tab.
- On the import tab, click Create import Job.
- Complete the fields and click Confirm Data Import.
- On the Migration View Job page, to start the import job, click Start.
To run data update job
- In BMC Helix Data Manager, select Discovery & Analysis > System Analysis & Administration, and select the target system.
- Navigate to the Data Updates tab and select Create Data Update Job.
- In the Create Data Update Job pane, specify the job details and click Create New Data Update Job.
- In the data update job, select the Smart Reporting <source version> to <target version> script, and click Run Selected Script.
Related topic