Migrating WebFOCUS Data and Settings

In this section:

This section describes WebFOCUS migration considerations and provides the procedures for migrating WebFOCUS data and settings.

For information on migrating Reporting Server configuration settings, see the Server Administration for UNIX, Windows, OpenVMS, IBM I, and z/OS manual.

Note: The following special considerations apply to WebFOCUS migration:


Top of page

x
Migrating Managed Reporting Data and Settings

How to:

The following types of authentication and authorization models can be migrated from WebFOCUS 7.x to WebFOCUS 8. Managed Reporting authorization rules from these authorization scenarios are migrated, but the security settings are not.

In WebFOCUS 8, the migration:

Note:



x
Procedure: How to Export Managed Reporting Data and Settings From WebFOCUS 7.x

The Managed Reporting migration utility exports the current 7x 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 drive (SQL Repository or AD/LDAP) is also retrieved and extracted.

Note:

  1. Copy the drive:\ibi\WebFOCUS80\utilities\mr directory into the drive:\ibi\WebFOCUS7x\utilities directory.
  2. From the pasted directory, run mr7xto80export.bat in a Windows environment or mr7xto80export.sh on UNIX or Linux environments.

    You are prompted for the WebFOCUS version from which you are migrating.

  3. Select the appropriate version.

    WebFOCUS notifies you when the export process is complete. By default, the export log is saved in the WebFOCUS7x\utilities\mr\export directory and named mr_migrate_export.log.

    In addition to the log file, the export typically contains the following files and folders:

    • groups.xml
    • psets.xml
    • repos.xml
    • roles.xml
    • rules.xml
    • users.xml
    • root
    • root\WC\UserInfo
    • root\WFS\Repository and all content below it in the WebFOCUS 7.x repository

  4. Copy the WebFOCUS7x\utilities\mr\export directory into the WebFOCUS80\migration_import directory.

    These files will be imported into the new WebFOCUS 8 repository in a separate procedure.

Now you can import the exported Managed Reporting data and settings into WebFOCUS 8.



x
Procedure: How to Import Managed Reporting Data and Settings Into WebFOCUS 8

You must have already created and initialized the 8 database repository with the default values contained within the initial load, using WFReposUtil and the original XML.

  1. Verify the import package by running the drive:\ibi\WebFOCUS80\utilities\mr\mr_migrate_import_check.bat script in a Windows environment or the drive:/ibi/WebFOCUS80/utilities/mr/mr_migrate_import_check.sh script in a UNIX or Linux environment.
  2. If prompted, enter a Managed Reporting ID and password.
  3. Select one of the following options to set the logging level:
    • 1 for info. This is the recommended setting.
    • 2 for debug.
    • q to quit the verification process.
    WebFOCUS notifies you when the verification is complete.
  4. Import the Managed Reporting data and settings by running the drive:\ibi\WebFOCUS80\utilities\mr\mr_migrate_import.bat script in a Windows environment or the drive:/ibi/WebFOCUS80/utilities/mr/mr_migrate_import.sh script in a UNIX or Linux environment.

    Note: User IDs longer than 64 characters may cause errors in the import process.

  5. If prompted, enter a Managed Reporting ID and password.
  6. Select one of the following options to set the logging level:
    • 1 for info. This is the recommended setting.
    • 2 for debug.
    • q to quit the import process.

WebFOCUS notifies you when the import is complete. Logs are saved in the drive:\WebFOCUS80\migration_import\export directory, along with the import log file, which is named import_migration.log.


Top of page

x
Migrating Dashboard Data and Settings

How to:

When Dashboard data and settings are migrated to WebFOCUS 8, the data is extracted from the earlier release into a file named migrate.zip. You can then copy the zip file to the WebFOCUS 8 Server, then run the migration utility to import the data from the file into WebFOCUS 8. You must use the Dashboard Migration utility to import the data. Manually copying directories and files into the WebFOCUS80 directory structure does not guarantee a functioning Dashboard environment.

