欢迎投稿

今日深度:

在linux oracle 10g/11g x64bit环境中,goldengate随os启动

在linux oracle 10g/11g x64bit环境中,goldengate随os启动而自动启动的脚本,x64bitgoldengate


在linux,oracle 10g/11g x64bit环境中,goldengate随os启动而自动启动的脚本
背景描述:
goldengate安装于/u01/ggs目录下
rhel5.5 oracle 10g/11g x64bit
Oracle GoldenGate Command Interpreter for Oracle Version 11.1.1.0.0 Build 078 Linux, x64, 64bit (optimized), Oracle 11 on Jul 28 2010 13:13:42
实现goldengate 自动启动的步骤:
1.用oracle用户建立/u01/info.txt,文件内容如下: sh date start mgr
2.chmod +x info.txt
3.用oracle用户建立/u01/startmgr.sh,文件内如下: /u01/ggs/ggsci paramfile /u01/info.txt >> /u01/ggstartoutput.txt
4.chmod +x startmgr.sh
4.用root用户编辑 /etc/rc.local ,添加如下信息: su - oracle -c "/u01/startmgr.sh"
注意:这4步完成的是自动启动mgr进程,至于goldengate的抽取,传输,还有复制进程的自动启动,可以用mgr的参数autostart 来实现。

oracle10G的监听总是不可以自动启动,每次都要我开机后启动会可可以是什问题?服务那里已经设置自动的了

监听配置的时候 使用127.0.0.1,这样会好一点。可能监听里配置的地址找不到
 

在Linux系统oracle10中配置goldengate时总提示file portion must be two characters,问怎解决?

文件分区必须两个字符 ?是不是名字不标准
 

www.htsjk.Com true http://www.htsjk.com/shujukunews/2268.html NewsArticle 在linux oracle 10g/11g x64bit环境中,goldengate随os启动而自动启动的脚本,x64bitgoldengate 在linux,oracle 10g/11g x64bit环境中,goldengate随os启动而自动启动的脚本 背景描述: goldengate安装于/u01/ggs目...
评论暂时关闭