Preparing an Adabas database for Adabas to Adabas Replication

Before doing Adabas to Adabas replication, the source database must be initialized for replication.  This includes:

  • Running the Adabas tool ADADBM to initialize the source database

 

The ADADBM tool must be run with the parameter REPLICATION_FILES prior to doing Adabas to Adabas replication.

Note: You will not be able to run ADADBM with the REPLICATION_FILES parameter unless you have an A2A license for Adabas installed.

 

Command Format:

 

ADADBM REPLICATION_FILES=(<file1>, <file2>, <file3>, <file4>)

 

where:

  • file1: metadata file

  • file2: replication transaction file

  • file3: replication command file

  • file4: LOB file for replication command file

e.g: ADADBM DBID=1 REPLICATION_FILES=(15,16,17,18)

 

To uninitialize replication use the parameter REMOVE_REPLICATION

 

e.g: ADADBM DBID=1 REMOVE_REPLICATION

This will stop all replication and remove the replication system files.  Important: Only do this if you no longer wish to replicate data

 

For more information about the ADADBM or other Adabas utilities please refer to the Software AG Adabas documentation.