The Dashboard Migration utility is in the drive:\ibi\WebFOCUS80\utilities\mr directory. It is named bid_migrate_extract.bat in Windows and bid_migrate_extract.sh in UNIX. It copies the relevant Dashboard files from the drive:\ibi\WebFOCUS7x\worp directory for use with the latest WebFOCUS release. The entire worp directory is not migrated, only the worp_users and worp_custom folders, and (if it exists) the userdata folder.

To migrate custom template directories located in the worp/worp_html directory automatically, prefix the custom template directory names with custom_. If the directory names are not prefixed with custom_, you can manually copy the custom templates to the drive:\ibi\WebFOCUS80\worp_html directory. If they exist, the mpv.xml and xxxx.tbx files are also migrated from the drive:\ibi\WebFOCUS7x\worp\worp\conf directory.

Note:



x
Procedure: How to Export Dashboard Data and Settings in a Windows Environment
  1. Copy the drive:\ibi\WebFOCUS80\utilities\mr directory into the drive:\ibi\WebFOCUS7x\utilities directory.
  2. Stop your web and application servers.
  3. Run drive:\ibi\WebFOCUS7x\utilities\mr\bid_migrate_extract.bat.

    The Dashboard Migration Utility dialog box appears.

  4. Select Extract an existing Dashboard environment and click Next.
  5. Specify the worp directory for the existing Dashboard environment and click Next.

    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.

  6. Select the release from which you are migrating and click Next.

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.



x
Procedure: How to Export Dashboard Data and Settings in a UNIX Environment
  1. Stop your web and application servers.
  2. Run the drive:/ibi/WebFOCUS7x/utilities/mr/bid_migrate_extract.sh script.

    The Dashboard Migration prompt is displayed.

  3. Enter 1 to export Dashboard data from the old release.

    WebFOCUS displays a default path to the worp directory.

  4. If the directory listed is correct, press Enter. If the directory listed is incorrect, type the correct directory path and press Enter.

    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.

  5. If the default path is correct, press Enter. Otherwise, specify the path to the worp directory.

    The utility prompts for the WebFOCUS release number from which you are migrating.

  6. Enter one of the following values to specify the release from which you exporting data, and click Next. Valid options are:
    • 1 for WebFOCUS 7.7
    • 2 for WebFOCUS 7.6
    • 3 for WebFOCUS 7.1
    • 4 to exit the migration utility.

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.



x
Procedure: How to Import Dashboard Data and Settings in a Windows Environment
  1. Copy the migrate.zip file from the drive:\ibi\WebFOCUS7x\utilities\mr directory into the drive:\ibi\WebFOCUS80\migration_import directory.
  2. Stop your web and application servers.
  3. Run drive:\ibi\WebFOCUS7x\utilities\mr\bid_migrate_import.bat.
  4. Select the release of the and click Next.

WebFOCUS notifies you when the data is successfully loaded in the database. The bid_load.log file is created in the drive:\ ibi\WebFOCUS80\migration_import directory.



x
Procedure: How to Import Dashboard Data and Settings in a UNIX Environment
  1. Copy the migrate.zip file from the drive:/ibi/WebFOCUS7x/utilities/mr directory to the drive:/ibi/WebFOCUS80/migration_import directory.
  2. Stop your web and application servers.
  3. Run the drive:/ibi/WebFOCUS7x/utilities/mr/bid_migrate_import.sh script.

    The Dashboard Migration Utility prompt appears.

  4. Enter 2 to import data into WebFOCUS 8.

WebFOCUS notifies you when the data is successfully loaded in the database. The bid_load.log file is created in the drive:/ibi/WebFOCUS80/migration_import directory.


Top of page

x
Migrating Favorites and Mobile Favorites

How to:

In WebFOCUS 8, Favorites and Mobile Favorites content is stored in the database repository. A utility is provided to migrate the Favorite and Mobile Favorites list of items for a user. The migration step is to be performed after the Managed Reporting and Business Intelligence Dashboard migration steps have been completed.

The Favorites content found in the favorites.xml file under the following user directory will be migrated to the new database repository, drive:/ibi/WebFOCUS80/worp/worp_users/username.



x
Procedure: How to Migrate Favorites and Mobile Favorites in a Windows Environment
  1. Edit user ID and password in the favoritesmigration.bat file, if necessary. The user ID and password are set to admin, by default.
  2. Run the drive:\ibi\WebFOCUS80\utilities\bip\favoritesmigration.bat script.
