89

Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridata 12c セットアップガイド ver11

2015年9月 日本オラクル株式会社 クラウドテクノロジー事業統括

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Safe Harbor Statement

The following is intended to outline our general product direction It is intended for information purposes only and may not be incorporated into any contract It is not a commitment to deliver any material code or functionality and should not be relied upon in making purchasing decisions The development release and timing of any features or functionality described for Oraclersquos products remains at the sole discretion of Oracle

3

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

はじめに

bull本資料ではOracle GoldenGate Veridata R1213 の環境構築から 動作確認までの一連の手順について説明します

bull本資料は製品マニュアルを補足する資料です 手順の一例としてご活用ください ndash Oraclereg GoldenGate Oracle GoldenGate Veridataのインストールと構成12c (1213)

bull httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

4

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本ドキュメントの流れ

bull本ドキュメントは下記の流れでGoldenGate Veridataのセットアップ方法を説明します ndash 1章環境準備

ndash 2章Veridata Serverのインストール

ndash 3章リポジトリの作成

ndash 4章ドメインの配置

ndash 5章 Veridata Agentのインストール

ndash 6章 Veridataの起動

ndash 7章データの比較

5

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridataの各モジュールの説明

bull Veridataサーバ ndash Veridataタスクの実行の調整

ndash 行のソート(オプション)

ndash データの比較

ndash 非同期データの確認

ndash 確認用レポートの生成

bull Veridata Web(GUI) ndash 比較オブジェクトおよびルールを設定

ndash 比較の初期化

ndash 比較の状態と出力レポートの確認

ndash 非同期データのレビュー

bull Veridataリポジトリ ndash 設定情報を保持するデータベース

bull Veridataエージェント ndash Veridataサーバに代わりDB関連のリクエストを実行

bull 比較するデータのフェッチ及び戻し

bull 非同期行の列レベル詳細の戻し

bull Veridata Command Line tool ndash vericom自動化されたプログラムで比較を実行

ndash veridata_scriptingリポジトリに設定情報をロード

ndash reportutil暗号化されたレポート等を参照

6

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 2: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Safe Harbor Statement

The following is intended to outline our general product direction It is intended for information purposes only and may not be incorporated into any contract It is not a commitment to deliver any material code or functionality and should not be relied upon in making purchasing decisions The development release and timing of any features or functionality described for Oraclersquos products remains at the sole discretion of Oracle

3

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

はじめに

bull本資料ではOracle GoldenGate Veridata R1213 の環境構築から 動作確認までの一連の手順について説明します

bull本資料は製品マニュアルを補足する資料です 手順の一例としてご活用ください ndash Oraclereg GoldenGate Oracle GoldenGate Veridataのインストールと構成12c (1213)

bull httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

4

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本ドキュメントの流れ

bull本ドキュメントは下記の流れでGoldenGate Veridataのセットアップ方法を説明します ndash 1章環境準備

ndash 2章Veridata Serverのインストール

ndash 3章リポジトリの作成

ndash 4章ドメインの配置

ndash 5章 Veridata Agentのインストール

ndash 6章 Veridataの起動

ndash 7章データの比較

5

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridataの各モジュールの説明

bull Veridataサーバ ndash Veridataタスクの実行の調整

ndash 行のソート(オプション)

ndash データの比較

ndash 非同期データの確認

ndash 確認用レポートの生成

bull Veridata Web(GUI) ndash 比較オブジェクトおよびルールを設定

ndash 比較の初期化

ndash 比較の状態と出力レポートの確認

ndash 非同期データのレビュー

bull Veridataリポジトリ ndash 設定情報を保持するデータベース

bull Veridataエージェント ndash Veridataサーバに代わりDB関連のリクエストを実行

bull 比較するデータのフェッチ及び戻し

bull 非同期行の列レベル詳細の戻し

bull Veridata Command Line tool ndash vericom自動化されたプログラムで比較を実行

ndash veridata_scriptingリポジトリに設定情報をロード

