码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2020-06-25 23:51:42      阅读:113      评论:0      收藏:0      [点我收藏+]

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

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

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

原文地址:https://www.cnblogs.com/mydb/p/13193286.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!