Oracle GoldenGate 12.3.0.1.4 安装配置 之03 (GoldenGate 安装)

1.安装包存放目录(xag100、xag101)

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

2.创建安装目录(xag100,xag101)

#源端安装目录
[]$ mkdir -p /u01/app/oracle/product/ogg

#目标端安装目录
[]$ mkdir -p /u01/app/oracle/product/ogg

3.设置环境变量(xag100,xag101)

[ ~]$ vim 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.解压缩(xag100,xag101)

[ 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.7:0.0
[ Disk1]$ ./runInstaller 
#选择安装至哪个数据库版本上面,我这里选择的是Oracle 11G
#选中 Start Manager

6.查看mgr进程状态(xag100,xag101)

[ Disk1]$ ggsci 

Oracle GoldenGate Command Interpreter for Oracle
Version 12.3.0.1.4 OGGCORE_12.3.0.1.0_PLATFORMS_180415.0359_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 15 2018 21:16:09
Operating system character set identified as UTF-8.

GGSCI (xag100) 1> info all 

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING

相关推荐