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
阅读(3388) | 评论(0) | 转发(0) |