ndash reportutil暗号化されたレポート等を参照

6

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 3: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

はじめに

bull本資料ではOracle GoldenGate Veridata R1213 の環境構築から 動作確認までの一連の手順について説明します

bull本資料は製品マニュアルを補足する資料です 手順の一例としてご活用ください ndash Oraclereg GoldenGate Oracle GoldenGate Veridataのインストールと構成12c (1213)

bull httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

4

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本ドキュメントの流れ

bull本ドキュメントは下記の流れでGoldenGate Veridataのセットアップ方法を説明します ndash 1章環境準備

ndash 2章Veridata Serverのインストール

ndash 3章リポジトリの作成

ndash 4章ドメインの配置

ndash 5章 Veridata Agentのインストール

ndash 6章 Veridataの起動

ndash 7章データの比較

5

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridataの各モジュールの説明

bull Veridataサーバ ndash Veridataタスクの実行の調整

ndash 行のソート(オプション)

ndash データの比較

ndash 非同期データの確認

ndash 確認用レポートの生成

bull Veridata Web(GUI) ndash 比較オブジェクトおよびルールを設定

ndash 比較の初期化

ndash 比較の状態と出力レポートの確認

ndash 非同期データのレビュー

bull Veridataリポジトリ ndash 設定情報を保持するデータベース

bull Veridataエージェント ndash Veridataサーバに代わりDB関連のリクエストを実行

bull 比較するデータのフェッチ及び戻し

bull 非同期行の列レベル詳細の戻し

bull Veridata Command Line tool ndash vericom自動化されたプログラムで比較を実行

ndash veridata_scriptingリポジトリに設定情報をロード

ndash reportutil暗号化されたレポート等を参照

6

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 4: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本ドキュメントの流れ

bull本ドキュメントは下記の流れでGoldenGate Veridataのセットアップ方法を説明します ndash 1章環境準備

ndash 2章Veridata Serverのインストール

ndash 3章リポジトリの作成

ndash 4章ドメインの配置

ndash 5章 Veridata Agentのインストール

ndash 6章 Veridataの起動

ndash 7章データの比較

5

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridataの各モジュールの説明

bull Veridataサーバ ndash Veridataタスクの実行の調整

ndash 行のソート(オプション)

ndash データの比較

ndash 非同期データの確認

ndash 確認用レポートの生成

bull Veridata Web(GUI) ndash 比較オブジェクトおよびルールを設定

ndash 比較の初期化

ndash 比較の状態と出力レポートの確認

ndash 非同期データのレビュー

bull Veridataリポジトリ ndash 設定情報を保持するデータベース

bull Veridataエージェント ndash Veridataサーバに代わりDB関連のリクエストを実行

bull 比較するデータのフェッチ及び戻し

bull 非同期行の列レベル詳細の戻し

bull Veridata Command Line tool ndash vericom自動化されたプログラムで比較を実行

ndash veridata_scriptingリポジトリに設定情報をロード

ndash reportutil暗号化されたレポート等を参照

6

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 5: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Oracle GoldenGate Veridataの各モジュールの説明

bull Veridataサーバ ndash Veridataタスクの実行の調整

ndash 行のソート(オプション)

ndash データの比較

ndash 非同期データの確認

ndash 確認用レポートの生成

bull Veridata Web(GUI) ndash 比較オブジェクトおよびルールを設定

ndash 比較の初期化

ndash 比較の状態と出力レポートの確認

ndash 非同期データのレビュー

bull Veridataリポジトリ ndash 設定情報を保持するデータベース

bull Veridataエージェント ndash Veridataサーバに代わりDB関連のリクエストを実行

bull 比較するデータのフェッチ及び戻し

bull 非同期行の列レベル詳細の戻し

bull Veridata Command Line tool ndash vericom自動化されたプログラムで比較を実行

ndash veridata_scriptingリポジトリに設定情報をロード

ndash reportutil暗号化されたレポート等を参照

6

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 6: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridata を使用したデータ比較

