在linux oracle 10g/11g x64bit環境中,goldengate隨os啟動而自動啟動的指令碼,x64bitgoldengate

來源:互聯網
上載者:User

在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 OracleVersion 11.1.1.0.0 Build 078Linux, x64, 64bit (optimized), Oracle 11 on Jul 28 2010 13:13:42
實現goldengate 自動啟動的步驟:
1.用oracle使用者建立/u01/info.txt,檔案內容如下:sh datestart 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,問怎解決?

檔案分區必須兩個字元 ?是不是名字不標準
 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.