GG配置ggmgr进程

Oracle配置mgr进程
edit params mgr
port 7809
syslog none
dynamicportlist 7810-7820
自动会生成./dirprm/mgr.prm文件。
start mgr
info mgr

-- This is the management port, each local machine have a special one  只有这个是必须的。
port 7809
--OGG 11.X, Prevents GoldenGate messages from being written to the system logs.
syslog none
-- GoldenGate will use these dynamic ports to transfer the trailfiles,用netstat -an | grep 7810这样逐个看端口是否已经被占用
dynamicportlist 7809-7909
-- GoldenGate manager will auto start all the processes when MGR process is started
autostart er *
如果是autostart extract *,waitminutes 2,retries 5 表示自动重启extract进程,2分钟一次共5次。
-- GoldenGate manager will auto restart all the processes when it is Abended, Manager process will retry 24 times, interval 30min.
autorestart er *, retries 24, waitminutes 30, resetminutes 1440
-- GoldenGate manager will checks extract and replicat lag for each 10 minutes
lagreportminutes 10
-- GoldenGate manager will report lag information to the error log for each 1 seconds
laginfoseconds 1
-- GoldenGate manager will auto purge old trailfiles which was been used 168(7天) hours ago
purgeoldextracts ./dirdat/*, usecheckpoints, minkeephours 120


SQLServer配置mgr进程(与oracle一致)
edit params mgr
port 7809
syslog none
dynamicportlist 7810-7820
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值