GoldenGate學習筆記(10)_RAC環境
GoldenGate parameters settings for RAC
RAC Consideration:
1 All nodes in the RAC cluster must have synchronized system clocks. See also the MAXCOMMITPROPAGATIONDELAY option of the THREADOPTIONS parameter in the GoldenGate for Windows and UNIX Reference Guide.
(所有的節點的系統時鐘必須同步)
2 All nodes in the cluster must have the same COMPATIBLE parameter setting.
(所有的節點必須設定相同的相容版本)
3 To install GoldenGate in an Oracle Real Application Cluster (RAC) environment, install GoldenGate on the shared drive(s) that are accessed by the RAC nodes.
(GoldenGate binary file 應該安裝在所有節點都可訪問的共享檔案系統或共享磁碟上, 再將其掛載到RAC的其中一個節點.)
4If the archived logs reside in a location other than the Oracle default, specify that location
With the ALTARCHIVELOGDEST option of the TRANLOGOPTIONS parameter in the Extract parameter file.
(如果歸檔不是在預設路徑,則必須用TRANLOGOPTIONS引數的ALTARCHIVELOGDEST選項來指定)
You might also need to use the ALTARCHIVEDLOGFORMAT option of TRANLOGOPTIONS if the format that is specified with the Oracle parameter LOG_ARCHIVE_FORMAT contains sub-directories.
(同樣,如果歸檔格式不是採用的預設格式,也必須用TRANLOGOPTIONS引數的ALTARCHIVEDLOGFORMAT選項來指定)
5 After installing GoldenGate, configure the GoldenGate Manager process within the cluster application, as directed by the cluster documentation, so that GoldenGate will fail over properly with the other applications.
(在叢集應用下配置GoldenGate ???不理解 當RAC發生failover後,要重新調整GoldenGate抽取程式的抽取點。先不做)
6 Mounting logs that are stored on other platforms
If the online and archived redo logs are stored on a different platform. from the one the installed Extract is built for, do the following:
● NFS-mount the archive files.
● Map the file structure to the source Extract system’s Windows or UNIX file structure by using the LOGSOURCE and PATHMAP options of the Extract parameter TRANLOGOPTIONS.
See the reference documentation of this parameter for currently supported LOGSOURCE platforms.
NOTE If used, put the TRANLOGOPTIONS statement on one line. Do not use ampersand
(&) line terminators to split it into multiple lines.
7 Making logs available in a RAC configuration
In a RAC configuration, Extract must have access to the online and archived logs for all
nodes in the cluster, including the one where GoldenGate is installed.
(歸檔與online redo log 的可見性問題)
8 GoldenGate queues data in memory before sending it to the target system. The INQUEUESIZE and OUTQUEUESIZE options of the THREADOPTIONS parameter determine how much data to queue. If needed, you can increase the performance of Extract on Oracle RAC by tuning these parameters.
(效能調優問題)
9 Special procedures on RAC
9.1. If the primary database instance against which GoldenGate is running stops or fails
for any reason, Extract will abend. To resume processing, you can restart the instance,
or you can mount the GoldenGate binaries to another node where the database is
running and then restart the GoldenGate processes. Stop the Manager process on the
original node before starting GoldenGate processes from another node.(failover後的切換問題)
9.2. Any time the number of redo threads changes, the Extract group must be dropped and
re-created. For the recommended procedure, see Chapter 20 of the GoldenGate for
Windows and UNIX Administrator Guide(當Redo有更改後,重建抽取程式).
9.3. To write SQL operations to the trail, Extract must make sure that there are no other
operations from other RAC nodes that precede those in the current redo log that it is
reading. For example, if a log contains operations that were performed from 1:00 a.m.
to 2:00 a.m., and the log from Node 2 contains operations that were performed from
1:30 a.m. to 2:30 a.m., then only those operations up to, and including, the 2:00 a.m.
one can be moved to the server where the main Extract is coordinating the redo data.
Extract must ensure that there are no more operations between 2:00 a.m. and 2:30 a.m.
that need to be captured.
In active-passive environments, that requirement means that you might need to
perform. some operations and archive log switching on the passive node, to ensure that
operations from the active node are passed to the passive node. This eliminates any
issues that could arise from a slow archiver process, failed network links, and other
latency issues caused by moving archive logs from the Oracle nodes to the server where
the main Extract is coordinating the redo data.
9.4. To process the last transaction in a RAC cluster before shutting down Extract, insert a
dummy record into a source table that GoldenGate is replicating, and then switch log
files on all nodes. This will update the Extract checkpoint and confirm to the process
that all available archive logs are available to read. It also confirms that all
transactions in those archive logs are captured and written to the trail in the correct
order.(關閉RAC之前的善後工作)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10248702/viewspace-624584/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 學習筆記:MQTT環境搭建筆記MQQT
- Android環境搭建學習筆記Android筆記
- webpack學習筆記(mac環境)Web筆記Mac
- 【Python學習筆記】-虛擬環境virtualenvPython筆記
- Xamarin 學習筆記 - 配置環境(Windows & iOS)筆記WindowsiOS
- RAC學習筆記-Day_01筆記
- laravel學習筆記之開發環境搭建Laravel筆記開發環境
- [學習筆記]使用 Anaconda 管理虛擬環境筆記
- Dockerfile 與 Compose 環境搭建學習筆記(二)Docker筆記
- Dockerfile 與 Compose 環境搭建學習筆記(一)Docker筆記
- 學習筆記:openstack實驗環境安裝筆記
- 學習筆記-kali中配置python編寫環境筆記Python
- tensorflow學習筆記1——mac開發環境配置筆記Mac開發環境
- Dubbo 學習筆記(五) 開發環境常用技巧筆記開發環境
- [學習筆記]Win10系統 Powershell 使用 Venv 管理虛擬環境筆記Win10
- Webpack4 學習筆記八 開發環境和生產環境配置Web筆記開發環境
- goldengate + asm + racGoASM
- 分散式基礎&專案環境搭建_學習筆記分散式筆記
- php 學習筆記之搭建開發環境(mac版)PHP筆記開發環境Mac
- <react學習筆記(1)>認識react和環境搭建React筆記
- L01 學習筆記--開發環境佈置筆記開發環境
- webpack學習筆記:搭建基本的前端開發環境Web筆記前端開發環境
- docker 學習筆記之實戰 lnmp 環境搭建系列 (2) ------ 手動搭建 lnmp 環境Docker筆記LNMP
- TypeScript學習筆記(一)環境搭建和資料型別TypeScript筆記資料型別
- MSP432安裝與環境配置(ccs) 學習筆記筆記
- Linux 學習筆記--環境變數與檔案查詢Linux筆記變數
- 【Kubernetes學習筆記】-使用Minikube快速部署K8S單機學習環境筆記K8S
- GO語言學習筆記之mac環境go語言配置Go筆記Mac
- React Native學習筆記----React Native簡介與環境安裝React Native筆記
- 專案管理指南學習筆記-專案執行環境(1)專案管理筆記
- 李炎恢 Laravel API介面學習筆記[基於 Laravel Sail 環境]LaravelAPI筆記AI
- XXPAY環境部署筆記筆記
- PyTorch深度學習入門筆記(一)PyTorch環境配置及安裝PyTorch深度學習筆記
- kubernetes學習筆記 (一):搭建本地k8s開發環境筆記K8S開發環境
- java學習日記-java環境的配置Java
- Tensorflow學習筆記No.10筆記
- Docker 學習筆記(第七集:使用 docker 搭建 php 開發環境)Docker筆記PHP開發環境
- 彙編學習小記(一)-熟悉DEBUG環境
- 2020-10-19學習筆記筆記