Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6546443
  • 博文数量: 1005
  • 博客积分: 8199
  • 博客等级: 中将
  • 技术积分: 13071
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 20:19
个人简介

脚踏实地、勇往直前!

文章分类

全部博文(1005)

文章存档

2020年(2)

2019年(93)

2018年(208)

2017年(81)

2016年(49)

2015年(50)

2014年(170)

2013年(52)

2012年(177)

2011年(93)

2010年(30)

分类: Oracle

2018-06-14 11:37:31


goldengate在11.2.X版本的时候直接将压缩包解压即可使用,12.X版本出来后,有2种安装方式,1种是图像界面安装,另一种是静默安装方式,跟oracle安装方式保持一致,我这里安装的是静默的安装方式,ogg版本为122022.

安装过程是在oracle账号下进行的。
1.创建安装软件的目录
[root@localhost /]# cd /
[root@localhost /]# mkdir goldengate12c
[root@localhost /]# chown -R oracle:oinstall ./goldengate12c/

2.解压ogg软件
[root@localhost /]# chown -R oracle:oinstall ./soft
su - oracle
[oracle@hxl01 ogg]$cd /soft/ogg
[oracle@hxl01 ogg]$ unzip 122022_fbo_ggs_Linux_x64_shiphome.zip
[oracle@hxl01 ogg]$cd /soft/ogg/fbo_ggs_Linux_x64_shiphome/Disk1/response

拷贝一份安装配置文件
[oracle@hxl01 response]$ cp oggcore.rsp myogg.rsp

3.修改配置文件
编辑myogg.rsp文件,找到如下两项进行修改
[oracle@localhost response]$ cp oggcore.rsp myogg.rsp
#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA12c for installing Oracle GoldenGate for Oracle Database 12c and
#         ORA11g for installing Oracle GoldenGate for Oracle Database 11g
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA12c
##这里注意,若是数据库是11g的填写ORA11g
#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/goldengate12c
##建议这里是一个空的目录



4.安装
进行安装
./runInstaller -silent -nowait -responseFile /soft/ogg/fbo_ggs_Linux_x64_shiphome/Disk1/response/myogg.rsp

5.查看日志
[oracle@hxl01 ogg]$ more /u01/app/oraInventory/logs/silentInstall2018-06-14_11-10-55AM.log
silentInstall2018-06-14_11-10-55AM.log
WARNING:OUI-10030:You have specified a non-empty directory to install this product. It is recommended to specify either an empty or a non-existent directory. You may, however, choose to ignore this message if the directory contains Oper
ating System generated files or subdirectories like lost+found.
Do you want to proceed with installation in this Oracle Home?
The installation of Oracle GoldenGate Core was successful.

从日志看出,建议提供一个空的目录安装ogg
阅读(3289) | 评论(0) | 转发(0) |
0

上一篇:mysql分组排名

下一篇:python写入数据到mysql

给主人留下些什么吧!~~