7

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 7: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

8

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 8: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

本資料の環境情報

bull本資料で構成する環境は以下を使用しています

ndashOS bull Oracle Linux Server Release 62 (64bit)

ndashソフトウェア bull JDK 170_51

bull Oracle WebLogic Server 12c(1213)

bull Oracle Database 121020

bull Oracle GoldenGate Monitor and Veridata R1213

bull Oracle Fusion Middleware Infrastructure R1213

ndashリポジトリDBがVeridataサーバと同じサーバに配置する構成

9

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 9: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Certifyされている構成

bull USで動作を確認している構成(Certifyされている構成)は下記の資料に記載されています ndash System Requirements and Supported Platforms for Oracle Fusion Middleware 12c

ndash httpwwworaclecomtechnetworkmiddlewarefusion-middlewaredocumentationfmw-1213certmatrix-2226694xls

10

Veridataサーバ

ndash SYSTEMタブOSJavaの確認

Veridataリポジトリ ndash DATABASEタブ「Fusion Middleware

Infrastructure」がCertifyされている環境および接続方法を確認

Veridata エージェント ndash SYSTEMタブOSJavaの確認

ndash GOLDANGATEタブ比較対象DBの確認

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 10: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata サーバ

bull OS

ndash Certification Matrix「Systemタブ」からご確認下さい

ndash WindowsUnixLinuxをサポートしていますがNon-StopシステムにVeridataサーバまたはWebユーザーインターフェースをインストールしないでください

bull Java Environment

ndash JDK 170_15以降(JDK18はCertifyされていません)

bull OSのバージョンによってはJDK17をCertifyしていない場合があるのでご注意ください

bull Oracle JDK 7 and JRE 7 Certified System Configurations

ndash httpwwworaclecomtechnetworkjavajavaseconfig-417990html

11

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 11: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridata リポジトリ

bull下記のデータベースの利用が可能です ndash各ベンダによりサポートされているバージョンをご利用下さい

bull Oracle

bull MySQL

bull SQL Server

ndash Certification Matrix「Databaseタブ」からご確認下さい

12

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 12: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ Veridataエージェント bull DBに対するAgentの配置

ndash 一つのDBインスタンスに対して少なくとも一つのAgentが必要です

ndash 同じデータベースインスタンス内のデータを比較する場合はソースの行を取りだすAgentとターゲットの行を取りだすAgentの2つが必要です

bull マルチバイトデータの比較に関する考慮事項

ndash NonStopプラットフォームを除きJava agentをご利用ください

ndash Java agentはUTF-8を使って比較します不一致データもUTF-8でレポートに書きこまれますUTF-8以外のキャラクターは16進数でレポートファイルに書きます

ndash 下記のすべての条件を満たす場合Oracle DatabaseにC-Agentも利用可能ですJava Agentの併用はできません

1 ソースとターゲットDBの両方がOracle Database

2 両方共同じキャラクターセットを利用

3 両方のホストは同じエンディアン

bull Java EnvironmentJDK 170_15以降(JDK18はCertifyされていません)

13

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 13: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

システム要件 ~ ディスクメモリ等

bull Veridata サーバ ndashディスク及び仮想メモリ

bull 基本200MBの仮想メモリ

bull 比較データ格納ソート用仮想メモリ

ndashデータのサイズ等に依存するため詳細な計算式はマニュアルを参照

bull WebLogic Server (Infrasturucture)

ndashメモリ最小物理メモリ(4GB)最小利用可能メモリ(8GB)

ndash最小ディスク容量14~15GB

bull 上記にVeridata Repositoryは含まれていません

bull Veridata エージェント ndashディスク

bull 200MB程度(Platformに依存)

bull Unix及びLinuxの場合Java環境分も必要

ndashメモリ bull 1GBのRAMが必要

bull Veridata Web UI

ndash解像度 bull 最低1024 x 768

ndash ADFのブラウザ要件を確認

14

