0% found this document useful (0 votes)
49 views

Goldengate Encryption Wallet

This document provides steps to configure wallet encryption for Oracle GoldenGate. It describes creating and opening a wallet on the source system, adding a master key, and configuring the extract process for encryption. It also includes copying the wallet file to the target system and verifying encryption in report files.

Uploaded by

manoj2904kumar.m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Goldengate Encryption Wallet

This document provides steps to configure wallet encryption for Oracle GoldenGate. It describes creating and opening a wallet on the source system, adding a master key, and configuring the extract process for encryption. It also includes copying the wallet file to the target system and verifying encryption in report files.

Uploaded by

manoj2904kumar.m
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Ashish Agarwal

https://www.youtube.com/c/ashishagarwal_gg

Oracle GoldenGate 19c


Wallet Configuration
[Edition 6]

1
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

Contents
1 Introduction .........................................................................................................................................................3
2 Environment details (Must Read) ................................................................................................................4
3 Prerequisite ..........................................................................................................................................................4
3.1 On Source Database ................................................................................................................................................... 5
3.2 On Target Database .................................................................................................................................................... 6
4 Wallet ................................................................................................................ Error! Bookmark not defined.

2
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

1 INTRODUCTION

This activity guide cover Oracle GoldenGate Security for Oracle GoldenGate training. This
guide covers

 Wallet creation and Configuration

3
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

2 ENVIRONMENT DETAILS (MUST READ)

This section covers key points that you must remember for hands-on

1. We need two machine for GodenGate setup

2. Database 12c software should already be installed on server

3. All software should be downloaded on server under /home/oracle

4. Database home directory should be /u01/app/oracle/product/12.2.0.1

5. Database environment file (db.env) is under oracle user home $HOME (/home/oracle)
so if you need any operation on Oracle Database then set environment variable first by
running db.env file

On Source Machine : db.env file should be like this

export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1

export ORACLE_SID=oggdb1

export PATH=$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$ORACLE_HOME/lib

On Target Machine : db.env file should be like this

export ORACLE_HOME=/u01/app/oracle/product/12.2.0.1

export ORACLE_SID=oggdb2

export PATH=$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$ORACLE_HOME/lib

6. Make sure on your Source machine, Target host enteries should be added under
/etc/hosts and vice versa

Note: Hostname & IP address should be as per your Source and Target machine

7. Make sure on your Target machine, Source host enteries should be added under
/etc/hosts

4
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

3 PREREQUISITE

This guide assumes that AG3 is performed and Oracle Goldengate Extract, Data Pump
and Replicat Processes are configured and successfully replicating the data.

1. Installation of Oracle GoldenGate on both machine source and target

2. Configuration of Extract, Data pump processes on source machine and replicat on


target machine

3. Start the Extract and Data Pump process on source and replicat on target

4. User c##sourcegg1 is already created on source and c##sourcegg2 on target with


DBA privilege.

3.1 On Source Database

Note : On Source Plugabble Database pdb1 , Database schema ggtraining1 and table
dept11 already created in AG3_Golden Gate DML replication. Refer the AG3 guide if you
have not created or not able to find in your database.

1. Make sure you connected to oracle user

2. Check Manager, Extract and Data Pump processes status, all should be running and if
not then start them

. db.env

cd /u01/app/oracle/product/ogg_src

./ggsci

Note: Make sure all processes should be running fine.

3. Connect to Database schema ggtraining1 with plugabble database pdb1 if not already
connected

. db.env

5
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

sqlplus “/as sysdba”

SQL> conn ggtraining1/Welcome1@pdb1

4. Check the dept11 table on source machine as

SQL> select * from dept11;

Note: Make sure you are connected to Database schema ggtraining1 with pluggable
database pdb1

Note: Make sure alteast 4 rows must be in table.

3.2 On Target Database

Note : On Target Plugabble Database pdb2 , Database schema ggtraining2 already


created in AG3_Golden Gate DML replication_edXX. Refer the AG3 guide if you have
not created or not able to find in your database.

1. Make sure you are connected to oracle user

2. Check Manager, Replicat processes status, both should be running and if not then
start them

. db.env

cd /u01/app/oracle/product/ogg_trg

6
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

./ggsci

Note: Make sure both processes should be running fine.

This section finishes Prerequisites on Source and Target Database. In next section we
will discuss how to encrypt trail files. .

7
Ashish Agarwal
https://www.youtube.com/c/ashishagarwal_gg

4 OGG WALLET

1. Create and Open the wallet:

GGSCI> Create Wallet


GGSCI>Open Wallet

Wallet file will be created under $GG_HOME/dirwlt

2. Add the master key

GGSCI> Add Masterkey

3. View the configuration

GGSCI> Info Masterkey

4. Stop the Extract process, add the below parameter in to Extract parameter
file and restart the extract process. Follow the process as mentioned in
AG13.

ENCRYPT AES192

5. Copy the Wallet file from source to target server wallet location.

scp $GG_HOME/dirwlt/wallet.sso oracle@ggate2:$GG_HOME/dirwlt/

6. Now encryption is configured and you can verify it by reviewing report


files.

This Activity Guide finishes Oracle GoldenGate Wallet creation and setup.

You might also like