89
INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 1 Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata is used to assist in maintaining data consistency within an Oracle GoldenGate environment by comparing data on both source and target systems and reporting and/or fixing inconsistencies. Veridata is a Java application that runs within the Oracle WebLogic server. Veridata runs in many different environments and platforms. For Unix/Linux platforms it is very straight-forward to configure and install. In Windows / SQL Server environments it can be a little tricky. This paper walks through the steps to install and configure Oracle Veridata 12.2 on Linux using an Oracle database. Installing and Configuring Veridata The following steps describe how to install and configure the Oracle Veridata server. 1. Prepare the system a. Validate or install java JDK 1.8 or later b. Copy and install JDK-8u241-linux-x64.tar i. This will install both the JRE and JDK. The JRE is accessed by default. ii. In this installation process the JDK is used explicitly. iii. I use /u01/app/oracle/Java/jdk c. Edit .bashrc to include JAVA_HOME and PATH. Export PATH=$PATH:$JAVA_HOME/bin. d. $ java -version Install WebLogic and Veridata 2. Install Weblogic server a. Download from https://www.oracle.com/middleware/technologies/weblogic-server- installers-downloads.html b. Choose Fusion Middleware Infrastructure Installer c. Download file d. Change directory to the Middleware software location directory. e. Install WebLogic using the explicit path to the JDK i. JAVA_HOME/bin/java –jar fmw_12.2.1.4.0_infrastructure.jar f. The Oracle Home directory is /u01/app/oracle/product/Middleware i. The Welcome page

Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

  • Upload
    others

  • View
    292

  • Download
    7

Embed Size (px)

Citation preview

Page 1: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 1

Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database

Oracle GoldenGate Veridata is used to assist in maintaining data consistency within an Oracle GoldenGate environment by comparing data on both source and target systems and reporting and/or fixing inconsistencies. Veridata is a Java application that runs within the Oracle WebLogic server.

Veridata runs in many different environments and platforms. For Unix/Linux platforms it is very straight-forward to configure and install. In Windows / SQL Server environments it can be a little tricky. This paper walks through the steps to install and configure Oracle Veridata 12.2 on Linux using an Oracle database.

Installing and Configuring Veridata The following steps describe how to install and configure the Oracle Veridata server.

1. Prepare the systema. Validate or install java JDK 1.8 or laterb. Copy and install JDK-8u241-linux-x64.tar

i. This will install both the JRE and JDK. The JRE is accessed by default.ii. In this installation process the JDK is used explicitly.

iii. I use /u01/app/oracle/Java/jdkc. Edit .bashrc to include JAVA_HOME and PATH.

Export PATH=$PATH:$JAVA_HOME/bin.d. $ java -version

Install WebLogic and Veridata 2. Install Weblogic server

a. Download from https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

b. Choose Fusion Middleware Infrastructure Installerc. Download filed. Change directory to the Middleware software location directory.e. Install WebLogic using the explicit path to the JDK

i. “ JAVA_HOME/bin/java –jar fmw_12.2.1.4.0_infrastructure.jar “f. The Oracle Home directory is /u01/app/oracle/product/Middleware

i. The Welcome page

Page 2: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 2

Page 3: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 3

ii. Auto Updates

Page 4: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 4

iii. Installation Location

Page 5: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 5

iv. Installation Type

Page 6: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 6

v. Prerequisite Checks

Page 7: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 7

vi. Installation Summary

Page 8: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 8

vii. Click Install to begin the installation.

Page 9: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 9

viii. Installation Complete

ix. 3. Install Veridata Service into the Weblogic Server

a. Change directory to the Veridata software location directory. b. Install WebLogic using the explicit path to the JDK

i. “$JAVA_HOME/bin/java –jar fmw_12.2.1.4.0_ogg.jar“ c. Choose the Oracle Home directory where the Middleware was installed. d. Choosing to install Veridata Server and Agent.

i. Screen 1

Page 10: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 10

Page 11: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 11

ii. Screen 2

Page 12: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 12

