Topics: |
If you want to access monitor data from a previous release when upgrading Resource Governor, you must migrate the previous Resource Management repository contents into the new release repository.
The following conditions are required to migrate the Resource Management repository.
To turn off monitoring, use the server Web Console to Disable Monitoring & Governing. If you turn monitoring back on and continue to monitor in the old release, you must re-run the migration in order to migrate the newly monitored data.
Note: When you run the migration more than once, which is necessary if you continued monitoring in the old release after migration and want the newly monitored data to be migrated, you will get a duplicate record error message. The duplicates are ignored and the new records are added.
How to: |
You can migrate a Resource Management repository on UNIX, Windows, UNIX System Services, and IBM i for a new server install. For these platforms, the migration procedure is executed in a Web Console session.
Note: IBM i was formerly known as i5/OS.
To start the migration job:
or
From the navigation pane, right-click Resource Management, point to Migration, and then click Migrate old release.
Note: You can also perform this task by clicking the Workspace option in the sidebar, right-clicking Workspace in the navigation pane, and clicking Migrate.
Note: This is only required if the old release is Version 7.7.03.
The Resource Management Migration: Submit Migration Job pane opens, as shown in the following image.
The additional Configuration data options are:
Select Yes to migrate the old release log record preference settings to the system repository of the current server. Migrating this data will cause any existing log record preference data to be replaced with the data from the old release.
Select Yes to migrate the old release logging property settings to the system repository of the current server. Migrating this data will cause any existing logging properties data to be replaced with the data from the old release.
If you select Yes, additional options become available, as shown in the following image.
The additional options let you migrate data in smaller portions, instead of all at once. The available options are:
The starting date of the data to be migrated. The default value is the earliest date in the old repository.
The ending date of the data to be migrated. The default value is the latest date in the old repository.
Note: Only custom BRL members will be migrated. The SMKNBNAME value in SMCNTRL will not be migrated, and any Govern and/or Advise values will be set to OFF. Any compiled rule files must be rebuilt after the migration is completed, and new Govern and/or Advise values must be set.
or
From the navigation pane, right-click Resource Management, point to Migration, and click View jobs.
The Deferred List pane opens, displaying the list of deferred requests, and showing the request name that was displayed when the deferred migration job was scheduled. Examples of request names are listed in the Defer ID column, as seen in the following image.
The Status column shows the state of the deferred request, which can be Queued, Executing, or Ready. To see if the status has changed to Ready, either keep refreshing the page using the refresh options located at the top of the page, or redisplay the page at a later time. Once the status is Ready, right-click the request line and click Get to review the job output.
On the ribbon, in the Repository group, click Migration and then click Delete work files.
or
From the navigation pane, right-click Resource Management point to Migration, and click Delete work files.
Note: Once you choose to remove the old configuration files, the option to migrate data will no longer be available.
How to: |
You can migrate a Resource Management repository on UNIX, Windows, UNIX System Services, and IBM i after a server refresh. The migration information described below is only applicable if the server environment has been upgraded by performing the refresh option during the installation process. To refresh the server, follow the instructions in the Installation Guide for your platform.
Migration Usage Notes:
Once the refresh process has completed successfully, start the server and then the Web Console.
The migration is performed from the Web Console and consists of three phases:
For these platforms, the migration procedure is executed on a Web Console session.
Note: IBM i was formerly known as i5/OS.
If you start the Web Console session with security ON, a message is displayed, as shown in the following image.
This message indicates that the structure of the Resource Management repository has changed. A migration process is required in order to update the existing repository so that new data columns can be archived to the repository. If the migration process is not run, monitor data will still be collected and archived but without the new data columns.
You can:
The Resource Management Migration pane opens. The sequence of panes is slightly different depending on the repository type.
Note: If you start the Web Console session with security OFF, you will not see the message as described above. The Resource Management Migration pane will be immediately available after clicking Resource Management.
The following procedure details the steps for migrating a FOCUS or relational repository after a server refresh.
The options in the Create Repository drop-down menu are Yes, No, and DDL Only.
For Phase 1 - Create Repository Yes:
Select this option if you have DBA authority over the existing Resource Management repository tables. New repository tables will be created with a suffix of _nnnn, where nnnn reflects the release number. The process will continue at Phase 2.
For Phase 1 - Create Repository DDL Only:
Select this option if you do not have DBA authority over the existing Resource Management repository tables. This option creates a file, rmldb.sql, which contains RDBMS specific DDL.
Note: Your DBA must create the new repository tables in the same location as the original 7.7 tables, and both sets of tables have to be accessible on the same adapter connection on the server. The new tables will have the release number appended to the name. The format will be tablename_release.
The options are Yes or No.
Note:
For Phase 2 - Migrate data Yes:
Select this option to copy data from the old repository to the new one. When this option is selected, additional options become available, as shown in the following image.
The additional options let you migrate data in smaller portions, instead of all at once. The available options are:
The starting date of the data to be migrated. The default value is the earliest date in the old repository.
The ending date of the data to be migrated. The default value is the latest date in the old repository.
For Phase 2 - Migrate data No:
Select this option if you do not want data to be copied from the old repository to the new one.
To run the migration process at a later date, select Resource Management on the sidebar and on the ribbon, in the Repository group, click Migration, and click Submit job.
or
From the navigation pane, right-click Resource Management, point to Migration, and click Submit job.
The Resource Management Migration: Submit Migration Job pane will open on Phase 2.
or
From the navigation pane, right-click Resource Management, point to Migration, and click View job.
The Deferred List pane opens.
On the ribbon, in the Repository group, click Migration, and then click Delete work files.
or
From the navigation pane, right-click Resource Management, point to Migration, and click Delete work files.
Note: Once you choose to remove the old configuration files, the option to migrate data will no longer be available.
How to: |
This option is only available when migrating data from a new server install of Release 7.7. Repository migration is not available from earlier releases.
To start the migration job:
or
From the navigation pane, right click Resource Management, point to Migration, and then click Migrate old release.
Note: For help in identifying the dataset names required on the next two panes, see the chart in Step 6.
The dataset name of the Resource Management parameter file.
The dataset name of the FOCUS repository from the previous release.
The dataset that contains Resource Management system information.
For old release selections of 7703 or 7704, this is the dataset name that contains the Master File profile members. They are RMLPD773 (7703) or RMLPD774 (7704) and RMLPRFSY (both releases).
For all other releases, the same pane will show but without the Create 7.6 compatibility masters option available. The following options are available:
Select Yes if the previous releases system data should be migrated. If Yes is selected, SMCNTRL, SMPRMTRS and SMPRL data will be migrated. Only custom BRL members will be migrated. The SMKNBNAME value in SMCNTRL will not be migrated and any Govern and/or Advise values will be set to OFF. Any compiled rule files must be rebuilt after the migration is completed, and new Govern and/or Advise values must be set. The default value is No.
For releases 7700 – 7702, 7703 and 7704, if Yes is selected, one or two additional input boxes are shown depending on the old release selection.
All of the names in the following chart require QUALIF.servertype as a prefix.
Where servertype can be FFS, WFS, or DM.
Dataset name |
7704-7706 |
---|---|
GKTABLE |
CONF.PRF |
REPOSITORY** |
RMLDB.FOCUS |
RMLSYS* |
RMLSYS.FOCUS |
CONFIGURATION |
CONF.CFG |
* Only required when migrating system data.
** Only required if old repository is FOCUS.
If you select Yes, additional options become available.
The additional options let you migrate data in smaller portions, instead of all at once. The available options are:
The starting date of the data to be migrated. The default value is the earliest date in the old repository.
The ending date of the data to be migrated. The default value is the latest date in the old repository.
or
From the navigation pane, right-click Resource Management, point to Migration, and click View job.
The Deferred List pane opens, displaying the list of deferred requests and showing the request name that was displayed when the deferred migration job was scheduled. Examples of request names are listed in the Defer ID column.
The Status column shows the state of the deferred request, which can be Queued, Executing, or Ready. To see if the status has changed to Ready, either keep refreshing the page using the refresh options located at the top of the page, or redisplay the page at a later time. Once the status is Ready, right-click the request line and click Get to review the job output.
On the ribbon, in the Repository group, click Migration and then click Delete work files.
or
From the navigation pane, right-click Resource Management, point to Migration, and click Delete work files.
Note: Once you choose to remove the old configuration files, the option to migrate data will no longer be available.
WebFOCUS | |
Feedback |