我们可以使用服务端点与SQL故障转移组进行通信吗?

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

我们将UK West作为主要区域,将UK South作为我们的辅助区域。我们在西部有一个数据库服务器,我们创建了一个SQL故障转移组以便复制到南部。

我想知道的是,当主数据库仍在西时,英国南部的应用程序是否可以连接到SQL故障转移组?

我已经使用双向VNet连接进行了测试,但是从南方进行连接时收到禁止请求,这使我相信未使用该连接。

System.AggregateException: One or more errors occurred. (Cannot open server 'ppd-ons-comet-sql-ukwest' requested by the login. Client with IP address '51.140.146.129' is not allowed to access the server. To enable access, use the Windows Azure Management Portal or run sp_set_firewall_rule on the master database to create a firewall rule for this IP address or address range. It may take up to five minutes for this change to take effect.

azure azure-sql-database azure-virtual-network
1个回答
0
投票

作为您注释中的linked article

对于手动故障转移,您可以在辅助区域中复制应用程序的前端组件,分别为主服务器和辅助服务器配置virtual network rules,并使用流量管理器配置启用前端故障转移。

对于自动故障转移,您可以restrict access to your SQL database using the traditional firewall rules

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