連線至 Azure 資料湖儲存
開始之前
建立連線之前,請確定您:
- 檢閱 OCI GoldenGate 如何連線至您的來源和目標。
- 設定必要的原則以啟用安全保存庫和加密密碼存取,例如使用加密密碼、使用保存庫及讀取加密密碼組合。如需詳細資訊,請參閱最低建議原則。
連線問題疑難排解
大多數的 Azure Data Lake Storage 連線都因為 Azure Data Lake Storage 專用端點組態而發生。
以下是 Replicat 報表檔案中可能會遇到的一般連線相關錯誤訊息:
-
=ERROR 2023-08-04 07:23:08.000008 [main] - Exception during initialisation of Azure blob service client for account[ociggtest]. com.azure.storage.blob.models.BlobStorageException: Status code 400, "{"error":{"code":"InvalidUri","message":"The request URI is invalid.
-
=ERROR 2023-08-01 20:23:24.000861 [main] - The Event Handler Framework failed to initialise.
-
=ERROR 2023-08-04 08:13:30.000477 [main] - Exception during initialization of Azure blob service client for account[ociggtest]. com.azure.storage.blob.models.BlobStorageException:Status code 403, "<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthorizationFailure</Code><Message>This request is not authorized to perform this operation.
如果您使用 Azure Data Lake Storage 專用端點,並且發生連線和 / 或複寫問題,請確保:
- 檢查您的 OCI - Azure Interconnect 詳細資訊。請參閱逐步指南:連結 Oracle Cloud Infrastructure 和 Microsoft Azure 。
- 依照 OCI GoldenGate ADLS Connections with Private End Points 中的步驟大綱
- 使用目標子資源 BLOB 設定您在 Azure 中的 ADLS 專用端點連線。OCI GoldenGate 僅支援 BLOB,因此如果使用 dfs 或其他子資源類型設定連線,連線就會失敗。