The operation and administration features of Adabas allow you to activate replication, define files to be replicated, and configure other Adabas features related to the Event Replicator for Adabas. Event Replicator for Adabas administration also involves the configuration of both the Adabas nucleus and the Event Replicator Server components.
You can perform Event Replicator for Adabas administration tasks using standard Adabas utilities and database initialization parameters or the Adabas Online System (AOS) and its Adabas Event Replicator Subsystem. This document provides more information on Adabas and Event Replicator Server database administration tasks related to replication.
The following replication setup should be performed for an Adabas database you want replicated.
If you are defining a database, be sure to specify the DEFINE REPTOR=NO parameter of the ADADEF utility to indicate that the database is not an Event Replicator Server. For more information, read ADADEF DEFINE REPTOR Function.
You can modify this setting later using the MODIFY REPTOR parameter of the ADADEF utility. For more information, read ADADEF MODIFY REPTOR Function.
The ADARUN REPLICATION=YES parameter must be specified for the database from which you want files replicated. For more information, read REPLICATION Parameter.
The ADARUN LRPL parameter must specify the size of the Adabas replication pool. For more information, read LRPL Parameter.
Using the Adabas Online System or the REPLICATION parameter of the ADADBS utility, activate or deactivate replication for the files in the Adabas database. For more information, read Adabas Online System Features Supporting Event Replicator for Adabas or ADADBS REPLICATION Function.
Use the ADALOD LOAD RPLTARGETID parameter or the Adabas Online System screens to identify the target Event Replicator Server to which replicated records from each database file should be transmitted. You can also optionally specify the primary key for replication (RPLKEY parameter) for the file and whether or not before images of data storage are collected for replication (RPLDSBI parameter) during an update command to the file. For more information, read Adabas Online System Features Supporting Event Replicator for Adabas or ADALOD LOAD Parameters.
The ADAREP utility provides information about the status of replication for the database and files, as well as for the Event Replicator Server.
The following replication setup should be performed for an Event Replicator Server.
If you are defining the Event Replicator Server, be sure to specify the DEFINE REPTOR=YES parameter of the ADADEF utility to indicate that the database is an Event Replicator Server. For more information, read ADADEF DEFINE REPTOR Function.
You can modify this setting later using the MODIFY REPTOR parameter of the ADADEF utility. For more information, read ADADEF MODIFY REPTOR Function.
Event Replicator Server definitions must be defined for:
The target destinations to which you want replicated data sent.
Subscriptions that specify the replication processing, transformation, and filtering that should occur for specific files.
The messaging system input queues you will be using.
Other definitions can also be specified, but are not required as, in many cases, defaults are provided. For complete information about Event Replicator Server definitions, read Replication Definition Overview and Maintenance or Event Replicator Initialization Parameters .
These definitions can be specified using either or both DDKARTE initialization parameters in the Event Replicator Server startup job or definitions in the Replicator system file. Replicator system file definitions are maintained using the Adabas Online System's Adabas Event Replicator Subsystem. If your definitions are to be stored in the Replicator system file, you will need to use the ADALOD LOAD REPLICATOR parameter to load a Replicator system file into the Event Replicator Server. For more information, read ADALOD LOAD Parameters.
The ADARUN RPLPARMS parameter must be specified to identify where the replication definitions should be read from. For more information, read RPLPARMS Parameter.
The ADARUN LRPL parameter must specify the size of the Event Replicator Server replication pool. For more information, read LRPL Parameter.
Using the Adabas Online System or the REPTOR parameter of the ADADBS utility, activate or deactivate replication for the files in the Event Replicator Server. Note that if replication is deactivated for specific files, replication data from the Adabas nucleus for those files will not be processed by the Event Replicator Server. For more information, read Adabas Online System Features Supporting Event Replicator for Adabas or ADADBS REPTOR Function.
Using the Adabas Online System or the REPTOR parameter of the ADADBS utility, activate or deactivate specific destination or subscription definitions. Note that if a destination definition is deactivated, replication data from the Adabas nucleus will not be sent to those destinations. Likewise, if a subscription definition is deactivated, replication data for the files covered by the subscription may not be processed (depending on what other subscription definitions are active). For more information, read Adabas Online System Features Supporting Event Replicator for Adabas or ADADBS REPTOR Function.
If you will be using subscription logging, use the ADALOD LOAD SLOG parameter to load the SLOG system file into the Event Replicator Server. For more information, read .
In addition, you will need to activate subscription logging for specific destinations. For more information, read Using the Subscription Logging Facility.
The ADAREP utility provides information about the status of replication for the Event Replicator Server and files, as well as for the Adabas database.