MIGRATE
The MIGRATE action imports configuration settings from a runtime environment that is configured with PARMGEN to one that is configured with Configuration Manager.
Before you begin
- If you migrate a runtime environment that is configured with PARMGEN to one that is configured with Configuration Manager, you can no longer use PARMGEN to configure the runtime environment. For more information, see Comparison with PARMGEN.
- In this task, source refers to the runtime environment that is configured with PARMGEN, and target refers to the runtime environment that is configured with Configuration Manager.
- Migration works only for OMEGAMON products that are supported by Configuration Manager. If the migration source contains other products configured by PARMGEN that are not supported by Configuration Manager, error message KFJ00001E is issued for the MIGRATE action in the KCIPRINT output, and the job ends. For the list of supported products, see Products supported by Configuration Manager.
- Consider the naming convention that you will use for your target runtime environment. Source and
target runtime environments can share the same high-level qualifier, which is referred to as an
in-place migrate. Note: Whereas PARMGEN stores parameters in rte_plib_hilev.rte_name.WCONFIG for each runtime environment, Configuration Manager stores parameters and variables in rte_plib_hilev.RTEDEF, which can contain definitions for multiple runtime environments. For more information about the differences between PARMGEN and Configuration Manager, see Comparison with PARMGEN.
- The MIGRATE action supports migrating one or multiple PARMGEN runtime
environments into a single Configuration Manager
RTEDEF configuration. It is recommended that you decide prior to the migration
of your first runtime environment whether you plan to migrate one or multiple runtime environments
into a single RTEDEF.Note: If you are going to set up a High Availability TEMS (HA TEMS), make sure only one runtime environment is defined in the RTEDEF (that is, the one used for the HA TEMS).
- For parameters that describe data set qualifiers, the
MIGRATE action does not migrate parameters that have been customized with
hardcoded values that partially match the PARMGEN RTE_HILEV parameter value.
For example, if in your PARMGEN configuration, you have set parameter
KD2_OMPE_DSHLQ to use value TEST.RTE1.HLQ1, and
RTE_HILEV is set to "TEST.RTE1", then
KD2_OMPE_DSHLQ will not be migrated.
Before migrating from PARMGEN to Configuration Manager, review your customized parameters that describe data set qualifiers. If you have customized data set names that partially match your PARMGEN configuration RTE_HILEV value, but use a hardcoded value instead of parameter reference %RTE_HILEV%, you must update the value to use %RTE_HILEV% in order for the parameter to migrate successfully.
- Before performing a MIGRATE action, make sure you have a backup of your source PARMGEN runtime environment. The next step in Configuration Manager after a migration is to generate runtime members using the GENERATE action. If you perform an in-place migration, the subsequent GENERATE action will overwrite the runtime environment data sets that were used by PARMGEN.
About this task
With the MIGRATE action, you can import existing PARMGEN runtime environment
configuration settings from a specific WCONFIG member into the Configuration Manager
rte_plib_hilev.RTEDEF
. The MIGRATE action
reads the WCONFIG and other data sets from a PARMGEN installation, from which
it creates the sparse descriptors
containing the parameters, hiding every parameter setting that is considered a default or has not
been changed. It also copies other files for system variables support, embed overrides, and security
exits that are required to support the migration.
- The MIGRATE action supports migrating one PARMGEN runtime environment at a time.
- You can migrate one or more PARMGEN runtime environments into a single Configuration Manager
RTEDEF configuration. The default behavior of the MIGRATE
action is to migrate only one runtime environment into the RTEDEF data set.
Using the OPTION MULTIPLE parameter, you can migrate multiple runtime
environments into a single RTEDEF data set. Each runtime environment migration
requires a separate MIGRATE action job. If you plan to migrate multiple runtime
environments into a single RTEDEF data set, make sure to include the
OPTION MULTIPLE parameter on every MIGRATE action job,
including the first one.Note: You can abbreviate OPTION MULTIPLE to OPTION MULTI.
- The MIGRATE action creates the necessary members in the
RTEDEF data set, as follows:
- When using the default behavior of the MIGRATE action to migrate one runtime environment into a single RTEDEF data set (omitting the OPTION MULTIPLE parameter), the MIGRATE action will create members of type Kpp$PARM in the respective created RTEDEF data set, along with the rte_name member for the runtime environment-specific parameters.
- When migrating multiple runtime environments into a single RTEDEF
configuration, use parameter OPTION MULTIPLE and KFJ_SYSNAME
lpar in KCIVARS DD. The MIGRATE action will
create members of type Kpp$lpar in the
RTEDEF data set, along with the rte_name member for the
runtime environment-specific parameters.
On subsequent runs of the MIGRATE action, reuse the same RTE_PLIB_HILEV parameter value, but update the values for parameters RTE_NAME, KFJ_MIGRATE_WCONFIG, and KFJ_SYSNAME to create a new set of runtime environment parameter members. There is no limit on how many runtime environments can be migrated into a single RTEDEF data set.
- If the MIGRATE action detects that a specified target RTEDEF already contains Kpp$lpar and rte_name members, MIGRATE issues an error message and stops. Note that MIGRATE will detect Kpp$PARM and VAR$GLOB members in RTEDEF as well. Because these members are considered to have a sysplex scope, they can only exist in RTEDEF during the migration process if no additional Kpp$lpar members are intended to be migrated into the same RTEDEF. Depending on the case, any of the following messages might appear: KFJ00218E, KFJ00219E, KFJ00220E
- The MIGRATE action accepts PARMGEN runtime environments with system variables. However, system variables are not copied unless you have chosen to override them in your PARMGEN configuration. Variables are copied to the RTEDEF member VAR$GLOB for a default (single) MIGRATE action or member VAR$lpar in a multiple MIGRATE action.
- The MIGRATE action allocates the security exits library with the default name
rte_plib_hilev.rte_name.SECEXITS (or,
optionally, the name specified in the KFJ_SECURITY_EXITS_LIB parameter). The
MIGRATE action also copies the security exits used by the PARMGEN environment to
the specified security exits library, and defines the source security exits library to the runtime
environment using the RTE_X_SECURITY_EXIT_LIB parameter. For more information,
see Setting up security exits in your runtime environment.Important: The RTE_X_SECURITY_EXIT_LIB parameter will contain the name of the security exits library used by the source PARMGEN environment; you must review this setting and update it if necessary before running the GENERATE action.
- If the use of override embed members is enabled by
specifying parameter KFJ_USE_EMBEDS set to
Y
, the MIGRATE action allocates the embeds data set with the default name rte_plib_hilev.rte_name.EMBEDS (or, optionally, the name specified in the KFJ_EMBEDS_LIB parameter). The MIGRATE action sets up the embeds data set, populates it with supported override embed parameters (if applicable), and defines it to the runtime environment using the RTE_X_OVERRIDE_EMBEDS_LIB parameter. For more information, see Using override embed members in Configuration Manager. - The MIGRATE action works with the KFJ_LOCAL_PLIB_HILEV
parameter to allow for local generation of runtime environments for remote systems using different
high-level qualifiers.
When the KFJ_LOCAL_PLIB_HILEV parameter is specified, the generated kfj_local_plib_hilev.RTEDEF data set will contain an additional member: PCK$PARM for a default (single) MIGRATE action, or member PCK$lpar in a multiple MIGRATE action. This member allows locally generated runtime environments using a different data set high-level qualifier than the one intended to be used on the deployment target (for example, the production system).
For more information about remote deployments, see Special considerations for SYSPLEX rollout, RTEDEF(PCK$PARM), and Remote deployment scenario.
- Parameters that are migrated to the RTEDEF data set because their values are different from the default values
- Parameters that are always migrated, regardless of values being default or not
- Parameters that are not migrated because of having default values
- Parameters that are not migrated because they match the PARMGEN RTE_HILEV parameter value
This report provides each parameter with its resolved value. Note that some parameters use system variables or are dependent on other parameters, and some parameters inherit values from other parameters and might be regarded as having default values. Additionally, some parameters have different default values than PARMGEN, as outlined in Parameters with different default values than PARMGEN.
Procedure
Example
The following JCL jobs migrate an existing PARMGEN configuration pointed to by
highlevel.WCONFIG
into an RTEDEF library
TSOUID.MONSUITE.RTEDEF
. The first example is for a single runtime environment
RTEDEF, and the second example is for a multiple runtime environment
RTEDEF. These examples also specify that override embed members are enabled and
provide custom data set names for the security exits and embeds libraries.