iii. Screen 3: Installation Location This is the location where WebLogic was installed. Click the View button to verify.

Page 13: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 13

iv. Screen 4: Installation Type Choose Complete Install

Page 14: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 14

v. Screen 5

Page 15: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 15

vi. Screen 6

Page 16: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 16

vii. Screen 7

Page 17: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 17

viii. When completed, click Finish.

Install and Configure the Veridata Repository 4. Install an Oracle database on Veridata system.

a. Create a Veridata account. b. Create a Veridata database. Must use AL32UTF8.

5. Run the Repository Configuration Utility from the directory /u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/bin

a. cd /u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/bin

b. Run rcu i. Screen 1: Welcome

Page 18: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 18

ii. Screen 2: Choose Create Repository -> System Load and Product Load

Page 19: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 19

iii. Screen 3: Choose Database Setup as shown here: 1. Use the actual server name. 2. Use sys. 3. Ignore pop-up about version.

Page 20: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 20

iv. Screen 3: A popup checks the pre-requisites.

v. Screen 4: Select Components. Check GoldenGate. Uncheck Monitor Server. 1. Change Prefix to OGG.

Page 21: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 21

i. Screen 4: A popup checks the pre-requisites.

Page 22: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 22

ii. Screen 5: Passwords. Set the passwords for the schemas.

Page 23: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 23

iii. Screen 6: Summary

iv. A tablespace confirmation popup will appear.

Page 24: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 24

v. Click Create to execute. A create tablespace popup will appear.

vi. Screen 7: Click okay and you will get a validation screen.

Page 25: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 25

vii. Click Create to create the repository.

Page 26: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 26

viii. Screen 7: Finished

This concludes setting up the Veridata Repository.

Page 27: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 27

Configure WebLogic The next step is to setup Veridata Domain in Weblogic.

a. Run the WebLogic Configuration Utility from the directory /u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/common_bin cd / u01/app/oracle/product/Middleware/Oracle_Home/oracle_common/common_bin

b. $ ./config.sh i. Screen 1: Select Create a New Domain

Page 28: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 28

ii. Screen 2: Select GoldenGate from Template Category and Veridata Server from Templates.

Page 29: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 29

iii. Screen 3: Create Administrator Account: Supply password for weblogic user.

Page 30: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 30

iv. Screen 4: Select Domain Mode and JDK. Choose Production.

Page 31: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 31

v. Screen 5: Database Configuration. 1. Select Oracle 2. Select Oracle Driver (Thin) 3. Select Veridata database, hostname and port 4. Change schema owner to PROD_STB and provide the password you

used in the RCU. 5. Click on get RCU configuration. 6. If everything is correct it should show OK as the results of the queries.

Page 32: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 32

vi. Screen 6: JDBC Component Schema 1. All requirements should already be set. Click Next >.

Page 33: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 33

vii. Screen 7: JDBC Tests. The JDBC tests should automatically run and succeed. If any tests fail, go back and fix the problem.

Page 34: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 34

viii. Screen 8: Keystore. Leave as is and click Next >.

Page 35: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 35

ix. Screen 9: Advanced Configuration. Select Administration Server, Node Manager and Managed Servers, Clusters and Coherence.

Page 36: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 36

x. Configure the Admin Server. Here you can set the port number and SSL.

Page 37: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 37

xi. Node Manager. You can setup the Node Manager, account, etc.. Set the username and password.

Page 38: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 38

xii. Managed Servers. Select VERIDATA-MANAGED-SERVERS from the dropdown and make changes if you desire.

Page 39: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 39

xiii. Clusters. Configure if desired.

Page 40: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 40

xiv. Server Templates

Page 41: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 41

xv. Coherence Clusters. Configure Coherence Clusters as needed.

Page 42: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 42

xvi. Machines. Add machines as needed.

Page 43: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 43

xvii. Virtual Targets

Page 44: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 44

xviii. Partitions

Page 45: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 45

xix. Screen 10: Configuration Summary. Review the configuration and click Create to continue.

Page 46: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 46

xx. Configuration Processing

Page 47: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 47

