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

Generating encryption keys


GoldenGate uses encryption keys for encrypting the passwords and trail files. You can use default keys or define custom encryption keys. Oracle recommends using custom encryption keys for encrypting passwords and trail files. In this recipe you will learn how to generate encryption keys using the keygen tool.

How to do it…

  1. As the GoldenGate software owner, change the current directory to GoldenGate Home directory:

    cd $GG_HOME
  2. Generate the encryption key using the keygen utility:

    ./keygen <length> <number>

    for example

     ./keygen 128 1
  3. Copy the generated encryption key to the ENCKEYS file under $GG_HOME and give this key a logical name:

    dbkey1 0xC2052964C5C2C1309FEF5042E306716A
  4. If you are going to use encryption for encrypting the trail files or for Datapump transfers, then you must copy the ENCKEYS file to the target server:

    scp $GG_HOME/ENCKEYS stdby1-ol6-112:/u01/app/ggate/

How it works…

The encryption keys are generated using the keygen utility which is enclosed...