The favorites_migration.log file is created in the drive:\ibi\WebFOCUS80\utilities\bip directory.


x
Procedure: How to Migrate Favorites and Mobile Favorites in a UNIX environment
  1. Edit the user ID and password in the favoritesmigration.sh file, if necessary. The user ID and password are set to admin, by default.
  2. Run the drive:/ibi/WebFOCUS80/utilities/bip/favoritesmigration.sh script.
The favorites_migration.log file is saved in the drive:/ibi/WebFOCUS80/utilities/bip directory.

Top of page

x
Migrating ReportCaster Data and Settings

In this section:

How to:

To migrate ReportCaster content from WebFOCUS 7.x to WebFOCUS 8, you need to export the content from WebFOCUS 7.x and then import it into WebFOCUS 8.



x
Procedure: How to Export ReportCaster Data and Settings From WebFOCUS Version 7.x
  1. If you are migrating from:
    • WebFOCUS 7.7, copy the drive:\ibi\WebFOCUS80\utilities\rc directory into the drive:\ibi\WebFOCUS77\ReportCaster directory.

    • WebFOCUS 7.6, copy the drive:\ibi\WebFOCUS80\utilities\rc directory into the drive:\ibi\ReportCaster76 directory.

    • WebFOCUS 7.1, copy the drive:\ibi\WebFOCUS80\utilities\rc directory into the drive:\ibi\ReportCaster71 directory.

  2. If you are migrating from:
    • WebFOCUS 7.7 or WebFOCUS 7.6, run rcExport2XML.bat on Windows or rcExport2XML.sh on UNIX or Linux.

    • WebFOCUS 7.1, run rc71Export2XML.bat on Windows or rc71Export2XML.sh on UNIX or Linux.

  3. You are prompted for a user ID and password and asked whether you want to export Library content.

    The scripts export the current 7.x ReportCaster repository, including Schedules, Distribution Lists, Library Access Lists, Execution IDs, Blackout Dates, and Library content.

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 data and settings into WebFOCUS 8.



x
Procedure: How to Import ReportCaster Data and Settings Into WebFOCUS 8

Note: If you are migrating Managed Reporting content, you must run Managed Reporting migration before you import ReportCaster content from an earlier release.

To import ReportCaster content from WebFOCUS 7.x into WebFOCUS 8:

  1. Copy the drive:\ibi\WebFOCUS7x\ReportCaster\rc\rc_export directory into the drive:\ibi\WebFOCUS80\migration_import directory.
  2. Import the ReportCaster data and settings by running the drive:\ibi\WebFOCUS80\utilities\rc\rc_migrate_import.bat script in a Windows environment or the drive:/ibi/WebFOCUS80/utilities/rc/rc_migrate_import.sh script in a UNIX or Linux environment.
  3. When prompted, enter a user ID and password and specify whether you migrating Managed Reporting content and Library reports.

WebFOCUS notifies you when the import is complete. The log file created from the import is saved in the drive:/ibi/WebFOCUS80/migration_import/rc_export directory.



x
Migrated ReportCaster Content

After migration, ReportCaster content is placed in designated folders in WebFOCUS 8. The migration import creates:

The following image shows the folder structure after a migration import.



x
Migration in Place

As of WebFOCUS Release 8.0 Version 02, there is an alternate migration utility that enables a migration in place, that is, a conversion of a WebFOCUS 7.x repository into a WebFOCUS 8 repository without requiring the export and import of the Report Library. This utility is located in the WebFOCUS80\utilities\WFReposUtil folder and is named upgrade7xDBto8x.bat for Windows and upgrade7xDBto8x.sh for UNIX and Linux. It is available for Oracle, Derby, and Microsoft SQL Server 2008 and 2012 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 8without dropping the WebFOCUS 7.x BOTLDATA table.



