OGG的MGR源端参数1【每日一译】--20130106

本文详细介绍了 Oracle GoldenGate (OGG) 的关键参数配置方法,包括 PORT、DYNAMICPORTLIST 和 AUTOSTART 的使用场景及注意事项。PORT 用于指定管理进程的 TCP/IP 端口,以便与远程进程交互;DYNAMICPORTLIST 则定义了本地 OGG 进程与远程进程通信所使用的端口列表;而 AUTOSTART 参数则确保了在管理器启动时自动启动抽取和复制进程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

port 7839
DYNAMICPORTLIST 7840-7845
AUTOSTART EXTRACT *
AUTORESTART EXTRACT *
PURGEOLDEXTRACTS ./dirdat/*,usecheckpoints, minkeepdays 7
LAGREPORTHOURS 1
LAGINFOMINUTES 30                   

LAGCRITICALMINUTES 45


PORT
Valid for Manager

Use the PORT parameter to specify a TCP/IP port number for the Manager process on which
to interact with remote processes requesting dynamic services, typically either an initialload
Replicat or the Collector process. Use the default port number when possible.

PORT 对于管理程序可用的端口

对于需要与远程进程要求动态服务的交互管理进程,使用PORT参数去指定一个TCP/IP端口号,

常用于初始化加载复制或者采集进程。也可以使用默认的端口。


DYNAMICPORTLIST
Valid for Manager

Use the DYNAMICPORTLIST parameter to specify a list of available ports to which the following
local Oracle GoldenGate processes can bind for communication with a remote Oracle
GoldenGate process:

使用DYNAMICPORTLIST参数去指定一个可用端口列表,它可使用于以下本地OGG进程对于与远程

OGG进程通信的绑定。

● Collector: to communicate with a remote Extract to receive incoming data.
● Replicat: to communicate with a remote Extract to receive data during an initial load
task.
● Passive Extract: to communicate with a remote Collector
● GGSCI: to issue remote commands
Specify enough ports to accommodate expansion of the number of processes without having
to stop and restart Manager to add them to the list. You can specify an individual port, a
range of ports, or both.

#采集器:与远程抽取进程通信进行获取输入数据。

#复制器:与远程抽取进程通信获取数据在初始化载入任务时。

#过时抽取:与远程收集器通信

#GGSCI:输入远程命令

指定足够端口去容纳进程数的扩张不需要停止和重启管理器去将它们添加到列表里。你可以指定一个私

有的端口,范围端口或者2者都可以。

<port> A port number that can be allocated. The maximum number of port entries is 5000.
◆ To specify multiple ports, use a comma-delimited list. Example:
7830, 7833
◆ To specify a range of ports, use a dash (-) to separate the first and last port in
the range. Do not put any spaces before or after the dash. Example:
7830-7835
◆ To specify a range of ports plus an individual port, place a comma between the
range and the individual port number. Example:
7830-7835, 7839

<port>一端口号可以被分配的。最大的端口条目数是5000.

#指定多个端口,使用一个,分隔,比如:

7830,7833

#指定范围端口,使用-去分离第一个和最后一个端口。在-前后不要隔开它们。比如

7830-7835

#指定一范围端口加上一个独立端口,放置一个,在范围和独占端口之间,比如:

7830-7835,7839


AUTOSTART

Valid for Manager
Use the AUTOSTART parameter to start one or more Extract and Replicat processes
automatically when Manager starts. AUTOSTART ensures that no process groups are
overlooked and that synchronization activities start immediately.

自动启动

用于MANAGER

使用AUTOSTART参数去启动一些或多个抽取和复制进程当管理器启动时。AUTOSTART确保

没有进程组会被忽略并且在启动时候同步激活的。

You can use multiple AUTOSTART statements in the same parameter file.
To apply this parameter to an Extract group that is created in PASSIVE mode, use it for the
Manager that is on the target system where the associated alias Extract group resides.
Oracle GoldenGate will send the start command to the source system. If AUTOSTART is used
locally for a passive Extract group, it is ignored.

你可以使用多个AUTOSTART语句在同个参数文件。

在PASSIVE模式对于抽取组使用此参数,在位于并相关EXTRACT GROUP相关的目标系统的管理器。

OGG将发送启动命令到源系统,如果AUTOSTART是在本地应用对于一PASSIVE EXTRACT组,它

将被忽略的。

If Manager encounters an out-of-order transaction upon restart, it will not restart Extract.
Instead, it will log a warning that notifies you to use the ETROLLOVER option of SEND EXTRACT
to advance the trail to skip the transaction that caused the error.
Default Do not autostart

如果管理器遇到违反规定的事务导致重启,它将不会重启EXTRACT。而是将记录一个警告日志并通知你。这个日志使用

SEND EXTRACT的ETROLLOVER选项,这样它跳过导致错误的事务提高了日志的跟踪能力。

默认选项:NOT AUTOSTART

Argument Description
<process type> Specify one of the following:
EXTRACT
REPLICAT
ER (Extract and Replicat)
<group name>

A group name or wildcard specification for multiple groups. When wildcarding
is used, Oracle GoldenGate starts all groups of the specified <process type> that
satisfy the wildcard on the local system, except those in PASSIVE mode.

一组名或者通配符指向的多个组。当通配符使用时,OGG重启指定进程类型的所有组,

这些组在本地系统上满足通通符的匹配。但这些不能在PASSIVE模式下。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值