什麼情況下需 clone 一個 Oracle EBS ?
1. 標準 Clone,為了測試
2. 增加伺服器時
3. 系統轉換時
4. 上 Patch 與版本升級時
為何使用 Rapid Clone 工具?
clone 容易, clone 整個系統與資料,而非只是檔案結構 topology,所以啟動後馬上可用。
那該如何進行 Oracle EBS 的 clone ?
這 clone 作業分 3 個階段:
第一階段:Source 系統預備 (Prepare Source System)
第二階段:clone 系統 (Copy Bits)
第三階段:Target 系統配置(Configure Target System)
第一階段:Source 系統預備
1. Verify OS requirements on target system
Oracle 建議使用 Rapid Clone 這工具時, Source / Target System 安裝的 OS 要一致,否則需要採取其他相關措施。有關這工具所支援的 OS,請參考 Doc ID 405565.1
2.Verify source and target system software components and versions
檢查 Source / Target System 是否已經安裝壓縮 / 解壓縮等下列工具: zip/unzip/(make, ld, ar)/perl
參考【Oracle 筆記: Clone Oracle EBS 】檢查 Source / Target System 是否已經安裝壓縮 / 解壓縮等工具
接下來,clone 有 4 種類型的 Patch 要上: AD patch, AutoConfig patch, Rapid Clone patch, 與 other patches
3. Apply the latest AD patch
首先,檢查 Source System 是否已安裝 Patch:
select bug_number from ad_bugs where bug_number='XXXXXX'
例如: 針對 Oracle EBS 12.1.x 版本,需上 AD Patch 9239089
select bug_number from ad_bugs where bug_number = '9239089'
4. Apply the latest AutoConfig template patch
例如: 需上 AD Patch 387859.1
select bug_number from ad_bugs where bug_number = '387859.1'
5. Apply the latest Rapid Clone patches
例如: 針對 Oracle EBS 12.1.x 版本, 需上以下的AD Patch
Patch '9171651','9833058','12404574','12598630','15969020','16958896','13942692','18991480','17889841','18835102'
select bug_number from ad_bugs where bug_number in ('9171651','9833058','12404574','12598630','15969020','16958896','13942692','18991480','17889841','18835102')
另外,還有一個適用於Microsoft Windows 所有 Oracle EBS 版本的 Patch 要上:
select bug_number from ad_bugs where bug_number = '8246709'
6. Run AutoConfig on the application tiers
參考 Doc ID 387859.1 的 "Run AutoConfig on the Application Tiers" 章節。
7. Synchronize appsutil on the database tier nodes
參考 Doc ID 387859.1 的 "Copy AutoConfig to the RDBMS ORACLE_HOME" 章節。
8. Run AutoConfig on the database tier
參考 Doc ID 387859.1 的 "Run AutoConfig on the Database Tiers" 章節。
9. Maintain Snapshot Information
snapshot 是整個系統目前的 View,可分為 APPL_TOP snapshots 與 global snapshots。
要查詢 globla snapshots,可下此指令:
select * from all_snapshots;
參考
1. Cloning Oracle Application Release 12 with Rapid Clone (Doc ID 406982.1, Standard Clone),若為 RAC Clone則需參考 Doc ID 559518.1
2. Patch 下載網站: http://support.oracle.com
3. R12.2 Cloning Steps, http://balaoracledba.com/2013/10/23/
4. Oracle E-Business Suite Release 12 Installation Guidelines (Doc ID 405565.1), https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=342123966819007&id=405565.1&_afrWindowMode=0&_adf.ctrl-state=aieagcvzv_178
5. Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 , https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=353025954864484&id=387859.1&_adf.ctrl-state=197rdbqksz_169
6. [Tips]如何建立Oracle Materialized View (snapshot)
,http://auneths.blogspot.tw/2013/11/tipsoracle-materialized-view-snapshot.html
“Those who are in love with practice without knowledge are like the sailor who gets into a ship without rudder or compass and who never can be certain [where] he is going. Practice must always be founded on sound theory.” by Leonardo da Vinci
2014年10月22日 星期三
【Oracle 筆記 】Clone Oracle EBS- 第一階段:Source 系統預備
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言