In situations where you cannot use remote journaling for database replication, this checklist will configure a new installation that uses MIMIX source-send processes for database replication. System journal replication is also configured. Because this configuration does not use remote journaling as part of the database replication path, best practice capabilities that rely on remote journaling are not possible. You will not be able to use shipped default values in the step that creates data groups.
This checklist will create a configuration that uses application groups, which is the best practice. However, if you need to configure a new installation in which data groups will not be associated with application groups, you can still use this checklist. When application groups are not used, you can skip Step 7, Step 8, and Step 9.
To configure a source-send environment, perform the following steps on the system that you want to designate as the management system of the MIMIX installation:
-
Communications between the systems must be configured and operational before you start configuring MIMIX.
a.If communications is not configured, refer to System-level communications for more information.
b.If you have TCP configured, verify that is it is operational using the PING command.
-
Create system definitions for the management system and each of the network systems for the MIMIX installation. Use topic Creating system definitions.
-
Create transfer definitions to define the communications protocol used between pairs of systems. A pair of systems consists of a management system and a network system. Use topic Creating a transfer definition.
-
Ensure that the Lakeview TCP server is running on each system defined in the transfer definition. You can use the Work with Active Jobs (WRKACTJOB) command to look for a job under the MIMIXSBS subsystem with a function of PGM-LVSERVER. If the Lakeview TCP server is not active on a system, use topic Starting the TCP/IP server.
Note: Default values for transfer definition enable MIMIX to create and manage autostart job entries for the server. If your transfer definitions prevent this, you can create and manage your own autostart job entries. For more information see Using autostart job entries to start the TCP server. -
Start the MIMIX managers using topic Starting the system and journal managers. When the system manager is running, configuration information for data groups will be automatically replicated to the other system as you create it.
-
Verify that the communications link defined in each transfer definition is operational using topic Verifying a communications link for system definitions.
-
Create the application groups to which you will associate the data groups using topic Creating an application group definition. Skip this step if the environment you are configuring will not use application groups.
-
Add a data resource group entry to the application group using topic Adding a resource group to an application group. Skip this step if the environment you are configuring will not use application groups.
-
Identify what node (system) will be the primary node for each application group, using Specifying the primary node for the application group. Skip this step if the environment you are configuring will not use application groups.
-
Create the data group definitions that you need using topic Creating a data group using values other than defaults. Be sure to specify *NO for the Use remote journal link prompt.
-
Confirm that the journal definitions which have been automatically created have the values you require. For information, see Configuration processes that create journal definitions, Tips for journal definition parameters, and Journal definition considerations.
-
If the journaling environment does not exist, use topic Building the journaling environment to create the journaling environment.
-
Use Table 131 to create data group entries for this configuration. This configuration requires object entries and file entries for legacy cooperative processing of PF data files. For other object types or classes, any replication options identified in planning topic Replication choices by object type are supported.
How to configure data group entries for a new MIMIX source-send configuration.Class
Do the following:
Planning and Requirement Information
Library-based objects
-
Create object entries using Creating data group object entries.
-
After creating object entries, load file entries for PF (data) *FILE objects using Loading file entries from a data group’s object entries.
-
After creating object entries, load object tracking entries for *DTAARA and *DTAQ objects to be replicated from a user journal. Use Loading object tracking entries.
Identifying library-based objects for replication
IFS objects
-
Create IFS entries using Creating data group IFS entries.
-
After creating IFS entries, load IFS tracking entries for IFS objects to be replicated from a user journal. Use Loading IFS tracking entries.
DLOs
Create DLO entries using Creating data group DLO entries.
-
-
Do the following to confirm and automatically correct any problems found in file entries associated with data group object entries:
a.From the management system, temporarily change the Action for running audits policy using the following command:
SETMMXPCY DGDFN(
name system1 system2
) RULE(*NONE) RUNAUDIT(*CMPRPR)
b.From the source system, type
WRKAUD RULE(#DGFE)
and press Enter.c.Next to the data group you want to confirm, type
9
(Run rule) and pressF4
(Prompt).d.On the Run Rule (RUNRULE) display specify
*NO
for the Use run rule on system policy prompt. Then press Enter.e.Check the audit status for a value of *NODIFF or *AUTORCVD. If the audit results in any other status, resolve the problem. For additional information, see Resolving auditing problems and Interpreting results for configuration data - #DGFE audit .
f.From the management system, set the Action for running audits policy to its previous value. (The default value is *INST.) Use the command:
SETMMXPCY DGDFN(
name system1 system2
) RULE(*NONE) RUNAUDIT(*INST)
-
Optionally, you can manually deploy data group configuration within MIMIX. Although MIMIX will automatically deploy configuration information when data groups are started, manually deploying is recommended for new data groups. Manual deploying allows you the opportunity to validate the list of objects to be replicated and the initial start of the data groups will be faster. Use the procedure Manually deploying configuration changes.
-
Ensure that object auditing values are set for the objects identified by the configuration before synchronizing data between systems. Use the procedure Setting data group auditing values manually. Doing this now ensures that objects to be replicated have the object auditing values necessary for replication and that any transactions which occur between configuration and starting replication processes can be replicated.
-
Start journaling using the following procedures as needed for your configuration.
Note: If the objects do not yet exist on the target system, be sure to specify *SRC for the Start journaling on system (JRNSYS) parameter in the commands to start journaling.-
For user journal replication, use Journaling for physical files to start journaling on both source and target systems.
-
For IFS objects, configured for user journal replication, use Journaling for IFS objects.
-
For data areas or data queues configured for user journal replication, use Journaling for data areas and data queues.
-
-
Synchronize the database files and objects on the systems between which replication occurs. Topic Performing the initial synchronization identifies options available for synchronizing and identifies how to establish a synchronization point that identifies the journal location that will be used later to initially start replication.
-
Confirm that the systems are synchronized by checking the libraries, folders and directories contain expected objects on both systems.
-
Start the data group using Starting data groups for the first time.
-
For configurations that use application groups, after you have started data groups as described in Step 20, start the application groups using Starting an application group.
-
Customize the step programs that end and start user applications before and following a switch using Customizing step programs within shipped procedures.
-
Verify your configuration. Topic Verifying the initial synchronization identifies the additional aspects of your configuration that are necessary for successful replication.