httpwwworaclecomtechnetworkdeveloper-toolsjdevdocumentation121300-cert-2164864htmlBrowsers

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 14: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

2 文章を読み輸出規制に受諾する場合は「受諾」ボタンを押します

メディアのダウンロード(14)

1 Oracle Software Delivery Cloudにサインインします

15

httpedeliveryoraclecom

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 15: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

4 続いて「製品」で「Oracle WebLogic Server Standard Edition」とプラットフォームを選択し「続行」を押します

メディアのダウンロード(24)

3 「製品」で「Oracle GoldenGate Veridata」を選択しプラットフォームも選択します

16

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 16: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(34)

5両方とも「121000」というバージョンが選択されていることを確認して「続行」ボタンを押します

17

6「オラクル標準の条件及び規制」のライセンス契約を十分読み受諾する場合は「続行」ボタンを押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 17: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

メディアのダウンロード(44)

7 右記のメディアのファイル名をクリックしてダウンロードします

18

bull Oracle Fusion Middlware 12c Infrastructure (121300)

ndash Oracle Fusion Middleware 12c (121300) Infrastructure

bull Oracle GoldenGate Veridata (121300)

ndash Oracle Fusion Middleware 12c (121300) GoldenGate Monitor and Veridata

上記2つのメディアのみ必要なので下部の「全てをダウンロード」ボタンを押す必要はありません

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 18: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

19

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 19: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

JDKのインストール

bull JDK 17(JDK 170_15以上JDK18は不可)をインストールします ndash事前に取得したJDK(jdk-7u51-linux-x64targz)をインストール

bull gunzip jdk-7u51-linux-x64targz

bull tar -xvf jdk-7u51-linux-x64tar -C usrjava

ndashインストール後環境変数(JAVA_HOMEとPATH)を設定

bull export JAVA_HOME=usrjavajdk170_51

bull export PATH=$JAVA_HOMEbin$JAVA_HOMEjrebin$PATH

20

Veridata Server Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 20: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(15)

1 Verdata Serverをインストールするマシンで下記のコマンドでダウンロードしたパッケージを起動します

ndash $java -jar wls_121300_infrastructurejar

21

2 初期画面で「次へ」を選択します

Veridata Server

bull VerdataサーバをインストールするマシンでFMW InfrastructureをインストールしますこのモジュールによりWebLogic Server及び共通モジュールJRF(Java Required Files)がインストールされます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 21: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(25)

22

3 インストール先(Oracleホーム)を選択して「次」を押します

4 「Fusion Middlewareインフラストラクチャ」を選択し「次」を押します

Veridata Server

後ほどORACLE_HOMEの設定で使用するので控えておきます

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 22: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(35)

23

5 チェックが終了したら「次へ」を押します

6 必要に応じて連絡先の電子メールを入力し「次へ」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 23: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(45)

24

7 ステップ6で電子メールを指定したくない場合ワーニングが出ますが「はい」を押してスキップ可能です

8 サマリをチェックし問題なければ「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 24: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

FMW Infrastructureのインストール(55)

25

9 全てのステップが終了したら「次」を押します

10 WebLogicのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 25: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(15)

1 下記のコマンドでダウンロードしたパッケージを起動します

ndash $ java -jar fmw_121300_oggjar

26

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 26: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

3 初期画面で「次へ」を選択します

GoldenGate Veridata Server のインストール(25)

27

2 起動画面

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 27: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(35)

28

4 FMW InfrastructureをインストールしたOracleホームを選択して「次」を押します

5 「Oracle GoldenGate Veridata Server」を選択し「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 28: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(45)

29

6 チェックが終わったら「次」を押します

7 内容を確認し「インストール」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 29: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Server のインストール(55)

30

9 全てのステップが終了したら「次」を押します

10 Veridata Serverのインストールは終了です「終了」ボタンを押して終了します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 30: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリ スキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

31

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 31: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata リポジトリスキーマの作成

