oracle GoldenGate Veridata配置
GoldenGate Veridata是GoldenGate中用於比較資料庫間資料同步效果的一個工具。
官方說明如下:
Oracle GoldenGate Veridata is a high-speed data comparison solution that identifies and reports data discrepancies between databases without interrupting ongoing business processes. Using Oracle GoldenGate Veridata, companies can audit and verify large volumes of data across a variety of business applications with certainty,and maintain reliable data synchronization.
我本次配置Veridata使用了由於如下元件:
l GoldenGate Veridata Server
l GoldenGate Veridata Web
l GoldenGate Veridata Repository
l GoldenGate Veridata Agent
兩臺db server安裝軟體說明:
|
Db server1 |
Db server2 |
Veridata元件 |
GoldenGate Veridata Server GoldenGate Veridata Web GoldenGate Veridata Repository GoldenGate Veridata Java Agent |
GoldenGate Veridata Java Agent |
Oracle db |
Oracle 10.2.0.3 for win x86 |
Oracle 11.2.0.1 for linux x64 |
IP |
192.168.126.1 |
192.168.126.128 |
GoldenGate Veridata相關軟體包:
下載:
GoldenGate_Veridata_win_x86_v3004_003.exe
GoldenGate_Veridata_Agent_win_x86_v3004_003.exe
V19618-01.zip (linux agent)
GoldenGate Veridata Server安裝:
在server1上安裝GoldenGate Veridata Server,使用GoldenGate_Veridata_win_x86_v3004_003.exe包(windows的安裝,一路next),過程中需要注意的地方是:配置web server admin(記住自己配的使用者名稱、口令、port)、指定Repository(相關tns、schema、tablespace要先準備好)、是否安裝到windows serice等。
啟動相關服務:GoldenGate Veridata Server、GoldenGate Veridata Web
GoldenGate Veridata Java Agent安裝:
1.db server1
Veridata Server中沒有包含agent,需要單獨安裝,點選GoldenGate_Veridata_Agent_win_x86_v3004_003.exe包進行安裝。
需要注意的是:
Agent port的設定,預設埠是7850
JDBC URL設定指向本地資料庫,之後最好輸入使用者和口令進行test connect
2.db server2
在liunx系統中解壓V19618-01.zip包,進入agent目錄,找到agent.properties.sample檔案,將它cp為agent.properties,然後進行vi,修改如下內容:
server.port=7850 (agent埠)
database.url=jdbc:oracle:thin:@192.168.126.128:1521:orcl
server.driversLocation = drivers
server.jdbcDriver=ojdbc5.jar
執行agent:
1.db server1
進入agent安裝目錄C:\Program Files\Goldengate_Veridata_Agent,執行agent.bat start,確認7850埠開啟
2.db server2
在agent解壓目錄/agent中,執行./agent.sh start,確認7850埠開啟
使用WEB進行配置管理Veridata
l 在db server1上使用瀏覽器訪問,輸入之前配置的使用者名稱和口令;
l 點選“Connection Configuration”,新建connection,分別配置指向server1和server2的oracle資料庫;
l 點選“Group Configuration”,新建group,指定source connection和target connection,配置“Compare Pair Configuration”指定物件對,並儲存(可透過“preview”檢視物件對);
l 點選“Job Configuration”,新建job,並儲存;
l 點選“Run...”按鈕,執行job
我指定的是兩個庫的scott使用者的對比,其中EMP和DEPT表對比完成一致,而BONUS和SALGRADE表一直是Abended狀態,之後才發現原因是這兩個表中沒有key。
2010-06-23 15:10:16. Abended with errors. Group (scott), Compare Pair (BONUS=BONUS). (3) Remaining
2010-06-23 15:10:16. Abended with errors. Group (scott), Compare Pair (SALGRADE=SALGRADE). (2) Remaining
2010-06-23 15:10:17. Completed in-sync. Group (scott), Compare Pair (EMP=EMP). (1) Remaining
2010-06-23 15:10:17. Completed in-sync. Group (scott), Compare Pair (DEPT=DEPT). (0) Remaining
Compare Pairs with Errors: 2 Compare Pairs with Out-Of-Sync: 0 Compare Pairs without Out-Of-Sync: 2 Compare Pairs Cancelled: 0 |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14710393/viewspace-1482696/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle GoldenGate Veridata 12.2.1.4安裝配置使用全手冊OracleGo
- 用python生成oracle goldengate複製配置檔案PythonOracleGo
- ORACLE GoldenGate Initial LoadOracleGo
- About the Oracle GoldenGate TrailOracleGoAI
- Oracle GoldenGate 18.1釋出OracleGo
- Oracle GoldenGate安裝(一)OracleGo
- Oracle GoldenGate安裝(二)OracleGo
- Oracle GoldenGate安裝(三)OracleGo
- GoldenGate的基本配置流程Go
- Oracle GoldenGate常用引數詳解OracleGo
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- 使用Oracle Grid配置Goldengate或其他第三方應用高可用OracleGo
- 使用GoldenGate 遷移Oracle到PostgreSQL/LightDBGoOracleSQL
- Oracle案例13—— OGG-01163 Oracle GoldenGate Delivery for Oracle, reprpt01.prmOracleGo
- Oracle GoldenGate 18.1 支援的DB和OS列表OracleGo
- ORACLE GoldenGate 使用技巧-容錯處理等OracleGo
- Oracle Goldengate 12c打pus補丁OracleGo
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- Oracle GoldenGate同步服務歸檔空間維護OracleGo
- Oracle Goldengate(ogg) 12c認證考試流程OracleGo
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- GoldenGate抽取Informix資料庫安裝及配置GoORM資料庫
- Oracle GoldenGate 11g官方文件Administrator’s Guide續二OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續一OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續三OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續四OracleGoGUIIDE
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- goldengate + asm + racGoASM
- Hibernate配置OracleOracle
- Oracle安全配置Oracle
- Oracle GoldenGate 針對表沒有主鍵或唯一索引的解決方案OracleGo索引
- oracle 資料透過goldengate 實時同步到kafka訊息佇列中OracleGoKafka佇列
- [Oracle] -- 配置Oracle環境變數Oracle變數
- 11. Oracle for Linux安裝和配置—11.3. Oracle安裝和配置—11.3.3. Oracle net配置OracleLinux
- GoldenGate Logdump基本使用Go
- oracle安裝配置Oracle
- 寶付oracle配置Oracle
- oracle dataguard broker 配置Oracle
- Oracle Goldengate是如何保證資料有序和確保資料不丟失的?OracleGo