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 database user passwords


GoldenGate requires an Oracle user password to connect to the source and target databases. In this recipe you will learn how to encrypt the database passwords using the ENCRYPT utility.

Getting ready

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

Tip

Although you can generate encrypted passwords using the DEFAULT encryption keys, Oracle recommends using custom encryption keys for all production systems.

How to do it…

Encrypting the database user password involves the following steps:

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

    ./ggsci
  2. Run the ENCRYPT PASSWORD command as follows:

    ENCRYPT PASSWORD *** <ALGORITHM> ENCRYPTKEY <key|DEFAULT>
    

    for example:

    ENCRYPT PASSWORD TIGER AES256 dbkey1
    Encrypted password:  AADAAAAAAAAAAAFAQCFIIDLCUELFNFECLITBSCAHYBBHHEUGKDNICDCCDCFELJDJFFEAUHUBFGWIUJGCAJJDNDPDZEOHGILBIIWCUIBHHGPBKBHB...