bull FMW Infrastructure に含まれているRepository Creation Utility(RCU)を使用してVeridata リポジトリデータベースにスキーマを作成します

bull 本章ではリポジトリがOracle データベースの場合にスキーマを作成する手順を説明します

bull 事前にOracleデータベースをインストールしインスタンスとリスナーを構成しておく必要があります(本資料では省略)

32

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 32: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(17)

1 Veridata Server上で下記を実行します

ndash ORACLE_HOMEとJAVA_HOMEを設定します

bull export ORACLE_HOME= u01appMiddlewarehome

ndash Infrastuctureをインストールしたディレクトリ

bull 1章の通りJAVA_HOMEPATHを設定

ndash RCUプログラムを起動します

bull $ cd u01appMiddlewareOraHome_FMWoracle_commonbin

bull $ rcu

33

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 33: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(27)

34

3 事前にインストールしたリポジトリデータベースの接続情報を入力し「次」を押します

2「リポジトリの作成」の「システムロードおよび製品ロード」を選択します

データベースでDBA操作を実行する権限がない場合は 「システムロードに対するスクリプトの準備」を選択し 生成されたスクリプトを別途DBAが実行して下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 34: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(37)

35

5 コンポーネントの選択画面で「監査サービス」「Oracle Platform Security Services」「Veridata Repository」を押して「次」ボタンを押します

4 データベースに関する前提条件のチェックが終わったら「OK」を押します

データベースのキャラクタセットがAL32UTF8でない場合エラーが出ますが無視可能です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 35: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(47)

36

7 スキーマのパスワードを設定して「次」を押します

6 コンポーネントに関する前提条件のチェックが終わったら「OK」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 36: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(57)

37

9 表領域が存在していない場合は新規に作成されるか確認されるので問題なければ「OK」を押します

8 作成するスキーマを配置する表領域と一時表領域を設定して「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 37: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

10 表領域が作成完了したら「OK」を押します

RCUによるリポジトリスキーマの作成(67)

38

11 リポジトリ作成のサマリを確認して問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 38: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

RCUによるリポジトリスキーマの作成(77)

39

12 これでリポジトリ作成は完了です bull 必要に応じてボタンを押してログを確認することが可能です

bull 終了するには「閉じる」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 39: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動

GoldenGate Veridataを使用したデータ比較

40

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 40: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata ドメインの配置

bull 本章はOracle GoldenGate Veridataの標準インストールに必要なドメインの作成及び配置を説明します

bull ドメインとはVeridataが内部的に使用するアプリケーションサーバ「Oracle WebLogic Server」における論理的な管理グループです

bull 本章は設定ウィザードでドメインを作成する方法を説明します

ndash 他の方法もありますがここでは割愛します

41

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 41: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(17)

1 Oracleホーム以下のoracle_commoncommonbin ディレクトリに移動しプログラムを起動します

ndash $ cd u01appMiddlewareOraHome_FMWoracle_commoncommonbin

ndash $ configsh

42

2 「新規ドメインの作成」を選択して「ドメインの場所」を選び「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 42: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(27)

43

4 管理者用のアカウントパスワードを指定して「次」を押します

3 製品テンプレート画面で「Veridata Standard Weblogic Server Domain」を選択して「次」を選びます

自動的に「Oracle JRF」と「WebLogic Coherence Cluster Extention」も選択されます

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 43: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(37)

44

6 「RCUデータ」を選択し正しいDB接続情報を入力したら「RCU構成の取得」ボタンを押します

5 ドメインモードで「本番」を選びますまた170_15以上のJDKを選択して「次」を押します

Veridata Server

3章でRCUを使用してリポジトリを作成した際のリポジトリDBの情報を入力する

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 44: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(47)

45

8 JDBC接続のテストを行い問題なければ「次」ボタンを押します

7 RCUスキーマへのJDBC接続設定情報がすべて正しいかチェックして「次」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 45: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(57)

46

10 拡張設定をしたい場合はこちらで設定します

9 キーストアの証明書へのパスを指定し「次」を押します

