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

bianxq 2020-06-25

1.安装包存放目录

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

2.创建安装目录

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

3.设置环境变量

[ ~]$ 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‘

[ ~]$ source .bash_profile

4.解压缩

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

5.安装OGG

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

6.查看mgr进程状态

[ ~]$ 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

相关推荐