Skip to content

Commit ba14181

Browse files
authored
Merge pull request #189402 from MashaMSFT/pr87761
Pr87761
2 parents af55034 + c860564 commit ba14181

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

articles/azure-sql/virtual-machines/windows/hadr-cluster-best-practices.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ For your SQL Server availability group or failover cluster instance, consider th
6161
- Use a unique DNN port in the connection string when connecting to the DNN listener for an availability group.
6262
- Use a database mirroring connection string for a basic availability group to bypass the need for a load balancer or DNN.
6363
- Validate the sector size of your VHDs before deploying your high availability solution to avoid having misaligned I/Os. See [KB3009974](https://support.microsoft.com/topic/kb3009974-fix-slow-synchronization-when-disks-have-different-sector-sizes-for-primary-and-secondary-replica-log-files-in-sql-server-ag-and-logshipping-environments-ed181bf3-ce80-b6d0-f268-34135711043c) to learn more.
64-
64+
- If the SQL Server database engine, Always On availability group listener, or failover cluster instance health probe are configured to use a port between 49,152 and 65,536 (the [default dynamic port range for TCP/IP](/windows/client-management/troubleshoot-tcpip-port-exhaust#default-dynamic-port-range-for-tcpip)), add an exclusion for each port. Doing so will prevent other systems from being dynamically assigned the same port. The following example creates an exclusion for port 59999:
65+
`netsh int ipv4 add excludedportrange tcp startport=59999 numberofports=1 store=persistent`
6566

6667
## VM availability settings
6768

articles/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ For your SQL Server availability group or failover cluster instance, consider th
154154
- Use a unique DNN port in the connection string when connecting to the DNN listener for an availability group.
155155
- Use a database mirroring connection string for a basic availability group to bypass the need for a load balancer or DNN.
156156
- Validate the sector size of your VHDs before deploying your high availability solution to avoid having misaligned I/Os. See [KB3009974](https://support.microsoft.com/topic/kb3009974-fix-slow-synchronization-when-disks-have-different-sector-sizes-for-primary-and-secondary-replica-log-files-in-sql-server-ag-and-logshipping-environments-ed181bf3-ce80-b6d0-f268-34135711043c) to learn more.
157-
157+
- If the SQL Server database engine, Always On availability group listener, or failover cluster instance health probe are configured to use a port between 49,152 and 65,536 (the [default dynamic port range for TCP/IP](/windows/client-management/troubleshoot-tcpip-port-exhaust#default-dynamic-port-range-for-tcpip)), add an exclusion for each port. Doing so will prevent other systems from being dynamically assigned the same port. The following example creates an exclusion for port 59999:
158+
`netsh int ipv4 add excludedportrange tcp startport=59999 numberofports=1 store=persistent`
158159

159160
To learn more, see the comprehensive [HADR best practices](hadr-cluster-best-practices.md).
160161

0 commit comments

Comments
 (0)