Skip to content

Commit f3c06e9

Browse files
author
Rohit Nayak
committed
Updated Data Sync section per comments from Qiang
1 parent 234c5c0 commit f3c06e9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/sql-database/sql-database-networkaccess-overview.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ The Azure SQL Database Query Editor is deployed on VMs in Azure. These VMs are n
5757

5858
### Impact on Data Sync
5959

60-
Azure SQL Database has the Data Sync feature that connects to your databases using Azure IPs. When using service endpoints, you will turn off **Allow Azure services to access server** access to your SQL Database server and will break the Data Sync feature.
60+
Azure SQL Database has the Data Sync feature that connects to your databases using Azure IPs.
6161

62-
To use the Data sync feature with **Allow Azure services to access server** set to OFF, you need to create individual firewall rule entries to [add IP addresses](sql-database-server-level-firewall-rule.md) covered under the SQL **service tag**
62+
To use the Data sync feature with **Allow Azure services to access server** set to OFF, you need to create individual firewall rule entries to [add IP addresses](sql-database-server-level-firewall-rule.md) from the Sql **service tag** for the region hosting the **Hub** database.
63+
Add these server level firewall rules to the logical servers hosting both **Hub** and **Member** databases ( which may be in different regions)
6364

64-
The following PowerShell script shows how to enumerate the IP address range that is under the SQL service tag
65+
Use the following PowerShell script to generate the IP addresses corresponding to Sql service tag for West US region
6566
```powershell
6667
PS C:\> $serviceTags = Get-AzNetworkServiceTag -Location eastus2
6768
PS C:\> $sql = $serviceTags.Values | Where-Object { $_.Name -eq "Sql.WestUS" }
@@ -77,7 +78,7 @@ PS C:\> $sql.Properties.AddressPrefixes
7778
```
7879

7980
> [!TIP]
80-
> Get-AzNetworkServiceTag returns the global range for SQL Service Tag. Be sure to filter it to the region that hosts the databases using Data Sync
81+
> Get-AzNetworkServiceTag returns the global range for SQL Service Tag despite specifying the Location parameter. Be sure to filter it to the region that hosts the Hub database used by your sync group
8182
8283
Note that the output of the PowerShell script is in Classless Inter Domain Routing(CIDR) notation.
8384
Use [Get-IPrangeStartEnd.ps1](https://gallery.technet.microsoft.com/scriptcenter/Start-and-End-IP-addresses-bcccc3a9) to convert from CIDR notation to Start and End IP addresses- which you can then enter as firewall rules.

0 commit comments

Comments
 (0)