Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之02准备(GoldenGate 安装)

Posted 轻飘飘D

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之02准备(GoldenGate 安装)相关的知识,希望对你有一定的参考价值。

1.安装包存放目录

[oracle@xag130 setup]$ pwd
/u01/setup
[oracle@xag130 setup]$ ls
123014_fbo_ggs_Linux_x64_shiphome.zip

2.创建安装目录

[oracle@xag130 setup]$ mkdir -p /u01/app/oracle/product/ogg

3.设置环境变量

[oracle@xag130 ~]$ vim /home/oracle/scripts/setEnv.sh
...

# ADD Path Oracle GoldenGate
export OGG_HOME=/u01/app/oracle/product/ogg
export PATH=$OGG_HOME:$PATH
export LD_LIBRARY_PATH=$OGG_HOME:$LD_LIBRARY_PATH
alias ggsci=‘rlwrap ggsci‘

[oracle@xag130 ~]$ source .bash_profile 

4.解压缩

[oracle@xag130 setup]$ unzip 123014_fbo_ggs_Linux_x64_shiphome.zip
[oracle@xag130 setup]$ cd /u01/setup/fbo_ggs_Linux_x64_shiphome/Disk1 

5.安装OGG

[oracle@xag130 Disk1]$ export DISPLAY=192.168.0.3:0.0
[oracle@xag130 Disk1]$ ./runInstaller 
#Software Location 选择 /u01/app/oracle/product/ogg
#选择安装至哪个数据库版本上面,我这里选择的是Oracle 12C
#选中 Start Manager

6.查看mgr进程状态

[oracle@xag130 ~]$ ggsci

GGSCI (xag130) 2> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING 

#停 mgr 进程
GGSCI (xag130) 3> stop mgr
Manager process is required by other GGS processes.
Are you sure you want to stop it (y/n)?y

Sending STOP request to MANAGER ...
Request processed.
Manager stopped.

GGSCI (xag130) 4> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     STOPPED 

以上是关于Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之02准备(GoldenGate 安装)的主要内容,如果未能解决你的问题,请参考以下文章

Oracle GoldenGate 12.3.0.1.4 安装配置 之04 (配置数据库支持GoldenGate)

Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之05 ( Data Transformation )

Oracle Goldengate 12.3.0.1的目录介绍

Oracle GoldenGate 12.3.0.1.4 安装配置 之02 (oracle 11.2.0.4实例创建)

Oracle GoldenGate 同步数据至Hbase

GoldenGate 12.3微服务架构与传统架构的区别