当前位置:Gxlcms > 数据库问题 > Oracle GoldenGate 12.3.0.1.4 in Oracle 12.2 之02准备(GoldenGate 安装)

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

时间:2021-07-01 10:21:17 帮助过:23人阅读

1.安装包存放目录

  1. <code>[oracle@xag130 setup]$ pwd
  2. /u01/setup
  3. [oracle@xag130 setup]$ ls
  4. 123014_fbo_ggs_Linux_x64_shiphome.zip
  5. </code>

2.创建安装目录

  1. <code>[oracle@xag130 setup]$ mkdir -p /u01/app/oracle/product/ogg
  2. </code>

3.设置环境变量

  1. <code>[oracle@xag130 ~]$ vim /home/oracle/scripts/setEnv.sh
  2. ...
  3. # ADD Path Oracle GoldenGate
  4. export OGG_HOME=/u01/app/oracle/product/ogg
  5. export PATH=$OGG_HOME:$PATH
  6. export LD_LIBRARY_PATH=$OGG_HOME:$LD_LIBRARY_PATH
  7. alias ggsci=‘rlwrap ggsci‘
  8. [oracle@xag130 ~]$ source .bash_profile
  9. </code>

4.解压缩

  1. <code>[oracle@xag130 setup]$ unzip 123014_fbo_ggs_Linux_x64_shiphome.zip
  2. [oracle@xag130 setup]$ cd /u01/setup/fbo_ggs_Linux_x64_shiphome/Disk1
  3. </code>

5.安装OGG

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

6.查看mgr进程状态

  1. <code>[oracle@xag130 ~]$ ggsci
  2. GGSCI (xag130) 2> info all
  3. Program Status Group Lag at Chkpt Time Since Chkpt
  4. MANAGER RUNNING
  5. #停 mgr 进程
  6. GGSCI (xag130) 3> stop mgr
  7. Manager process is required by other GGS processes.
  8. Are you sure you want to stop it (y/n)?y
  9. Sending STOP request to MANAGER ...
  10. Request processed.
  11. Manager stopped.
  12. GGSCI (xag130) 4> info all
  13. Program Status Group Lag at Chkpt Time Since Chkpt
  14. MANAGER STOPPED
  15. </code>

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

标签:info   数据库   set   bash   gate   ogr   cat   压缩   run   

人气教程排行