GoldenGate组态(四)它veridata组态

环境:

Item

Source System

Target System

Platform

Red Hat Enterprise

Linux Server release 5.4

Red Hat Enterprise

Linux Server release 5.4

Hostname

gc1

gc2

Database

Oracle 10.2.0.1

Oracle 11.2.0.1

Character Set

ZHS16GBK

ZHS16GBK

ORACLE_SID

PROD

EMREP

Listener Name/Port

LISTENER/1521

LISTENER/1521

Goldengate User

ogg

ogg

gc1:创建文件夹

[root@gc1~]#
cd /u01/app

[root@gc1app]#
ls

ogg  oracle

[root@gc1app]#
mkdir veridata

[root@gc1app]# ls

ogg oracle  veridata

[root@gc1app]#
chown -R oracle:oinstall /u01/app/veridata

[root@gc1app]# ls -ll

total 12

drwxrwxr-x 13 oracle oinstall 4096 Jun 18 21:55ogg

drwxr-xr-x 7 oracle oinstall 4096 Jun 13 01:04 oracle

drwxr-xr-x  2 oracle oinstall 4096Jun 18 23:10 veridata

gc2:创建文件夹

[root@gc2~]#
cd /u01/app

[root@gc2app]#
ls

ogg oracle  oraInventory

[root@gc2app]# mkdir veridata

[root@gc2app]#
chown -R oracle:oinstall /u01/app/veridata

[root@gc2app]#
ls -ll

total 16

drwxr-xr-x 13 oracle oinstall 4096 Jun 18 22:06ogg

drwxr-xr-x 8 oracle oinstall 4096 Jan 23 19:14 oracle

drwxrwx--- 5 oracle oinstall 4096 Jan 23 19:12 oraInventory

drwxr-xr-x  2 oracle oinstall 4096Jun 18 23:12 veridata

gc1:MGR配置

[oracle@gc1~]$
cd /u01/app/veridata

[oracle@gc1veridata]$ ls

veridata-cagent.zip

[oracle@gc1veridata]$
unzip veridata-cagent.zip

Archive: veridata-cagent.zip

inflating:ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar

[oracle@gc1veridata]$ 
tar-xvf ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar

veridata/

veridata/agent/

veridata/agent/bcrypt.txt

veridata/agent/freeBSD.txt

veridata/agent/ggMessage.dat

veridata/agent/ggsci

veridata/agent/help.txt

veridata/agent/libicudata.so.38

veridata/agent/libicui18n.so.38

veridata/agent/libicuuc.so.38

veridata/agent/libxml2.txt

veridata/agent/mgr

veridata/agent/notices.txt

veridata/agent/veriagt

veridata/agent/zlib.txt

[oracle@gc1veridata]$
ls

ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar  veridata veridata-cagent.zip

[oracle@gc1veridata]$
cd veridata

[oracle@gc1veridata]$
ls

agent

[oracle@gc1veridata]$
cd agent

[oracle@gc1agent]$ ls

bcrypt.txt  ggMessage.dat  help.txt          libicui18n.so.38  libxml2.txt notices.txt  zlib.txt

freeBSD.txt  ggsci         libicudata.so.38 libicuuc.so.38    mgr          veriagt

[oracle@gc1agent]$
./ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 10.4.0.19 Build 003

Linux, x86, 32bit (optimized), Oracle 10 on Sep20 2009 20:57:49

Copyright (C) 1995, 2009, Oracle and/or itsaffiliates.  All rights reserved.

SCI(gc1) 1>
create subdirs

Creating subdirectories under current directory/u01/app/veridata/veridata/agent

Parameter files               /u01/app/veridata/veridata/agent/dirprm: created

Report files                  /u01/app/veridata/veridata/agent/dirrpt: created

Checkpoint files              /u01/app/veridata/veridata/agent/dirchk: created

Process status files          /u01/app/veridata/veridata/agent/dirpcs: created

SQL script files              /u01/app/veridata/veridata/agent/dirsql: created

Database definitions files     /u01/app/veridata/veridata/agent/dirdef:created

Extract data files            /u01/app/veridata/veridata/agent/dirdat: created

Temporary files                /u01/app/veridata/veridata/agent/dirtmp:created

Veridata files                /u01/app/veridata/veridata/agent/dirver: created

Veridata Lock files           /u01/app/veridata/veridata/agent/dirver/lock: created

Veridata Out-Of-Sync files     /u01/app/veridata/veridata/agent/dirver/oos:created

Veridata Out-Of-Sync XML files/u01/app/veridata/veridata/agent/dirver/oosxml: created

Veridata Parameter files      /u01/app/veridata/veridata/agent/dirver/params: created

