ogg静默安装同步oracle数据
注意ogg12.2和oracle12.2会有版本不兼容,ogg版本向下兼容,所以要同步oracle12C数据ogg版本起码要是12.3。
1.上传压缩包:191004_fbo_ggs_Linux_x64_shiphome.zip
2.解压:unzip 191004_fbo_ggs_Linux_x64_shiphome.zip -d /data/ogg_app/
3.配置自动应答文件:
cd fbo_ggs_Linux_x64_shiphome/Disk1/response/
4.启动静默安装
./runInstaller -silent -responseFile /data/softwares/ogg12c/fbo_ggs_Linux_x64_shiphome/Disk1/response/oggcore.rsp
5.添加环境变量
vi ~/.bash_profile
export ORACLE_BASE=/usr/local/oracle/
export ORACLE_HOME=/usr/local/oracle/product/12.1.0/db_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH
export GGATE=/data/ogg_app/ogg
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
6.进入到goldengate目录创建子目录
./ggsci