x
Procedure: How to Migrate in Place
  1. Ensure that there is a database backup of the existing WebFOCUS 7.x ReportCaster repository tables. This is a best practice when running the migration process several times during testing.
  2. If Managed Reporting content is being migrated, follow the WebFOCUS 8 export steps in Migrating Managed Reporting Data and Settings.
  3. Copy the exported Managed Reporting content (…/utilities/mr/export) to the WebFOCUS 8 migration_import directory.
  4. Follow the WebFOCUS 8 export steps for ReportCaster in Migrating ReportCaster Data and Settings.

    Note: When prompted for the export library option, type 2 (false), as shown in the following image. This option will export the Library report references, but will not export the actual report output.

  5. Copy the exported ReportCaster content (utilities/rc/rc_export) to the WebFOCUS 8 migration_import directory.
  6. Review and modify the upgrade7xDBto8x script, as shown in the following image:

    1. If you are migrating Managed Reporting content, change MR_ENABLED to yes.
    2. After you complete the above steps and are ready to run the migration script, change RUN_TYPE to actual.
  7. Run the upgrade7xDBto8x script, as shown in the following image.

  8. When prompted for repository credentials, as shown in the following image, type the ID and password. These credentials are validated against the repository credentials specified in the WebFOCUS 8 webconfig.xml file.

  9. When prompted for a valid WebFOCUS credentials, type WebFOCUS 8 administrator ID and password (for example, admin/admin).
  10. At the following prompt, enter 1 or 2 to indicate whether the Managed Reporting import has already been done or if the ReportCaster import should be used to create new WebFOCUS groups and users. Option 2 should be specified if Managed Reporting content is not being migrated.

  11. Even though the actual reports are not technically being migrated, the Library report references and links to the reports need to be migrated. When prompted to import Library reports, type 1 (yes), as shown in the following image.

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 standard migration logs should be used for review of any import errors:

  • Repository Creation and Load
    drive:\ibi\WebFOCUS80\utilities\WFReposUtil\WFReposUtilCmdLine.log
  • Managed Reporting
    drive:\ibi\WebFOCUS80\migration_import\export\mr_migrate_import.log
  • ReportCaster
    drive:\ibi\WebFOCUS80\migration_import\rc_export\rc_migrate_import.log

As is the case for all migrated ReportCaster content in WebFOCUS 8, the schedules that run Reporting Server procedures are migrated to the ReportCaster folder. The Report Library content is migrated to the Library Content folder, as shown in the following image.


Top of page

x
Post-Migration Steps

How to:

After migration, 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 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. The Reporting Server credentials must always be entered manually.



x
Procedure: How to Display the User Default Role Tab in the Security Center
  1. Sign in to WebFOCUS 8 as an administrator and select Administration Console from the Administration menu.

    The Administration Console appears

  2. In the navigation pane, expand the Configuration node and then select Other.
  3. Set IBI_Enable_UDR to True, save your changes, and close the Administration Console.
  4. In the Portal, select Security Center from the Administration menu.

    The Security Center appears.

  5. Click the New User button or select an existing user and click Edit User.

    The New User or Edit User dialog box appears, with the Default Role tab enabled, as shown in the following image.

    New User dialog box with Default Role tab enabled



x
Procedure: How to Configure the Public User

The WebFOCUS Reporting Server credentials for the public user are not migrated from WebFOCUS 8 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.

  1. Sign in to WebFOCUS 8 as an administrator and select Administration Console from the Administration menu.

    The Administration Console appears

  2. In the navigation pane, expand the Configuration node and then the Application Settings node, and then select Other.
  3. If the public user is named public, proceed to step 4. If the public user account has another name, enter the name in the IBI_Anonymous_User field.
  4. Enter the Reporting Server user ID and password in the IBI_Anonymous_WFRS_User and IBI_Anonymous_WFRS_Pass fields respectively.
  5. Save your changes and restart the application server.
  6. If the public user is named public, you have finished configuring the public user. If the public user account has another name, sign in to WebFOCUS again and select Security Center from the Administration menu.

    The Security Center appears.

  7. Select the public user, right-click, and select Edit.
  8. Click the Default Role tab.
  9. Select the WF_Role_Public role. If any other roles are assigned to the public user, remove them, then click OK to return to the Security Center.
  10. Add the public user to the Anonymous group and click Close to exit the Security Center.
The public user is now configured.

WebFOCUS