Veridata Report files          /u01/app/veridata/veridata/agent/dirver/report:created

Veridata Status files         /u01/app/veridata/veridata/agent/dirver/status: created

Veridata Trace files          /u01/app/veridata/veridata/agent/dirver/trace: created

Stdout files                   /u01/app/veridata/veridata/agent/dirout:created

GGSCI(gc1) 2>
EDIT PARAMS MGR   --加入红色部分

PORT 7788

~

"dirprm/mgr.prm" [New] 1L, 10C written

GGSCI(gc1) 3> 
STARTMANAGER

Manager started.

GGSCI(gc1) 4>
info all

Program    Status      Group       Lag          Time Since Chkpt

MANAGER    RUNNING

gc2:MGR配置

[oracle@gc2app]$
cd veridata/

[oracle@gc2veridata]$
ls

veridata-cagent.zip

[oracle@gc2veridata]$
unzip veridata-cagent.zip

Archive: veridata-cagent.zip

inflating: ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar

[oracle@gc2veridata]$
tar -xvfggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar

veridata/

veridata/agent/

veridata/agent/bcrypt.txt

veridata/agent/freeBSD.txt

veridata/agent/ggMessage.dat

veridata/agent/ggsci

veridata/agent/help.txt

veridata/agent/libicudata.so.38

veridata/agent/libicui18n.so.38

veridata/agent/libicuuc.so.38

veridata/agent/libxml2.txt

veridata/agent/mgr

veridata/agent/notices.txt

veridata/agent/veriagt

veridata/agent/zlib.txt

[oracle@gc2veridata]$
cd veridata/agent/

[oracle@gc2agent]$
ls

bcrypt.txt  ggMessage.dat  help.txt          libicui18n.so.38  libxml2.txt notices.txt  zlib.txt

freeBSD.txt ggsci         libicudata.so.38 libicuuc.so.38    mgr          veriagt

[oracle@gc2agent]$
./ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 10.4.0.19 Build 003

Linux, x86, 32bit (optimized), Oracle 10 on Sep20 2009 20:57:49

Copyright (C) 1995, 2009, Oracle and/or itsaffiliates.  All rights reserved.

GGSCI(gc2) 1>
create subdirs

Creating subdirectories under current directory/u01/app/veridata/veridata/agent

Parameter files               /u01/app/veridata/veridata/agent/dirprm: created

Report files                  /u01/app/veridata/veridata/agent/dirrpt: created

Checkpoint files              /u01/app/veridata/veridata/agent/dirchk:created

Process status files          /u01/app/veridata/veridata/agent/dirpcs: created

SQL script files              /u01/app/veridata/veridata/agent/dirsql: created

Database definitions files     /u01/app/veridata/veridata/agent/dirdef:created

Extract data files            /u01/app/veridata/veridata/agent/dirdat: created

Temporary files               /u01/app/veridata/veridata/agent/dirtmp: created

Veridata files                 /u01/app/veridata/veridata/agent/dirver:created

Veridata Lock files           /u01/app/veridata/veridata/agent/dirver/lock: created

Veridata Out-Of-Sync files    /u01/app/veridata/veridata/agent/dirver/oos: created

Veridata Out-Of-Sync XML files/u01/app/veridata/veridata/agent/dirver/oosxml: created

Veridata Parameter files      /u01/app/veridata/veridata/agent/dirver/params: created

Veridata Report files         /u01/app/veridata/veridata/agent/dirver/report: created

Veridata Status files          /u01/app/veridata/veridata/agent/dirver/status:created

Veridata Trace files          /u01/app/veridata/veridata/agent/dirver/trace: created

Stdout files                  /u01/app/veridata/veridata/agent/dirout: created

GGSCI(gc2) 2>
EDIT PARAMS MGR    --加入红色内容

PORT 7788

~

"dirprm/mgr.prm" [New] 1L, 10C written

GGSCI(gc2) 3>
START MANAGER

Manager started.

GGSCI(gc2) 4>
info all

Program    Status      Group       Lag           Time Since Chkpt

MANAGER    RUNNING

gc1:server安装与配置

[oracle@gc1veridata]$
ls

ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar  veridata veridata-cagent.zip veridata-server.zip

[oracle@gc1veridata]$
unzip veridata-server.zip

Archive: veridata-server.zip

inflating: GoldenGate_Veridata_redhatAS40_x86_v3006_002.sh

inflating: OGG_Veridata_Rel_Notes_3_0_0_6_002.pdf

inflating: README.txt

[oracle@gc1veridata]$ ls -l

total 414340

