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 安装)

上一篇:Spark API编程动手实战-08-基于IDEA使用Spark API开发Spark程序-01


下一篇:MySQL对字段的删除和添加