zl程序教程

您现在的位置是:首页 >  数据库

当前栏目

goldengate 19.x安装(oracle)

Oracle安装 19 goldengate
2023-09-27 14:20:52 时间

环境:
OS:Centos 7
ogg:19.1.0.4

 

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

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

2.解压ogg软件
[root@localhost /]# mkdir /soft/ogg ##将安装包上传到该目录
[root@localhost /]# chown -R oracle:oinstall /soft/ogg
su - oracle
[oracle@hxl01 ogg]$cd /soft/ogg
[oracle@hxl01 ogg]$ unzip V983658-01.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]$ vi myogg.rsp
#-------------------------------------------------------------------------------
# Specify the installation option.
# Specify ORA19c for installing Oracle GoldenGate for Oracle Database 19c or
# ORA18c for installing Oracle GoldenGate for Oracle Database 18c or
# ORA12c for installing Oracle GoldenGate for Oracle Database 12c or
# ORA11g for installing Oracle GoldenGate for Oracle Database 11g
#-------------------------------------------------------------------------------
INSTALL_OPTION=ORA19c
##这里注意,若是数据库是19C的填写ORA19c
#-------------------------------------------------------------------------------
# Specify a location to install Oracle GoldenGate
#-------------------------------------------------------------------------------
SOFTWARE_LOCATION=/goldengate19c
##建议这里是一个空的目录


4.安装
进行安装
[oracle@ogg Disk1]$ ./runInstaller -silent -nowait -responseFile /soft/ogg/fbo_ggs_Linux_x64_shiphome/Disk1/response/myogg.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB. Actual 15352 MB Passed
Checking swap space: must be greater than 150 MB. Actual 4095 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2023-02-13_09-14-18PM. Please wait ...[oracle@ogg Disk1]$ You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2023-02-13_09-14-18PM.log
Successfully Setup Software.
The installation of Oracle GoldenGate Core was successful.
Please check '/u01/app/oraInventory/logs/silentInstall2023-02-13_09-14-18PM.log' for more details

 

-- The End --