-rwxr-x--- 1 oracle oinstall  30556160 Sep 29  2009ggs_veridataAgent_redhatAS40_x86_ora10g_32bit_v3.0.0.2_001.tar

-rwxr-xr-x 1 oracle oinstall 190415253 Aug  6  2010GoldenGate_Veridata_redhatAS40_x86_v3006_002.sh

-rwxrwxr-x 1 oracle oinstall     92348 Sep 14  2010 OGG_Veridata_Rel_Notes_3_0_0_6_002.pdf

-rwxrwxr-x 1 oracle oinstall      9158 Mar 26  2010 README.txt

drwxr-x--- 3 oracle oinstall      4096 Sep 21  2009 veridata

-rw-r--r-- 1 oracle oinstall  12202562 Jun 18 23:20 veridata-cagent.zip

-rw-r--r-- 1 oracle oinstall 190549579 Jun 1823:43 veridata-server.zip

gc1:

SQL>create user veridata identified by veridata;

SQL>create role veridata_role;

SQL>grant create session,create table,create view,createprocedure,create synonym to veridata_role;

SQL>grant veridata_role to veridata;

SQL>alter user veridata quota unlimited on users;

SQL>grant dba to veridata;



    - - 打开xstart,假设提示要创建一个session name,就先给这个对话起个名,然后输入host,protocol选择sshcommand选择3 xterm(linux type 2)然后点run启动。例如以下图所看到的

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



#xhost +

图形化配置

--图形界面执行./GoldenGate_Veridata_redhatAS40_x86_v3006_002.sh

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">





username:veridata

password:oracle

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">







watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



[oracle@gc1 admin]$ vi tnsnames.ora

PROD =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST= 192.168.17.116)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = PROD)

)

)

[oracle@gc1 admin]$ lsnrctl start



















--启动veridata服务

[oracle@gc1 bin]$ cd /home/oracle/Oracle_GoldenGate_Veridata/server/bin

[oracle@gc1 bin]$ ./veridata_server.shstart

[oracle@gc1 bin]$ ps -ef|grep -iveridata

oracle    4774    1  0 Jun18 ?

00:00:00 ./mgr PARAMFILE/u01/app/veridata/veridata/agent/dirprm/mgr.prm REPORTFILE/u01/app/veridata/veridata/agent/dirrpt/MGR.rpt PROCESSID MGR PORT 7809

oracle    9793    1  0 01:04 pts/2    00:00:00/home/oracle/Oracle_GoldenGate_Veridata/server/bin/veridata

oracle    9814 4722  0 01:05 pts/2    00:00:00 grep -i veridata

--启动veridata的web服务

[oracle@gc1 bin]$ cd/home/oracle/Oracle_GoldenGate_Veridata/web/bin

[oracle@gc1 bin]$ ./veridata_web.shstart

CATALINA_HOME:/home/oracle/Oracle_GoldenGate_Veridata/web

JRE_HOME:/home/oracle/Oracle_GoldenGate_Veridata/jre

JAVA_OPTS:-Xmx512m -Djava.awt.headless=true-Dveridata.log.dir=/home/oracle/Oracle_GoldenGate_Veridata/shared/logs

UsingCATALINA_BASE:  /home/oracle/Oracle_GoldenGate_Veridata/web

UsingCATALINA_HOME:  /home/oracle/Oracle_GoldenGate_Veridata/web

UsingCATALINA_TMPDIR: /home/oracle/Oracle_GoldenGate_Veridata/web/temp

UsingJRE_HOME:      /home/oracle/Oracle_GoldenGate_Veridata/jre

username:veridata

password:oracle

网页登陆:http://192.168.17.116:8830



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">





watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">







watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">







gc2:

SQL>create user veridata identified by veridata;

User created.

SQL>grant dba to veridata;

Grant succeeded.



watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">







注意:此处可加入profile配置(此文未加入)。可用于将结果加入到profile文件里。































--如上图点击“RunJob”后,待job执行完成后,例如以下查看结果:





watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvaHVhbmd5YW5sb25n/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt="">



--至此。对于veridata的配置完毕



















版权声明:本文博客原创文章。博客,未经同意,不得转载。

