Oracle GoldenGate 怎么在源頭的傳輸進程和目的端的server/collector進程之間分配 端口?
來源于:
How Does GoldenGate Allocates Ports between Source Extract Pump and Target Server/Collector? (文檔 ID 965270.1)
適用于:
Oracle GoldenGate - Version 9.5.0.0 and later
Information in this document applies to any platform.
Checked for relevance on 24-May-2012
解決方案:
背景:
通常,OGG 通過TCP/IP來將OGG trail 從源頭move到目的端。
抽取進程(通常叫做Extract Pump) 讀取本地的trail file ,并通過網絡發送數據給目標主機上的server進程(即:collector)
配置如下:
Extract Pump進程的參數文件中有rmthost參數,類似如下:
RMTHOST , MGRPORT
Example: RMTHOST REMOTESERVER, MGRPORT 7809?
為了控制目的端主機上的端口使用,通常使用manager 進程的DYNAMICPORTLIST 參數,該參數限制OGG使用的端口的范圍
例如:
PORT 7809
DYNAMICPORTLIST 8000-8010
那么,OGG怎么在源頭的傳輸進程和目的端的server/collector進程之間分配 端口呢?
當Extract Pump進程使用 rmthost參數中指定的端口號(RMTHOST REMOTESERVER, MGRPORT 7809)來啟動到目的端的鏈路時,
manager進程會運行在目的端主機上,并監聽在7809端口上。
The target manager will start a collector and pass to the collector if configured the DYAMICPORTLIST range of ports.?
If this is not configured random ports will be used.
如上兩句不翻譯了,主要是pass to不知道該翻譯成啥比較合適。。。
目的端的manager進程回到7809端口上監聽。
Collector進程將會按順序嘗試使用(稱之為:TCP/IP BIND)每個port,直到collector發現有一個port端口能工作。
Collector進程將會與Extract pump進行聯系,并指示Extract pump 進程使用這個端口進行通信。
注意:
你可以使用如下命令來檢查目的端上的端口使用情況:
GGSCI > SEND MGR GETPORTINFO.?
在OGG version 11之前,manager進程搜索server上的一個端口,而不是從server上定位一個可用的端口.
- 前言
- OGG抽取進程漏抽數據與TRANLOGOPTIONS _DISABLESTREAMLINEDDBLOGREADER隱含參數
- 查找OGG trail file中是否存在相關記錄的命令
- 在OGG中跳過Oracle DB 長事務的命令
- Does Oracle GoldenGate requires Xlc.Adt.Include 8.0 (文檔 ID 1147116.1)
- 【翻譯自mos文章】怎么找到OGG Director Server使用的數據庫和用戶名?
- 【翻譯自mos文章】OGG支持oracle db 11g中的不可見索引嗎?
- Oracle GoldenGate 對IBM大型機 z/OS 2.1 和DB2 v11的支持
- Oracle Restart可以用來給Oracle GoldenGate 做 High Availability 使用么?
- OGG的集成捕捉模式支持Oracle database標準版么?
- OGG replicat 進程使用的 TCP 端口
- Oracle GoldenGate 怎么在源頭的傳輸進程和目的端的server/collector進程之間分配 端口?
- Oracle GoldenGate 支持 從SAP HANA database抽取或者復制數據到SAP HANA database 嗎?