1.安装包存放目录(xag100、xag101)
[oracle@xag100 setup]$ pwd
/u01/setup
[oracle@xag100 setup]$ ls
123014_fbo_ggs_Linux_x64_shiphome.zip
2.创建安装目录(xag100,xag101)
#源端安装目录
[oracle@xag100]$ mkdir -p /u01/app/oracle/product/ogg
#目标端安装目录
[oracle@xag101]$ mkdir -p /u01/app/oracle/product/ogg
3.设置环境变量(xag100,xag101)
[oracle@xag100 ~]$ 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‘
[oracle@xag100 ~]$ source .bash_profile
4.解压缩(xag100,xag101)
[oracle@xag100 setup]$ unzip 123014_fbo_ggs_Linux_x64_shiphome.zip
[oracle@xag100 setup]$ cd /u01/setup/fbo_ggs_Linux_x64_shiphome/Disk1
5.安装OGG
[oracle@xag100 Disk1]$ export DISPLAY=192.168.0.7:0.0
[oracle@xag100 Disk1]$ ./runInstaller
#选择安装至哪个数据库版本上面,我这里选择的是Oracle 11G
#选中 Start Manager
6.查看mgr进程状态(xag100,xag101)
[oracle@xag100 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