Topics: |
This section describes WebFOCUS migration considerations and provides the procedures for migrating WebFOCUS Content.
For information on migrating Reporting Server configuration settings, see the Server Administration manual.
Note: The following special considerations apply to WebFOCUS migration:
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3/EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
Topics: |
How to: |
The following types of authentication and authorization models can be migrated from WebFOCUS 7.x releases to WebFOCUS 8.2 Version 04. Managed Reporting authorization rules from these authorization scenarios are migrated, but the security settings are not.
In WebFOCUS 8.2 Version 04, the migration:
You can perform migrations of all content or of content selected by a file that lists the Domain HREFs or group HREFs to be migrated. You can also choose whether or not to include deferred tickets or deferred output in the migration.
Note:
" | ; / * , ?
During the migration process, these characters will be converted to an underscore (_).
You can migrate all Managed Reporting content, but you can also choose to migrate only the content for specified groups or Domains. Exported content always includes all users associated with the group or Domain. For groups, the content also includes all Domains associated with a group, and for Domains, the content also includes all groups associated with a Domain. In both full and partial migration, all the roles in the system are always exported.
Note: In a partial migration, you can specify content by group or by Domain, but not by a combination of both groups and Domains.
To migrate a subset of groups or Domains, you must create a plaintext file specifying the groups or Domains and place it in the mr directory before you begin the migration process. The file must list the HREF of each group or Domain on a single line. For groups, the HREFs must begin with a pound sign (#). Group and Domain HREFs are case-sensitive.
For example, you would specify the export of multiple groups with the following entries in a plain text file:
#domain1group #domain2group
You would specify the export of multiple Domains with the following entries in a plain text file:
domain1/domain1.htm domain2/domain2.htm
To determine a Domain HREF, right-click the Domain folder and select Properties.
The procedure for determining group HREFs varies depending on whether WebFOCUS uses internal or external authorization. If WebFOCUS uses internal authorization, the group HREF information is stored in the user.htm file in the basedir directory. If WebFOCUS uses external authorization, the group HREF information can be obtained from the WF_MRGROUPS table.
In the user.htm file, each group has an entry that includes the HREF, the group name, and the group display name, as shown in the following code example.
<A HREF='#groupname' NAME='GroupName'>Display Name</a>
The group HREF is based on the group name, but all special characters are removed and the HREF is made lower case.
If WebFOCUS uses external authorization, to determine the group HREF, you must first know the group name. You can find the group name by using the MRAdmin tool to view the group properties. Then, use the group name to find the group ID in the WF_MRGROUPS table. The group HREF is the group ID prefaced by a pound sign (#). For example, if the group ID is domain1group, the group HREF is #domain1group.
Once you have created the file listing the Domains or groups that you wish to export, you can begin the migration process.
The Managed Reporting migration utility exports the current WebFOCUS 7.x basedir, including Domains, procedures, content, users, groups, and role information, to a WebFOCUS7x\utilities\mr\export directory. Any authorization information stored externally using the Realm driver (SQL Repository or AD/LDAP) is also retrieved and extracted.
Note:
For more information on creating this file, see Pre-Migration Steps for Migrating Managed Reporting Content by Group or Domain.
You are prompted for the WebFOCUS version from which you are migrating.
WebFOCUS notifies you when the export process is complete. By default, the exported files are saved in the WebFOCUS7x\utilities\mr\export directory. The export log, which is named mr_migrate_export.log, is saved in the same directory. The directory also contains a file named reposTree.xml, which lists all the users and Domains that have been exported. The reposTree.xml file is used during ReportCaster migration. For more information, see Migrating ReportCaster Content.
Now you can import the exported Managed Reporting content into WebFOCUS 8.2 Version 04.
You must have already created and initialized the database repository with the default values contained within the initial load, using WFReposUtil and the original XML.
When you perform a partial migration, you have multiple choices for how the target environment will handle the newly migrated resources:
Skip. Do not import these resources at all.
Add new resources (do not update). Import new resources, but do not modify resources that already exist in the target environment. This is the default behavior.
Add new resources and update existing resources. All new resources will be added to the target environment. If a resource exists in both the import package and the target environment, the resource in the target will be overwritten with the version in the import package.
You can select individual import behavior for content resources, roles, groups, and users. For example, you can choose to skip content resources, add new roles, and add and update users. Add new resources (do not update), which is the default behavior, is also the most common selection.
Note: User IDs longer than 64 characters may cause errors in the import process.
If you selected full migration, the import process begins immediately. If you selected partial migration, proceed to the next step.
WebFOCUS notifies you when the import is complete. Files are saved in the drive:\WebFOCUS82\migration_import\export directory, along with the import log file, which is named import_migration.log.
Topics: |
In WebFOCUS 8, Favorites and Mobile Favorites content is stored in the database repository. Earlier versions of WebFOCUS stored this content in the worp_users folder of the worp directory. As a result, the migration of Favorites and Mobile Favorites requires a pre-migration of the worp directory from an earlier version of WebFOCUS to WebFOCUS 8 followed by the migration of individual user Favorites and Mobile Favorites content from the worp_users folder to the database repository.
The pre-migration of the worp directory to WebFOCUS 8 uses the Business Intelligence Dashboard (BID) migration utility. Even though the Business Intelligence Dashboard was discontinued in WebFOCUS 8, it still supports the worp directory migration, and this migration is the only remaining use for this utility.
The migration of Favorites and Mobile Favorites content from the worp_users folder to the database repository uses the Favorites Migration utility developed for WebFOCUS 8.
Note: After performing the Business Intelligence Dashboard migration, saved searches from WebFOCUS 7.7 do not appear in WebFOCUS Release 8.0 Version 04. The XML file containing the search is moved from WebFOCUS 7.7 to Release 8.0 Version 04, but it is not used. Saved Searches can be migrated as part of the Favorites migration utility that migrates the Favorites and Mobile Favorites items list for each user.
The pre-migration of favorites and mobile favorites uses the Business Intelligence Dashboard (BID) Migration utility to migrate worp directory folders from an earlier version to WebFOCUS 8. The entire worp directory does not migrate, only the worp_users folder, the worp_custom folder, and the userdata folder, if it exists.
The BID Migration utility is located in the drive:\ibi\WebFOCUS82\utilities\mr directory. It is named bid_migrate_extract.bat in Windows and bid_migrate_extract.sh in UNIX. It copies files from the drive:\ibi\WebFOCUS7x\worp directory for use with the latest WebFOCUS release.
Perform the pre-migration of Favorites and Mobile Favorites only after the Managed Reporting migration steps have been completed.
The Dashboard Migration Utility dialog box appears.
A directory may appear, by default, if the worp directory exists under the WebFOCUS installation directory.
Note: The migration utility also migrates the drive:\ibi\WebFOCUS7x\ibi_html\publish directory and the drive:\ibi\WebFOCUS7x\ibi_html\template directory. These directories are no longer created by the WebFOCUS install and will not appear in new full installations of WebFOCUS 8.
WebFOCUS notifies you when the extraction is complete. The migrate.zip and bid_extract.log files are saved in the drive:\ibi\WebFOCUS77\utilities\mr\export\ directory.
The Dashboard Migration prompt is displayed.
Note: The migration utility also migrates the drive:/ibi/WebFOCUS7x/ibi_html/publish directory and the drive:/ibi/WebFOCUS7x/ibi_html/template directory. These directories are no longer created by the WebFOCUS install and will not appear in new full installations of WebFOCUS 8.
The utility prompts for the WebFOCUS release number from which you are migrating.
Valid options are:
WebFOCUS notifies you when the data is successfully loaded in the database. The bid_load.log file is created in the drive:\ibi\WebFOCUS82\migration_import directory.
WebFOCUS notifies you when the data is successfully loaded in the database. The bid_load.log file is created in the drive:\ibi\WebFOCUS82\migration_import directory.
The Dashboard Migration Utility prompt appears.
WebFOCUS notifies you when the data is successfully loaded in the database. The bid_load.log file is created in the drive:/ibi/WebFOCUS82/migration_import directory.
How to: |
The Favorites Migration utility migrates Favorite and Mobile Favorites for each individual user from the favorites.xml file in the drive:\ibi\WebFOCUS82\worp\worp_users\username directory to the database repository.
This migration step should be performed after the Managed Reporting and Business Intelligence Dashboard migration steps have been completed.
The favorites_migration.log file is created in the drive:\ibi\WebFOCUS82\utilities\bip directory.
The favorites_migration.log file is saved in the drive:/ibi/WebFOCUS82/utilities/bip directory.
Topics: |
How to: |
To migrate ReportCaster content from a WebFOCUS 7.x Repository to WebFOCUS 8.2 Version 04, you need to export the content from the WebFOCUS 7.x Repository and then import it into WebFOCUS 8.2 Version 04.
If you are migrating both Managed Reporting and ReportCaster content, you must export the Managed Reporting content before you export the ReportCaster content. When you are importing, you must also import the Managed Reporting content before you import the ReportCaster content.
The Managed Reporting export creates the reposTree.xml file, which lists the users and Domains exported by Managed Reporting. The ReportCaster export includes content for these users and for ReportCaster Administrators. You can also choose to export non-Domain-based content for these users and Administrators.
Optionally, you can filter the Library content by updating the rcLibraryExport2XML.properties file in the rc directory. This filter applies whether or not you are migrating Managed Reporting content. It is recommended that you use the filter in self-service installations where Managed Reporting is not installed.
Topics: |
The rcLibraryExport2XML.properties file, located in the drive:\ibi\WebFOCUS82\utilities\rc folder in Windows or in the install_directory/ibi/WebFOCUS82/utilities/rc folder in UNIX or Linux, contains an optional setting called libraryDateRange. When you assign a range of dates to this setting, the rcExport2XML program exports only those Library Reports that contain a Last Execution Date that falls within that date range.
The ability to limit the export of Library Report content in this way allows you to conduct a series of smaller-scale partial migrations that simplifies and speeds the migration process instead of requiring you to conduct a single lengthy and error-prone, large-scale migration.
Note: When a Library item is selected for migration, all report versions in that Library item are exported. These report versions may include those that with a Last Execution Date outside of the chosen date range.
All values use the format:
startDate,endDate
where:
Is the earliest date in the range. Library reports containing a last execution date that falls on the start date or any date thereafter, up to the end date if defined, or the current date, if no end date is defined, are included in the export.
Is the most recent date in the range. Library reports containing a last execution date that falls on the end date or any previous date, back to the start date, if defined, or the earliest library report date, if no start date is defined, are included in the export.
The comma between the start date and the end date acts as a date separator.
Dates for the libraryDateRange setting must use the YYYYMMDD format.
No more than two dates can be used for the libraryDateRange setting.
When running the rcExport2XML program, you must clear the placeholder from this value, and replace it with one of the following configurations.
When the libraryDateRange setting contains no date value, the rcExport2XML program includes all Library Report items in the export, as shown in the following example.
libraryDateRange=
When the libraryDateRange setting contains a single date value placed before a comma, the rcExport2XML program includes all Library Report items with a last execution date on or after the date value, as shown in the following example.
libraryDateRange=20160701,
When the libraryDateRange setting contains a single date value placed after a comma, the rcExport2XML program includes all Library Report items with a last execution date on or before the date value, as shown in the following example.
libraryDateRange=,20160701
When the libraryDateRange setting contains two dates separated by a comma, the rcExport2XML program includes all Library Report items with a last execution date on or between the start date and the end date as shown in the following example.
libraryDateRange=20160701,20160731
Prior to migrating your 7.7 ReportCaster content, you can utilize the library purge and schedule purge utilities to reduce the amount of content that you migrate. To get access to these utilities, contact customer support.
Note: The WebFOCUS 7.7.x directory tree contains files and folders within the structure of a unified directory for ReportCaster and Managed Reporting. The WebFOCUS 7.6.x directory tree contains separate standalone directory trees for ReportCaster and Managed Reporting. The rcExport2XML.bat file within the WebFOCUS82\utilities\rc directory manages the migration of ReportCaster content can accommodate these variances, but it must be placed within the appropriate location as described in step 1 of this procedure.
Copy the drive:\ibi\WebFOCUS82\utilities\rc directory into the drive:\ibi\WebFOCUS76\ReportCaster directory.
Copy the drive:\ibi\WebFOCUS82\utilities\rc directory into the drive:\ibi\WebFOCUS77\ReportCaster directory.
:docall java %JAVA_OPTS% -Dfile.encoding=%ENCODING% -cp "%CLASSPATH%" ibi.broker.Export2XML %~dp0..\..\cfg %USERNAME% %PASSWORD% %EXPDIRLOC% %EXPLIB%,
and type the full path to Java SE 7.
Note: This is the Administrator ID and password that you configure in the ReportCaster Console. By default the Administrator ID is admin and the password is blank. Changing the password in Managed Reporting Administration does not change the ReportCaster configuration file. If you have not used the ReportCaster Console or the command line editit utility to change this id or password, the credentials to use for the migration extract are admin with a blank password.
If you selected 2, proceed to step 6. Otherwise, proceed to step 5.
Note: Library content will be additionally filtered by the rcLibraryExport2XML.properties file.
The migration script exports content owned by ReportCaster Administrators and the users specified by reposTree.xml. The following content is exported:
Schedules and Library Reports associated with Domains that are not listed in reposTree.xml are not exported.
If you choose to include non-Domain-based content, ReportCaster will also export non-Domain-based Schedules and Library Reports owned by ReportCaster Administrators and users specified by reposTree.xml.
WebFOCUS notifies you when the export process is complete. By default, the exported data saved in the drive:\ibi\WebFOCUS7x\ReportCaster\rc\rc_export directory, along with a log file named export_migration.log.
The export typically contains the following files and folders in addition to the log file:
Now you can import the exported ReportCaster content into WebFOCUS 8.2 Version 04.
Note: This is the Administrator ID and password that you configure in the ReportCaster Console.
Note: Library content will be additionally filtered by the rc71LibraryExport2XML.properties file.
The following content is exported:
WebFOCUS notifies you when the export process is complete. By default, the exported data saved in the drive:\ibi\WebFOCUS7x\ReportCaster\rc\rc_export directory, along with a log file named export_migration.log.
The export typically contains the following files and folders in addition to the log file:
Now you can import the exported ReportCaster content into WebFOCUS 8.2 Version 04.
Note: If you are migrating both Managed Reporting and ReportCaster content, you must perform the Managed Reporting migration before you import ReportCaster content from an earlier release.
When you perform a partial migration, you have multiple choices for how the target environment will handle the newly migrated resources:
You can select individual import behavior for Schedules and other non-Library content and for Library Reports. For example, you can choose to skip Schedules and other non-Library content and add new Library Reports. Add new resources (do not update), which is the default behavior, is also the most common selection.
WebFOCUS notifies you when the import is complete. The log file created from the import is saved in the drive:/ibi/WebFOCUS82/migration_import/rc_export directory.
WebFOCUS notifies you when the import is complete. The log file created from the import is saved in the drive:/ibi/WebFOCUS82/migration_import/rc_export directory.
WebFOCUS notifies you when the import is complete. The log file created from the import is saved in the drive:/ibi/WebFOCUS82/migration_import/rc_export directory.
How to: |
There is an alternate migration utility that enables a migration in place, that is, a conversion of a WebFOCUS 7.x release repository into a WebFOCUS 8 repository without requiring the export and import of the Report Library. This utility is located in the WebFOCUS82\utilities\WFReposUtil folder and is named upgrade7xDBto8x.bat for Windows and upgrade7xDBto8x.sh for UNIX and Linux. It is available for Oracle, Derby, Microsoft SQL Server 2008 and 2012, and IBM DB2 repositories.
The BOTLDATA table, which contains the report output stored in the Report Library, is the table with the largest amount of data. The new utility allows for migration of existing WebFOCUS 7.x ReportCaster BOT tables to WebFOCUS 8.2 Version 04 without dropping the WebFOCUS 7.x BOTLDATA table.
Note: Since migration in place converts a 7.x repository to an 8.2.04 repository, your 8.2.04 installation must be configured to use the 7.x repository at the time the migration in place is performed. If you configured a different repository during the 8.2.04 installation, you must change the 8.2.04 repository connection information before performing an in place migration.
Note: This option should be specified if Managed Reporting content is not being migrated.
As the script is running, you will see the output indicating the status of the migration process. This also provides some insight into the specific tasks that are included in this process.
The following standard migration logs should be used for review of any import errors:
drive:\ibi\WebFOCUS82\utilities\WFReposUtil\WFReposUtilCmdLine.log
drive:\ibi\WebFOCUS82\migration_import\export\mr_migrate_import.log
drive:\ibi\WebFOCUS82\migration_import\rc_export\rc_migrate_import.log
As is the case for all migrated ReportCaster content in WebFOCUS 8.2 Version 04, the schedules that run Reporting Server procedures are migrated to the ReportCaster folder. The Report Library content is migrated to the Library Content folder.
How to: |
After migration, ReportCaster content is placed in designated folders in WebFOCUS 8.2 Version 04. The migration import creates:
Two folders named ReportCaster and Library Content.
A My Content folder for each user who has migrated ReportCaster content. Schedules, Distribution Lists, and Access Lists that belong to a user are placed in the My Content folder for that user.
Folders for Categories under the Library Content folder. Under each Category folder, the import creates a Library item with the name of the migrated report and adds the report versions to that Library item. If the report is burst, a folder is created with the name of the report and a Library report item is created in that folder for each burst value. The report versions for each burst value are placed in the Library item for that burst value.
A Library Content folder under each domain folder that has Library report output. If that Library output was stored under a Category, the import also creates a Category folder under the Library Content. The Library item with the name of the migrated report is created under the Library Content or Category folder and the report versions are added to that Library item. If the report is burst, a folder is created with the name of the report and a Library report item is created in that folder for each burst value. The report versions for each burst value are placed in the Library item for that burst value.
When a schedule with distribution to a Prepared Report directory is migrated, the FTP Host and Location are set to the values of the Prepared Report directory in the previous installation. This schedule will continue to run, provided that the distribution server in WebFOCUS 8.2 Version 04 has FTP access to this location.
If you migrate WebFOCUS 7.x ReportCaster schedules to WebFOCUS 8.2 Version 04, and the Reporting Server node referenced in a particular schedule has not been defined in WebFOCUS 8.2 Version 04, the migration process will automatically create a Reporting Server node with that name in the ReportCaster configuration file of the WebFOCUS 8.2 Version 04 installation.
Migrated Managed Reporting schedules will display the Name information as the WebFOCUS 7.x path (HREF) value. New schedules created in WebFOCUS 8.2 Version 04 will display the IBFS path value.
If a Library report from a domain that has been deleted from Managed Reporting is migrated, the report will be placed in a folder in the repository. The folder is named after the original Domain HREF and appended with the words (Domain not Found).
When migrating from WebFOCUS 7.x release to WebFOCUS 8.2 Version 04, in order to view migrated applet-based graphs in the Report Library, the WebFOCUS 7.x ibi_html alias must exist in WebFOCUS 8.2 Version 04.
For example, if you have a WebFOCUS 7.x installation with an alias of ibi_html_7x, you will have a report with a src=ibi_html_7x/javaassist reference. If you install WebFOCUS 8.2 Version 04 with an alias of ibi_html_82 and migrate the library from a WebFOCUS 7.x release, you will not be able to view migrated reports that contain applet graphs. To prevent this, add the ibi_html_7x alias to the application server and point that alias to the WebFOCUS 8.2 Version 04 installation. You can have ibi_html_82 for the WebFOCUS 8.2 Version 04 installation, but you must also have ibi_html_77 for migrated reports that contain applet graphs to work.
How to: |
If you are migrating from a WebFOCUS 7.x release to WebFOCUS 8.2 Version 04, you must take additional steps to enable the display of the User Default Role tab in the Security Center and to configure the public user. If the WebFOCUS 7.x public user is named public, the user is migrated to WebFOCUS 8.2 Version 04 and assigned the WF_Role_Public UDR. However, if the user has been given another name, the account will be migrated but not automatically assigned the WF_Role_Public UDR. You must manually update this account if you wish to continue using it as the public user.
Regardless of the account name, the WebFOCUS Reporting Server credentials for the public user are not migrated from WebFOCUS 8.2 Version 04. The Reporting Server credentials must always be entered manually.
The Administration Console opens
The Security Center opens.
The New User or Edit User dialog box opens, with the Default Role tab enabled, as shown in the following image.
The WebFOCUS Reporting Server credentials for the public user are not migrated from WebFOCUS 8.2 Version 04 and must be entered manually. Additionally, if the public user is not named public, the account will be migrated but not automatically assigned the WF_Role_Public UDR. You must manually update this account if you wish to continue using it as the public user.
Note: The public user or Anonymous Access, is only available with a license that supports it.
The Administration Console opens.
The Security Center opens.
WebFOCUS | |
Feedback |