连接到 Azure Data Lake Storage
了解如何创建与 Azure Data Lake Storage 的连接,以将其用作 OCI GoldenGate 的目标。
注意:
如果您使用 Azure Entra ID 验证连接到带有专用端点的 Azure 存储 (ADLS),请注意, OCI GoldenGate 使用 Oracle 服务网络 (OSN) NAT 网关获取 Azure 存储实体 ID 验证所需的令牌。您可以创建支持请求来获取 OCI 区域中 GoldenGate Service NAT 网关的公共 IP 地址,然后在 Azure VNet 规则中将该 IP 地址列入白名单。开始之前
在创建连接之前,请确保:
- 查看 OCI GoldenGate 如何连接到源和目标。
- 配置所需的策略以启用安全 Vault 和密钥访问,例如使用密钥、使用 Vault 和读取密钥包。有关详细信息,请参阅建议的最低策略。
解决连接问题
大多数 Azure Data Lake Storage 连接问题都是由于 Azure Data Lake Storage 专用端点配置造成的。
以下是复制报告文件中可能遇到的与连接相关的常见错误消息:
-
=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 互连详细信息。请参阅分步指南:互连 Oracle Cloud Infrastructure 和 Microsoft Azure 。
- 按照 OCI GoldenGate ADLS Connections with Private End Points 中的步骤大纲进行操作
- 使用目标子资源 BLOB 在 Azure 中配置 ADLS 专用端点连接。OCI GoldenGate 仅支持 BLOB,因此,如果使用 dfs 或其他子资源类型配置连接,连接将失败。