xxi. Completion. You should see a screen showing a successful installation.

Page 48: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 48

xxii. End of configuration

Page 49: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 49

Configure the Admin Server and Veridata Server 6. Start the Admin Server and create a User for Veridata.

a. Run startWeblogic.cmd from the DOMAIN_HOME/bin directory. b. In our case, DOMAIN_HOME is

/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/ domains/base_domain

c. Cd to that directory and run startWeblogic. d. Run startWeblogic.sh e. This will start Weblogic Admin Server f. It will require a username and password.

7. Start the Veridata domain using the VeridataServer.sh script located in DOMAIN_HOME/veridata/bin

a. cd to DOMAIN_HOME/veridata/bin b. cd /u01/app/oracle/product/MiddlewareOracle_Home/user_projects/

domains/base_domain/veridata/bin c. Run VeridataServer.sh start d. It will require a username and password that you created.

8. Make sure that the firewall is disabled on the Veridata server or configure it to allow the proper ports through.

9. Connect to the Weblogic Admin Server a. http://<name>:7001/console

Page 50: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 50

b. Login with username weblogic and the password you provided when you created it.

c. Select Security Realms

Page 51: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 51

d. Click Lock & Edit until it is unlocked (grey as shown). Click on myrealm.

e. Click on Users and Groups

Page 52: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 52

f. Click New. Fill in Name:, Description and Password.

10. Click on the Veridata user and add the Veridata user to the Veridata groups. First click on the Veridata user.

Page 53: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 53

11. Next select Groups. Add Veridata to the appropriate groups and click Save.

12. Click Release Configuration

This completes the base (minimal) configuration needed.

Page 54: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 54

Login to the Veridata Server.

13. In a browser connect to http://<server>:8830/veridata

Page 55: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 55

14. Login with the username/password that you just created

15. At this point Veridata is functional. The next step is to configure the Veridata processes as Linux systemd Services.

Page 56: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 56

Configuring WLS as a Linux Service This section shows how to configure the WebLogic Admin server and managed server to run as a Linux service. This is always necessary for Veridata to operate.

Setup for automatic login. For both the Admin Server and Veridata server you must setup a boot.properties file to avoid the process prompting for a username and password.

Create a file in the base_domain\servers\<Server Name>\security directory called boot.properties. In this file add two lines

username=weblogic password=weblogic123

There will be two files; one for AdminServer and one for Veridata and the exact paths are shown here:

/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/ base_domain/servers/AdminServer/security/boot.properties

/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/ base_domain/servers/veridata/security/boot.properties

Create a file called /etc/systemd/system/weblogic.service.

The contents of /etc/systemd/system/weblogic.service should contain the following:

[Unit] Description=Run Weblogic as Oracle User [Service] Type=simple WorkingDirectory=/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain ExecStart=/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain/startWebLogic.sh User=oracle Group=oinstall KillMode=process LimitNOFILE=65535 [Install] WantedBy=multi-user.target

Once you have created the service file startup weblogic by running the following:

$ systemctl start weblogic

$ systemctl status weblogic

Page 57: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 57

Test the weblogic console and make sure that it is running.

Create a file called /etc/systemd/system/veridata.service.

The contents of /etc/systemd/system/veridata.service should contain the following:

[Unit] Description=Run Weblogic as Oracle User Wants=weblogic.service After=network.target weblogic.service [Service] Type=simple WorkingDirectory=/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain/veridata/bin ExecStart=/u01/app/oracle/product/Middleware/Oracle_Home/user_projects/domains/base_domain/veridata/bin/veridataServer.sh start User=oracle Group=oinstall KillMode=process LimitNOFILE=65535 [Install] WantedBy=multi-user.targetWantedBy=default.target

Once you have created the service file startup Veridata by running the following:

$ systemctl start Veridata

$ systemctl status Veridata

Verify by connecting to the Admin and Veridata servers:

http://<server>:7001/console

http://<server>:8830/veridata

You should be able to log into both of these.

Page 58: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 58