GoldenGate组态(四)它veridata组态的更多相关文章

  1. 浅析 2D 组态与 2.5D 组态的区别 | 空调装配生产线与化工安全流程

    前言 为了更有效辨别 2D 与 2.5D 之间的区别,图扑软件选用 2D 空调装配生产线与 2.5D 化工厂安全流程作比较.通过自主研发的 HT 产品,采用 B/S 架构快速搭建零代码拖拽式 Web ...

  2. 开源纯C#工控网关+组态软件

    一.   前言 在园子潜水也七八年了.说来惭愧,这么多年虽然一直自称.NET铁杆粉丝,然仅限于回几个不痛不痒的贴,既没有发布过代码,也没有写过文章. 看着.NET和C#在国外风生水起,国内却日趋没落, ...

  3. Wincc flexable的数据记录的组态

    1.数据记录就是将PLC采集的数据记录下来如下,注意只有TP270和OP270以上的HMI设备才有数据记录 2.练习展示 3.开始创建数据记录 4.组态数据记录 5.组态变量的记录属性.将数据记录和变 ...

  4. CP342-5做主站的profibus-dp组态应用

    1.CP342-5介绍 2.系统结构图 3.组态DP主站 4.组态DP从站 1)插入DP V0 slaves下的ET200M 2)设置属性 3)添加ET200M的其他模块 4)保存和编译 4.DP通信 ...

  5. wincc flexable变量组态

    1.变量分类 2.变量组态练习 3.变量组态之前新建一个设备连接取名connect 3.tag1组态bool类型,双击变量弹出下面窗口,具体如下图所示connect表示外部变量 4.组态tag2 5. ...

  6. iNeuOS工业互联平台,WEB组态(iNeuView)增加工程视图导入、导出功能,及优化和修复,发布:v3.2.1版本

    目       录 1.      概述... 2 2.      平台演示... 2 3.      导出组态工程文件... 2 4.      导入组态工程文件... 3  1.   概述 iNe ...

  7. WEB组态可视化软件(B/S)

    WEB组态可视化软件 目录 WEB组态可视化软件 1 B/S组态软件 2 组态概念 3 组态产品呈现 4 功能特点 5 组态软件应用场景 6 经典的案例 6.1 某通信基站的组态可视化 7 具体实现 ...

  8. GoldenGate实施步骤

    一.GoldenGate实施环境 source database:oracle 11.2.0.3 target  database:oracle 11.2.0.3 需要配置的进程如下: source ...

  9. 我的Modbus Slave/Client开发历程(Rtu/AscII/Tcp)

    我的Modbus Slave/Client开发历程(Rtu/AscII/Tcp) 分类: [自动化]2007-07-19 10:04 34038人阅读 评论(38) 收藏 举报 vb嵌入式dostcp ...

随机推荐

  1. U7Linux文件与目录管理

    1. .:代表当前层目录. ..:代表上一层目录. -:代表前一个工作目录. ~:代表目前用户所在的主文件夹. ~account:代表account这个用户的主文件夹. 2.pwd:显示当前目录. p ...

  2. asp.net用户身份验证时读不到用户信息的问题 您的登录尝试不成功。请重试。 Login控件

    原文:asp.net用户身份验证时读不到用户信息的问题 您的登录尝试不成功.请重试. Login控件 现象1.asp.net使用自定义sql server身份验证数据库,在A机器新增用户A,可以登录成 ...

  3. HDU5086Revenge of Segment Tree(数论)

    HDU5086Revenge of Segment Tree(数论) pid=5086" target="_blank" style="">题目 ...

  4. Android实现限制EditText输入文字的数量

    一: 声明控件.          TextView hasnumTV;         TextView hasnum;// 用来显示剩余字数         int num = 50;// 限制的 ...

  5. 二十7天 春雨滋润着无形 —Spring依赖注入

    6月11日,明确."夏条绿已密,朱萼缀明鲜.炎炎日正午,灼灼火俱燃." IT人习惯把详细的事物加工成的形状一致的类.正是这种一致,加上合适的规范.才干彰显对象筋道的牙感和bean清 ...

  6. .net MVC AutoFac基地的环境建设

    在Nuget在运行安装引用 Install-Package Autofac -Version 3.1.0 Install-Package Autofac.Mvc4 public static void ...

  7. TaintDroid:智能手机监控实时隐私信息流跟踪系统(一)

    1.1     摘要 现今,智能手机操作系统不能有效的提供给用户足够的控制权并且很清楚的了解到第三方的应用程序是如何使用其的隐私数据.我们使用了TaintDroid来阐明这个缺点,其是一个高效的,全系 ...

  8. Test SRM Level Two: CountExpressions, Brute Force

    题目来源:http://community.topcoder.com/stat?c=problem_statement&pm=8157 这道题目跟扑克牌算24的题目比较像,但要简单一些.点击查 ...

  9. POJ 2914 Minimum Cut 最小割图论

    Description Given an undirected graph, in which two vertices can be connected by multiple edges, wha ...

  10. effective c++ 条款18 make interface easy to use correctly and hard to use incorrectly

    举一个容易犯错的例子 class Date { private: int month; int day; int year; public: Date(int month,int day,int ye ...