設定の詳細はマニュアルをご参照下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 46: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(67)

47

12 構成が完了したら「次」を押します 11 設定内容を見直し問題なければ「作成」ボタンを押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 47: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

設定ウィザードによるドメインの作成(77)

48

13 以上でドメインの作成は完了です

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 48: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

49

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 49: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5 GoldenGate Veridata Agentのインストール

bull DBから比較データを抽出するためにデータベース側にAgentが必須ですAgentのインストールには下記のステップとなります

5-1 Veridata Agentのインストール(メディアからのインストール)

5-2 Veridata Agentのデプロイ

5-3 Veridata Agentの設定

bull 本章の作業は全てVeridata Serverのサーバではなくデータベースサーバ側で実行しますのでご注意ください

50

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 50: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(15)

1 2章の通りJAVA_HOME及びPATHが設定されていることを確認します

2 インストーラーを起動します

ndash インストール先の作成

bull $ mkdir -p u01appMiddlewareVeriAgent

ndash インストールメディアを起動

bull $ java ndashjar fmw_121300_oggjar

51

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 51: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(25)

52

3 初期画面で「次」を押します 4 インストール場所のOracleホームを選択します

Veridata Agent

前頁で作成しておいたフォルダを指定します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 52: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(35)

53

5 「Oracle GoldenGate Veridata Agent」を選択して「次」を押します

6 前提チェックが終わったら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 53: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(45)

54

7 インストールのサマリを確認して問題なければ「インストール」を押します

8 インストールが終了したら「次」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 54: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-1 Veridata Agentのインストール(55)

bull メディアからのインストールは完了しました

bull この後デプロイします

55

9 内容を確認して「終了」を押します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 55: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-2 Veridata Agentのデプロイ

bull AGENT_ORACLE_HOMEを設定します

ndash $ export AGENT_ORACLE_HOME=u01apporacleMiddlewareOraHome_FMWveridataagent

ndash ORACLE_HOMEとは別の場所にインストールしてください

bull Agent_configshを実行します

ndash $ cd $AGENT_ORACLE_HOME

ndash $ agent_configsh $AGENT_ORACLE_HOME

bull 実行後agent_configshで指定したディレクトリに下記のファイルディレクトリが生成されます

ndash agentsh(bat)

ndash configure_agent_sslsh (bat)

ndash VAOHsh(bat)

ndash agentpropertiessample

ndash Configディレクトリ

ndash Driversディレクトリ

ndash Serviceディレクトリ

56

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 56: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

5-3 Veridata Agentの設定

bull Agentのプロパティを編集します

bull $ cp agentpropertiessample agentproperties

bull $ vi agentproperties

bull Oracle DBの設定の例

ndash serverport=9101

ndash databaseurl=jdbcoraclethinlocalhost1521src1

ndash ServerdriversLocation=drivers

ndash ServerjdbcDriver=ojdbc7jar oraclexdb_1210jarのコメントを外す

57

Parameter Value

serverport Veridata Server との通信に使用します

databaseurl データベースへ JDBC 接続するための設定をします

serverdriversLocation

JDBC ドライバのディレクトリを指定します JDBC ドライバは drivers ディレクトリにデフォルトでインストールされています

serverjdbcDriver