Securing the Veridata Server to use SSL It is often required to use SSL for processing requests from the browser to the Veridata application. This is done via the Admin Server and modifications to the services.

1. Login to the Admin Server (port 7001).

2. Expand the Environment selection under Domain Structure in the application.

Page 59: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 59

3. Select Servers.

4. First select the AdminServer (admin)

Page 60: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 60

5. In order to make a change click the Lock & Edit button on the top left-hand side of the screen. 6. Scroll down until you see the server ports. Uncheck Listen Port Enabled and check SSL Listen

Port Enabled. Note the SSL port is 7002.

7. Click Save. Save is located at the top and bottom of the screen. 8. Click Servers button again. 9. Select VERIDATA_server1.

Page 61: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 61

10. Scroll down to ports.

11. Uncheck Listen Port Enabled and check SSL Listen Port Enabled. Change SSL Listen Port to 8831.

Page 62: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 62

12. Click Save. Save is located at the top and bottom of the screen. 13. Click Activate All Changes. This is located at the top left hand side of the screen. 14. Exit the AdminServer. Once the AdminService and Veridata services are restarted SSL is enabled

and non-SSL login is prohibited.

Now login with the following URLs:

https://<server>:7002/console

https://<server>:8831/veridata

At this point Veridata is installed and running on secure (https) ports. You could have enabled SSL during the initial setup, but this provided an instructional way of showing how to change ports.

Page 63: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 63

Deploying the Veridata Agent Deploying the Veridata agent uses the same jar file that you used to install the Veridata Server. This time you do not need to deploy Weblogic. However, you do have to deploy the Java JDK.

Note: You can install the JDK in the /u01/app/oracle/Java directory and create a symbolic link from LATEST to the JDK directory. This way you can update java without having to change the JAVA_HOME parameter.

The following steps describe how to install and configure the Oracle Veridata agent.

1. Prepare the system a. Validate or install java JDK 1.8 or later b. Copy and install JDK-8u241-linux-x64.tar

i. This will install both the JRE and JDK. The JRE is accessed by default. ii. In this installation process the JDK is used explicitly.

iii. I use /u01/app/oracle/Java/jdk…. iv. Create a symbolic link from LATEST to JDK….

c. Edit .bashrc to include JAVA_HOME and PATH. Export PATH=$PATH:$JAVA_HOME/bin. d. $ java -version

Install Veridata Agent 1. Install Weblogic agent

a. Download from https://www.oracle.com/middleware/technologies/weblogic-server-installers-downloads.html

b. Choose Fusion Middleware Infrastructure Installer c. Download file d. Change directory to the Middleware software location directory. e. Install WebLogic using the explicit path to the JDK

i. “$JAVA_HOME/bin/java –jar fmw_12.2.1.4.0_infrastructure.jar” f. The Oracle Home directory is /u01/app/oracle/product/Middleware

i. The Welcome page

Page 64: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 64

Page 65: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 65

ii. Auto Updates

Page 66: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 66

iii. Set the agent installation directory. I use /u01/app/oracle/product/veridata-agent

Page 67: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 67

iv. Installation Type. Set the installation type to Veridata Agent

Page 68: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 68

v. Prerequisite Checks

Page 69: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 69

vi. Installation Summary. Here you can also save a response file.

Page 70: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 70

vii. Install. Click Install to start the installation.

Page 71: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 71

viii. Installation Complete.

Page 72: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 72

ix. Click Finish.

Create the Veridata Agent Instance Once the Veridata Agent software has been installed you will have to create a Veridata instance. Each instance can connect to one database. If you are connecting to multiple databases you need multiple instances.

Change directory to the <Veridata agent>/veridata/agent directory and run the agent_config.sh script. This script is run and points to the Veridata instance directory.

$ cd /u01/app/oracle/product/veridata-agent/veridata/agent

$ ./agent_config.sh /u01/app/oracle/product/veridata-inst-0

[oracle@test00 agent]$ ./agent_config.sh /u01/app/oracle/product/veridata-inst-0

Successfully deployed the agent.

