移轉至 Oracle Exadata Database Service on Dedicated Infrastructure
本節說明如何將 Oracle Exadata 工作負載移轉至 Oracle Exadata Database Service on Dedicated Infrastructure ,並將您的 VMware 應用軟體移轉至 Oracle Cloud VMware Solution 。
架構
此架構顯示從內部部署 Oracle Exadata 資料庫和 VMware 應用程式移轉至 Oracle Exadata Database Service on Dedicated Infrastructure 和 Oracle Cloud VMware Solution 。
使用 Oracle Zero Downtime Migration ,可將資料從企業內部部署移轉至雲端時,自動執行資料庫移轉,同時最短的停機時間。
使用 HCX 和 vMotion 等 VMware 工具,將您在 VMware 上執行的內部部署應用系統移轉至 Oracle Cloud VMware Solution 。Oracle Cloud VMware Solution 可讓您全自動導入 OCI 租用戶內執行的 VMware 軟體定義資料中心 (SDDC)。
下圖說明此參照架構。
migrate-vmware-cloud-solution-exadata-dedicated-architecture.zip
此架構支援下列元件:
- 地區
Oracle Cloud Infrastructure 區域是一個本地化的地理區域,包含一或多個資料中心 (稱為可用性網域)。區域與其他區域無關,因此廣大的距離可加以區隔 (跨國家或甚至洲)。
- 虛擬雲端網路 (VCN) 和子網路
VCN 是您在 Oracle Cloud Infrastructure 區域中設定的可自訂軟體定義網路。就像傳統的資料中心網路,VCN 可讓您完全控制網路環境。VCN 可以有多個非重疊 CIDR 區塊,而您可以在建立 VCN 之後進行變更。您可以將 VCN 區隔成子網路,然後對區域或可用性網域進行調整。每個子網路都是由不與 VCN 中其他子網路重疊的連續位址範圍所組成。您可以在建立子網路後變更其大小。子網路可以是公用網路或專用子網路。
- Oracle Exadata Database Service on Dedicated Infrastructure
Oracle Exadata Database Service on Dedicated Infrastructure 在 OCI 資料中心內提供 Oracle Exadata Database Machine 服務。The Oracle Exadata Database Service on Dedicated Infrastructure service can host many Oracle databases that run in one or more VM clusters that run on a single Exadata rack in an OCI region.Oracle Exadata Database Service on Dedicated Infrastructure 是資料庫合併的理想平台。
- Oracle Cloud VMware Solution 軟體定義資料中心 (SDDC)
Oracle 與 VMware 合作開發經 VMware 認證的軟體定義資料中心 (SDDC) 建置,用於 Oracle Cloud Infrastructure 內。這個名為 Oracle Cloud VMware Solution 的實作使用 Oracle Cloud Infrastructure 來代管高可用性 VMware SDDC。此外,也可讓您將所有內部部署的 VMware SDDC 工作負載順暢地移轉至 Oracle Cloud VMware Solution 。Oracle Cloud VMware Solution 包含下列 VMware 元件:
- VMware vSphere ESXi
- VMware 繁體中文
- VMware vCenter
- VMware NSX-T
- VMware HCX (選擇性)
- 裸機
Oracle Cloud VMware Solution 軟體定義資料中心 (SDDC) 包含代管 Oracle Cloud VMware Solution 的裸機伺服器。裸機伺服器支援需要大量核心、大量記憶體及高頻寬 (例如 Oracle Cloud VMware Solution) 的應用系統。您可以在裸機伺服器上部署 Oracle Cloud VMware Solution ,並與其他公有雲和企業內部部署資料中心相比,配置具有顯著效能改進的虛擬機器。
- 服務閘道
服務閘道可讓您從 VCN 存取其他服務,例如 Oracle Cloud Infrastructure Object Storage 。VCN 到 Oracle 服務的流量會透過 Oracle 網路光纖通道,而一律不會周遊網際網路。
- 動態路由閘道 (DRG)
DRG 是一個虛擬路由器,可為 VCN 與區域外部網路之間的 VCN (例如另一個 Oracle Cloud Infrastructure 區域中的 VCN、企業內部部署網路或其他雲端提供者中的網路) 之間的專用網路流量提供路徑。
- FastConnect
Oracle Cloud Infrastructure FastConnect 提供一個簡單的方式,在您的資料中心與 Oracle Cloud Infrastructure 之間建立專屬的專用連線。FastConnect 提供與網際網路型連線比較的高頻寬選項,以及更可靠的網路體驗。
- 檔案儲存
OCI 檔案儲存用於邏輯移轉,以從共用檔案系統匯入移轉的資料庫。
- 物件儲存
OCI Object Storage 可用於移轉期間暫時儲存的邏輯和實體移轉。
Before You Begin - 開始之前
開始之前,請檢查本設定中所使用之主要元件的版本,並複查產品文件以供日後參考。
複查需求
- 確定來源資料庫正在執行 Oracle Database 版本 19.18 Enterprise Edition 或更新版本。
- 目標資料庫在 Oracle Database 版本 19.18 Enterprise Edition 或更新版本上必須是 Oracle Exadata Database Service on Dedicated Infrastructure X8 或更新版本。
- Oracle Zero Downtime Migration 必須是 21.4 或更新版本。
- 中介儲存體必須包括 OCI Object Storage 、Oracle ZFS Storage Appliance (NAS) 和 OCI File Storage 。
審核文件
這個解決方案播放手冊描述如何移轉資料庫工作負載。請參閱下面的解決方案,瞭解如何移轉您的 VMware 工作負載。對於資料庫移轉的相關資訊環境、詳細資訊及參照,有幫助其他資源。
瞭解如何將工作負載的 VMware 元件移轉至 Oracle Cloud VMware Solution 。
檢閱 Oracle Zero Downtime Migration 資源:
- Oracle Zero Downtime Migration
- Oracle Zero Downtime Migration 影片
- 安裝 Oracle Zero Downtime Migration 軟體
複查實體移轉資源:
- Oracle 零停機實體移轉逐步指南
- "Zero Downtime Migration Physical Migration Parameters" in Move to Oracle Cloud Using Zero Downtime Migration Guide
複查邏輯移轉資源:
- Step-by-Step Guide – Online Logical Migration and In-Flight Upgrade from On-Premises to Oracle Exadata Database Service on Dedicated Infrastructure
- "Setting Logical Migration Parameters" in Move to Oracle Cloud Using Zero Downtime Migration Guide
複習 Oracle Database 資源:
關於必要產品與角色
此解決方案需要下列產品:
- Oracle Cloud Infrastructure Identity and Access Management
- OCI Compute,OCI 運算
- OCI 物件儲存
- OCI 檔案儲存
- Oracle Zero Downtime Migration
- Oracle Exadata
- 專用基礎架構上的 Oracle Exadata Database Service
這些是每個產品所需的角色。
產品名稱:角色 | 需要 ... |
---|---|
Oracle Cloud Infrastructure Identity and Access Management :OCI_user |
|
OCI Compute :admin |
建立 OCI Compute 執行處理以執行 Oracle Zero Downtime Migration 軟體 |
OCI Object Storage :Storage Admin |
建立用於邏輯與實體移轉的 OCI 物件儲存儲存桶 |
OCI 檔案儲存:Storage Admin |
建立 OCI 檔案儲存以進行邏輯移轉 |
Oracle Zero Downtime Migration :opc |
建立 zdmuser 以安裝並執行 Oracle Zero Downtime Migration 軟體
|
Oracle Zero Downtime Migration :zdmuser |
|
Oracle Exadata:root/sudoer user |
|
Oracle Exadata 資料庫:sys/system |
|
Oracle Exadata Database Service on Dedicated Infrastructure: Database Admin |
建立目標 Oracle Exadata Database Service on Dedicated Infrastructure 資料庫 |
Oracle Exadata Database Service on Dedicated Infrastructure VM Cluster Nodes: opc |
|
Oracle Exadata Database Service on Dedicated Infrastructure Database: sys/system |
|
請參閱 Oracle 產品、解決方案和服務,以取得您需要的內容。
關於邏輯與實體移轉
Oracle Zero Downtime Migration 支援兩種類型的資料庫移轉,從 Oracle Exadata 移轉至 Oracle Exadata Database Service on Dedicated Infrastructure :邏輯移轉與實體移轉。
邏輯移轉使用 Oracle Data Pump 和 Oracle GoldenGate 的組合,而實體移轉則使用 Oracle Recovery Manager (RMAN) 和 Oracle Data Guard 的組合。下表說明應使用邏輯或實體移轉的情況。
邏輯移轉 | 實體移轉 |
---|---|
移轉一些可插拔資料庫和 (或) 綱要時建議使用。 | 建議在移轉完整資料庫時使用。例如,含有所有可插式資料庫的容器資料庫,或是原封不動地移轉。 |
可移轉選擇性可插式資料庫 (PDB) 和 (或) 綱要。 | 容器資料庫將會移轉至容器資料庫,而非容器資料庫將會移轉至非容器資料庫。 |
來源和目標上的 Sys 密碼可以不同。來源與目標之間的資料庫名稱可以不同。
|
來源和目標上的 Sys 密碼和資料庫名稱應該相同。來源與目標上的 DB_UNIQUE_NAME 必須不同。
|
資料庫可以在移轉期間進行升級。 | 資料庫在移轉時無法升級。 |
使用邏輯移轉進行移轉
本節說明如何執行離線邏輯移轉。如需線上移轉,請參閱「複查文件」一節。
執行移轉之前,請注意以下事項。
- Oracle Exadata 上的來源資料庫不需要加密。Oracle Zero Downtime Migration 會在移轉期間將目標資料庫加密。
- 來源和目標資料庫不需要具有相同的
sys
密碼、公事包密碼、資料庫版本、資料庫名稱和修正程式層級。 - Oracle Zero Downtime Migration allows migrating certain pluggable databases (PDBs) and/or schemas to pluggable databases in Oracle Exadata Database Service on Dedicated Infrastructure.
- 邏輯移轉需要共用檔案系統。在邏輯移轉期間,Oracle Zero Downtime Migration 將不會將資料直接匯出至 OCI Object Storage 。在來源 Exadata 資料庫上,Oracle Zero Downtime Migration 會將資料匯出至共用檔案系統 (網路檔案系統或 Oracle Advanced Cluster File System)。接著,匯出的資料會上傳至 OCI Object Storage 。Oracle Zero Downtime Migration ,接著將資料傾印從 OCI Object Storage 移至 OCI File Storage 。最後,Oracle Exadata Database Service on Dedicated Infrastructure 可以透過網路檔案系統從 OCI File Storage 匯入資料。
- 內部部署 Oracle Exadata 可以執行單一執行處理與 RAC 資料庫。Oracle Exadata Database Service on Dedicated Infrastructure runs RAC databases.在資料庫移轉期間,Oracle Zero Downtime Migration 會視需要將單一執行處理轉換成 RAC 資料庫。
- 在企業內部部署的 Oracle Exadata 中,可以選擇使用 Oracle 通透資料加密來加密資料庫。將資料庫從 Exadata 移轉至 Dedicated Infrastructure 上的 Oracle Exadata Database Service 時,一律會加密目標 Oracle Exadata Database Service on Dedicated Infrastructure 資料庫。
- 下列步驟假設在安裝 Oracle Exadata 的資料中心與設定 Oracle Exadata Database Service on Dedicated Infrastructure 和 Oracle Zero Downtime Migration 虛擬機器的 OCI 虛擬雲端網路之間具有直接的連線 (透過 FastConnect 或 IPSec VPN,如架構圖所示)。
下列步驟描述如何執行離線邏輯移轉。
使用實體移轉進行移轉
本節說明如何執行離線實體移轉。如需線上移轉,請參閱「複查文件」一節。
在執行實體移轉之前,請先記下下列內容。
- Oracle Database 19.16 中的表格空間加密管理有一個新參數。此參數可能會導致實體移轉發生衝突。複查「複查文件 (Review Documentation)」區段中的「表格空間加密管理 (Tablespace Encryption Management)」,瞭解詳細資訊。
- 內部部署 Oracle Exadata 可以執行單一執行處理與 RAC 資料庫。Oracle Exadata Database Service on Dedicated Infrastructure runs RAC databases.在資料庫移轉期間,Oracle Zero Downtime Migration 會視需要將單一執行處理轉換成 RAC 資料庫。
- 移轉之前,必須先在來源資料庫定義通透資料加密 (TDE) 公事包,即使來源資料庫未加密也一樣。
- 在企業內部部署的 Oracle Exadata 中,可以選擇使用 Oracle 通透資料加密來加密資料庫。將資料庫從 Exadata 移轉至 Dedicated Infrastructure 上的 Oracle Exadata Database Service 時,一律會加密目標 Oracle Exadata Database Service on Dedicated Infrastructure 資料庫。
- The following steps assume there is direct network connectivity between the Data Center where Exadata is installed, and the OCI Virtual Cloud Network where the Oracle Exadata Database Service on Dedicated Infrastructure and the Oracle Zero Downtime Migration virtual machine is configured (via FastConnect or IPSec VPN as shown in the architecture diagram).
- Oracle Exadata 上的來源資料庫不需要加密。Oracle Zero Downtime Migration 會在移轉期間將目標資料庫加密。
- 來源和目標資料庫上的
sys
密碼、公事包密碼、資料庫版本和修正程式層級必須相同。 - Oracle Zero Downtime Migration 會將容器資料庫 (CDB) 移轉至 CDB ,將非 CDB 移轉至非 CDB 。
- Oracle Zero Downtime Migration 使用 Oracle Database Backup Cloud Service ,將來源 Exadata 資料庫備份至 OCI Object Storage 。Oracle Zero Downtime Migration ,然後從此備份回復目標資料庫。
下列步驟描述如何執行離線實體移轉。