JDBCドライバのファイル名を指定します

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 57: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境情報(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata の起動停止

GoldenGate Veridataを使用したデータ比較

58

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 58: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata Serverの起動停止

bull この章では下記のステップを説明します

6-1 WebLogic Serverのスタート

6-2 Veridata Serverのスタート

6-3 Veridataユーザの作成

6-4 Veridata Agentの起動停止

59

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 59: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-1 WebLogic Serverのスタート

bull DOMAIN_HOMEbinディレクトリに移動しWebLogic Serverを起動

ndash $ startWebLogicsh

Production Modeで起動中に下記の質問を聞かれます

「WebLogic Serverを起動するためのユーザー名を入力してください」

「WebLogic Serverを起動するためのパスワードを入力してください」

rarr「設定ウィザードによるドメインの作成」のステップ4で指定したユーザ名パスワードを入力してください

60

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 60: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-2 Veridata Serverのスタート

bull DOMAIN_HOMEveridatabinディレクトリに移動しVeridata Server を起動します

ndash $ cd u01appMiddlewaredomainsveridatabin

ndash $ veridataServersh start VERIDATA_server1 httplocalhost7001

ndash 上記の「VERIDATA_server1」はサーバ名(指定しないとデフォルトのVERIDATA_server1を使用)

ndash 上記の「httplocalhost7001」は管理URL

ndash ここでもWebLogicを起動するためのユーザ名パスワードを聞かれます

61

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 61: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(14)

bull WebLogic管理コンソールでVeridataユーザを作成します

1 4章のドメイン作成の最後に表示された管理サーバーのURLにアクセスします

ndash URLhttpltweblogicadmin servergt lt weblogic admin server portgtconsole

ndash 本例ではhttplocalhost7001console

62

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 62: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(24)

63

2 「セキュリティレルム」を選択しレルムmyrealm(デフォルトで存在)をクリックします

3 レルムの設定画面で「ユーザーとグループ」タブの「ユーザー」を選び「新規」を押します

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 63: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(34)

64

4 新規Veridata管理者のユーザ名パスワードを入力して「OK」を押します

5 「ユーザー」タブに表示が戻るので新規作成したユーザ名をクリックします

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 64: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-3 Veridataユーザの作成(44)

bull以上でVeridataユーザの作成は完了しました

bull作成されたユーザでVeridata Webコンソールにログインしていろいろな操作ができます

65

6 「グループ」タブを選択しユーザのロールを選択し「保存」ボタンを押します

ここでは全ての権限が使用できる「veridataAdministrator」「veridataCommandLineUser」「veridataRepairOperator」を選択します詳細はマニュアルをご確認下さい

Veridata Server

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 65: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

6-4 Veridata Agentの起動停止

bull下記のコマンドを実行してAgentの起動または停止することができます ndash 注Agentをインストールしたマシン(データベースサーバ)上で実行します

ndash起動 bull $ cd $AGENT_ORACLE_HOME(5章で設定した場所)

bull $ agentsh start

ndash停止 bull $ cd $AGENT_ORACLE_HOME (5章で設定した場所)

bull $ agentsh stop

66

Veridata Agent

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 66: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Agenda

事前の環境準備(要件確認とメディアの用意)

GoldenGate Veridata Server のインストール

GoldenGate Veridata リポジトリスキーマの作成

GoldenGate Veridata ドメインの配置

GoldenGate Veridata Agentのインストール

GoldenGate Veridata Serverの起動

GoldenGate Veridata を使用したデータ比較

67

1

2

3

4

5

6

7

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 67: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

GoldenGate Veridata を使用したデータ比較

bull Veridataのジョブの構成は下記のステップで行います

7-1 接続設定

エージェントをインストールした端末への接続設定

7-2グループ設定

ソースとターゲットをグループとして設定

7-3プロファイル設定(オプション)

ソート等の詳細な設定

7-4ジョブ設定

7-5ジョブの実行

68

WebLogic Server ドメイン

ソースDB Veridata リポジトリDB

比較データ抽出

Webから操作

Veridata Agent

レプリケーション

Veridata Server

ターゲットDB

Veridata Agent

JDBC

JDBC

TCPIP SSL

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 68: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(13)

1 作成したユーザでウェブコンソールにログインします

69

2 Connection Configurationの「New」をクリックして情報を入力し「Next」を押します

httphost8830veridata

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 69: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(23)

70

3 GoldenGate Veridata Agentの接続情報を入力して「Verify」ボタンで確認します「Next」を押して次の画面へ進みます

4 データベースのGoldenGateユーザ名とパスワードを入力し「Test Connection」で確認します「Finish」で終了します

Agentのプロパティに記載した値を使用

9101

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 70: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-1 接続設定(33)

6 ターゲット側の設定も終わったら終了です

71

5 Create another Connectionのチェックを入れて「OK」をクリックしターゲットDBのコネクションも設定してください(詳細は省略)

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 71: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(15)

bull グループとは

ndash ソースとターゲットの比較対象オブジェクトの設定を保存しておく論理的な集まりです

72

1 「Group Configuration」をクリックしグループ名とDescriptionを入力して「Next」を押します

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 72: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(25)

2 前のステップで作ったSource ConnectionとTarget Connectionを選択し「Finish」をクリックすればグループが作成されます

3 作成されたグループを選択して「Edit」をクリックしデータ比較ペアを追加します

73

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 73: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(35)

74

4 「Manual Mapping」へ進みます 5 比較対象のスキーマを選択しマッピングの設定を行います

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 74: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(45)

bull 「Preview」をクリックして設定内容を確認できます

bull 問題なければ「Save」ボタンを押してグループの設定を保存します

75

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 75: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-2 グループ設定(55)

bull また「Existing Compare Pairs」タブの「Validate Column Mapping」ボタンでコラムのマッピング状態を確認できます

76

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 76: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(12)

bull比較に関する詳細な設定はプロファイルで行います

bull設定していない場合デフォルト値を利用してジョブの設定および実行されます

bull「Profile Configuration」をクリックするとプロファイルの設定を行うことができます

bullプロファイルとデスクリプションを記入してFinishをクリック

77

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 77: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-3 プロファイル設定(22)

bull データ比較のためにデータをソートする方法は二つあります ndash Databaseデータベース内部でデータソート操作を行う

ndash VeridataVeidataのサーバ内でデータソート操作を行う

78

bull その他プロファイルでは下記のような設定が可能です

一般的な設定

ソート方式に関する設定

初期比較ステップに関する設定

非同期確認ステップに関する設定

修正に関する設定

bull 各パラメータの詳細に関してはオンラインヘルプをご参照下さい

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 78: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

1 「Job Configuration」をクリックするとジョブの設定を行うことができます

79

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 79: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

2 ジョブ名とデスクリプションを記入して「Next」をクリックします

3 ジョブに含めるグループを選択し(複数選択可)「Next」を選択します

80

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 80: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-4 ジョブ設定

4 Connectionを選択します

5 プロファイル情報を記入し「Finish」をクリックします

81

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 81: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行ジョブの配置

bull 「RUNExecute Job」リンクをクリックし「Run Job」ボタンでJobを実行できます

82

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 82: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull ジョブ内の全てのデータが一致している場合下記の結果が表示されます

83

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 83: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

7-5 ジョブの実行結果の確認

bull 一致していないデータがある場合結果は下記のように表示されます

84

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 84: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

参考情報

bull Oracle GoldenGate Veridata 12c データシート(英語)

ndash httpwwworaclecomusproductsmiddleware059493pdf

bull Oracle GoldenGate Veridata 12c リリースノート(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDRNtochtm

bull Oracle GoldenGate Veridata 12c マニュアル(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataindexhtml

bull Oracle GoldenGate Veridata 12c インストールガイド(日本語)

ndash httpdocsoraclecomcdE57761_01gg-veridataGVDIStochtm

85

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 85: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Document Control

Author

Oracle Asia Research amp Development Center bull 黄 明

bull 梁 国賢

Reviewer

日本オラクル株式会社 bull 谷川 信朗

bull 後藤 陽介

bull 中井 亮矢

bull 舟橋 直美

86

変更履歴

Date Version

201411 10 Created

20157 11 誤表記修正新OSDC対応等

20159 12 テンプレート変更

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 86: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved |

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 87: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン

Copyright copy 2015 Oracle andor its affiliates All rights reserved | 88

Page 88: Oracle GoldenGate Veridata 12c...FMW Infrastructureのインストール(1/5) 1. Verdata Serverをインストールするマ シンで、下記のコマンドでダウン