aix 下 實現goldengate 隨os啟動而自動啟動的指令碼,aixgoldengate

來源:互聯網
上載者:User

aix 下 實現goldengate 隨os啟動而自動啟動的指令碼,aixgoldengate
aix 下 實現goldengate 隨os啟動而自動啟動的指令碼:
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

5.在/etc下建立檔案rc.startmgr,指令碼如下:
su - oracle -c "/u01/startmgr.sh"
6.把啟動資訊放到/etc/inittab中,使用如下命令:
mkitab "startmgr:2:wait:/etc/rc.startmgr"

AIX 怎以服務啟動程式

在/etc/services 裡面添加一下就可以了
 
Goldengate進程不可以啟動,日誌到userid goldengate ,password goldengate就沒了,是什情況?

info all

ggserr的日誌
 

相關文章

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.