Try OpenEdge Now
skip to main content
User Guide
OpenEdge Replication Quick Command Summary : Enabling before-image encryption for a Replication-enabled target database
 

Enabling before-image encryption for a Replication-enabled target database

To enable before-image encryption on the target database, you must recreate the target database from the source database.
Use the steps that follows to enable before-image encryption on the Replication-enabled target database:
1. Shut down the source database and the target database, using the following command for each database:
proshut db-name
2. Use the following command to disable replication on the source database:
DSRUTIL db-name -C DisableSiteReplication source-db-name
3. Use the following command to disable replication on the target database:
DSRUTIL db-name -C DisableSiteReplication target-db-name
4. If before-image encryption is not already enabled on the source database, enable it using the following command:
proutil source-db-name -C enableencryption -biencryption enable
The before image area is truncated.
5. Enable the database as a Replication source database using the following command:
proutil source-db-name -C enableSiteReplication source
6. Back up the database, as shown:
probkup source-db-name source-db-backup-name
7. Copy the backup volume or volumes to the target computer.
8. Copy the source database structure file to the target database directory on the secondary computer. Make any modifications necessary to the file to match the configuration of the target database.
9. Copy the source database key store (source-db-name.ks) to the target machine and place it into the target database directory.
10. Restore the target database from the source backup volume or volumes:
prorest target-db-name source-db-backup-name
11. Enable the database as a target database using the following command:
proutil target-db-name -C enableSiteReplication target
12. Configure the Replication property files for both the source and target databases, as follows:
a. Locate the sample source database property file (source.repl.properties) and the sample target database property file (target.repl.properties), found in OpenEdge-install-dir\properties.
b. Copy each file to the same directory as its corresponding database, and rename it to match the name of the database.
c. Modify the copied property files, if necessary.
13. Start both databases.