在 DWH 和 Azure 之间创建链接服务器

问题描述 投票:0回答:1

如何在 DWH SQL Server(位于服务提供商环境中)和 MS Azure 之间创建链接服务器。

我必须确保 Azure 上有什么类型的设置以及我应该在 DWH SQL 上的链接服务器选项上使用的字符串是什么?

即使我填写了所有详细信息,我仍然收到此错误:

我们通过 IPsec 隧道进行连接,该隧道正在工作,因为有其他 Azure 工程师使用它将数据从 DWH 传输到 Azure,我正在尝试完成相反的任务。使用来自 Azure 的 D365 数据并将其带入 DWH。

我是 Azure 新手,熟悉链接服务器选项的工作原理。我觉得我可能缺少 Azure 上的一项设置来成功连接到它。

我有使用 AD 帐户链接到 Azure 并提取数据的 SSIS 包。问题是我必须手动启动这些软件包。这些相同的设置适用于 SQL Server 对象中的链接服务器设置。这就是我知道我在 Azure 中缺少的东西的方式。

sql-server azure linked-server
1个回答
0
投票

在为Azure SQL Server创建链接服务器时,遇到了类似的错误,如下所示:

enter image description here

我按照以下步骤为 Azure SQL Server 创建了链接服务器:

  1. 在 DWH 上,导航到服务器对象,右键单击链接服务器,然后选择新建链接服务器,如下所示:

enter image description here

  1. 提供 Azure SQL 服务器名称,即
    <serverName>.database.windows.net
    ,以及链接服务器的常规部分中的数据库,如下所示:

enter image description here

  1. 转到“安全”选项卡并选择
    Be made using the security context
    。提供 Azure SQL 服务器的用户名和密码,如下所示:

enter image description here

  1. 单击“确定”。如果所有信息正确,则链接服务器将被测试并创建成功,如下图:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.