Configure the Veridata Agent Instance agent.properties File Next edit the <Veridata Instance>/agent.properties file. Create the file from the agent.properties.sample file that is provided.

$ cp agent.properties.sample agent.properties

Edit the agent.properties file:

Set the following parameters:

server.port=<port> The default is 7850. This is fine, but you can only use one port per server of the same number.

database.url= jdbc:oracle:thin:@<localhost or database host name>:1521: <service name> This can be either local or remote.

server.jdbcDriver=<server.jdbcDriver> This is taken from the example for each database.

Sample:

server.port=7850 database.url=jdbc:oracle:thin:@localhost:1521:test00db server.jdbcDriver=ojdbc7.jar oracle.xdb.jar

Note: If you are running Oracle 19c the JDBC library should be changed to ojdbc8.jar

These are all of the required parameters.

Page 73: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 73

Start the Veridata Agent Start the Veridata agent from that directory using the following syntax.

$ ./agent.sh start agent.properties

You can verify that the agent is running with a ps | grep veridata.

oracle 15408 1 13 15:04 pts/2 00:00:00 /u01/app/oracle/Java/LATEST/bin/java -Djava.util.logging.config.class=oracle.core.ojdl.logging.LoggingConfiguration -Doracle.core.ojdl.logging.config.file=/u01/app/oracle/product/veridata-inst-0/config/odl.xml -Dhome=/u01/app/oracle/product/veridata-agent/veridata/agent -DagentHome=/u01/app/oracle/product/veridata-inst-0 -XX:+UseParallelGC -Xmx1024M -Xms1024M -Dagent-manifest.jar=/u01/app/oracle/product/veridata-agent/veridata/agent/agent-manifest.jar -jar /u01/app/oracle/product/veridata-agent/veridata/agent/JavaAgent.jar agent.properties

Once the agent is running, you can test it from the Veridata Console.

Page 74: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 74

Configure Veridata Data Source

If you set up both Veridata and the Veridata Agent are running as Services. If a server were to restart, the Veridata processes will restart as services. This is invaluable for Veridata and GoldenGate in general. The final step is to setup connectivity to Veridata.

1. Login to the Veridata application as the administrator:

Page 75: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 75

2. You will see the initial screen.

Page 76: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 76

3. Select Connection Configuration link under the Configuration heading on the left side of the screen.

Page 77: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 77

4. Click the New… button. In the pop-up fill in and click Next>>

Page 78: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 78

5. In the pop-up fill in the IP address.

Page 79: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 79

6. Click on the Verify button. This will verify connectivity, agent status and Datasource Type.

Page 80: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 80

7. Click Next. Enter username and password. Click Test Connection to verify connectivity to the database.

Page 81: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 81

8. Click Finish when completed. At this point you can select to create a group or add another connection.

Page 82: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 82

9. Follow steps 4 – 7 to add another connection. Continue until you have created all of the connections then select to create a new group.

Page 83: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 83

10. Select the source and target systems from the dropdown menus.

Page 84: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 84

11. Click Finish. From the final page click the box to continue to Compare Configuration.

Page 85: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 85

12. The Group Compare Pair screen is displayed.

Page 86: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 86

13. Select the Pattern Mapping Screen.

Page 87: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 87

14. Fill in the Datasource Information from the dropdowns. Select the database and “dbo” as the schema.

Page 88: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 88

15. Scroll down and select the Pattern Compare Pair Mapping. Select the appropriate selection for your database.

Page 89: Install and Configure Oracle GoldenGate Veridata 12.2 on ...€¦ · Install and Configure Oracle GoldenGate Veridata 12.2 on Linux using an Oracle Database Oracle GoldenGate Veridata

INSTALLING AND CONFIGURING VERIDATA ON WINDOWS 89

16. Select Generate Mappings.

17. Once the mappings have been reviewed, Save the configuration.

GoldenGate Veridata is now ready to begin the process of comparing data. This document is designed to cover the installation and configuration of Veridata. Subsequent documents will cover the operation of Veridata including setting up comparison jobs, viewing reports and setting up repair jobs.