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