Book Image

Oracle Goldengate 11g Complete Cookbook

By : Ankur Gupta
Book Image

Oracle Goldengate 11g Complete Cookbook

By: Ankur Gupta

Overview of this book

Oracle Goldengate 11g Complete Cookbook is your complete guide to all aspects of Goldengate administration. The recipes in this book will teach you how to setup Goldengate configurations for simple and complex environments requiring various filtering and transformations. It also covers various aspects of tuning and troubleshooting the replication setups using exception handling, custom fields, and logdump utility.The book begins by explaining some basic tasks like Installation and Process groups setup. You will then be introduced to some further topics including DDL replication and various options to perform Initial Loads. You will then learn some advanced administration tasks such as Multi Master replication setup and conflict resolution. Further recipes, contain the cross platform replication and high availability options for Goldengate.
Table of Contents (16 chapters)
Oracle GoldenGate 11g Complete Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Encrypting the trail files


The trail files are the key component in the GoldenGate configuration. Since these files hold the data that is extracted by the Extract process, keeping them in the default format poses a security risk. We can overcome this security risk by encrypting the trail files using various algorithms. In this recipe we will learn how to configure the automatic encryption of the trail files.

Getting ready

You need to generate the encryption keys and store them in the ENCKEYS file before encrypting the trail files. Follow the steps in the Generating encryption keys recipe to generate and store a 256-bit key called dbkey1 in the ENCKEYS file.

How to do it…

Here are the steps to configure the encryption and decryption of trail files.

Perform the following steps in the source environment:

  1. From GoldenGate Home, run the GoldenGate Software Command Line Interface (GGSCI):

    ./ggsci
  2. Edit the Extract process configuration:

    EDIT PARAMS EGGTEST1
  3. Add the ENCRYPTTRAIL command before the EXTTRAIL...