Goldengate Directory Repository遷移

一.背景:

客戶工程師提出要求,希望將位於測試環境數據庫的director repository遷移到比較穩定的生產環境。希望我們提供相關方案並進行遷移。

二.遷移方案
2.1.遷移數據庫後修改WLS配置
1).停掉director server
2).expdp遷移director repository數據;
3).重啓director server並修改數據源的屬性(指向新的數據庫)

2.2.官方資料說明

可以參照MOS上的文章:Moving the Director v2.0+ database repository to another host (文檔 ID 1192548.1)

文章中提到的核心步驟如下:

1. Shutdown Director server 
2. Do an export of the existing Director schema repository 
3. Import the Director repository to the new database 
4. Restart Director server. It will be accessing the old repository at this time. 
5. Access the Weblogic console and access the datasource to view the properties: 
a. Open a web browser to: 
http://<Director server host>:7001/console 
b. Logon as weblogic/<password> default password is weblogic 
c. Under the Domain Structure tree, click on Services >> JDBC 
d. Under Section, click on Data Sources and click on the ggds-datasource 
e. Then click the Connection Pool tab to display the properties for this datasource 
f. Here, under Properties, you can update the database repository SID, TNS port and servername. 
g. Once the change is made, click Save and exit the console. 
3. The stop and restart Director server to be sure it can access the moved repository


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章