You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-availability-group-dr.md
+29-11Lines changed: 29 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,26 +92,33 @@ To create a replica in a remote data center, do the following steps:
92
92
93
93
1.[Add the new SQL Server to the Windows Server Failover Cluster](virtual-machines-windows-portal-sql-availability-group-tutorial.md#addNode).
94
94
95
-
1. Create an IP address resource on the cluster.
95
+
1. Add an IP address resource to the cluster.
96
+
You can create the IP address resource in Failover Cluster Manager. Select the name of the cluster, then right-click the cluster name under **Cluster Core Resources** and select **Properties**:
96
97
97
-
You can create the IP address resource in Failover Cluster Manager. Right-click the availabilitygroup role, click **Add Resource**, **More Resources**, and click **IP Address**.
- Assign the IP address from the new Azure load balancer.
105
104
106
-
1. On the new SQL Server in SQL Server Configuration Manager, [enable Always On Availability Groups](https://msdn.microsoft.com/library/ff878259.aspx).
105
+
1. Add the IP address as a dependency for the core cluster name.
106
+
Right-click the **IP Address** and select **Properties**.
107
107
108
-
1.[Open firewall ports on the new SQL Server](virtual-machines-windows-portal-sql-availability-group-prereq.md#endpoint-firewall).
1. On the new SQL Server in SQL Server Configuration Manager, [enable Always On Availability Groups](/sql/database-engine/availability-groups/windows/enable-and-disable-always-on-availability-groups-sql-server).
148
+
149
+
1.[Open firewall ports on the new SQL Server](virtual-machines-windows-portal-sql-availability-group-prereq.md#endpoint-firewall).
150
+
151
+
The port numbers you need to open depend on your environment. Open ports for the mirroring endpoint and Azure load balancer health probe.
152
+
153
+
154
+
1.[Add a replica to the availability group on the new SQL Server](/sql/database-engine/availability-groups/windows/use-the-add-replica-to-availability-group-wizard-sql-server-management-studio).
155
+
156
+
For a replica in a remote Azure region, set it for asynchronous replication with manual failover.
157
+
140
158
## Set connection for multiple subnets
141
159
142
160
The replica in the remote data center is part of the availability group but it is in a different subnet. If this replica becomes the primary replica, application connection time-outs may occur. This behavior is the same as an on-premises availability group in a multi-subnet deployment. To allow connections from client applications, either update the client connection or configure name resolution caching on the cluster network name resource.
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-create-failover-cluster-premium-file-share.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ Before you complete the steps in this article, you should already have:
79
79
- An IP address for each FCI.
80
80
- DNS configured on the Azure network, pointing to the domain controllers.
81
81
- A [premium file share](../../../storage/files/storage-how-to-create-premium-fileshare.md) based on the storage quota of your database for your data files.
82
+
- If you're on Windows Server 2012 R2 and older, you will need another file share to use as the file share witness, since cloud witnesses are supported for Windows 2016 and newer. It does not need to be premium.
82
83
83
84
With these prerequisites in place, you can start building your failover cluster. The first step is to create the virtual machines.
84
85
@@ -175,7 +176,8 @@ After you create and configure the virtual machines, you can configure the premi
175
176
1. Repeat these steps on each SQL Server VM that will participate in the cluster.
176
177
177
178
> [!IMPORTANT]
178
-
> Consider using a separate file share for backup files to save the IOPS and space capacity of this share for Data and Log files. You can use either a premium or standard file share for backup files.
179
+
> - Consider using a separate file share for backup files to save the IOPS and space capacity of this share for Data and Log files. You can use either a premium or standard file share for backup files.
180
+
> - If you're on Windows 2012 R2 and older, follow these same steps to mount your file share that you are going to use as the file share witness.
179
181
180
182
## Step 3: Configure the failover cluster with the file share
181
183
@@ -184,7 +186,7 @@ The next step is to configure the failover cluster. In this step, you'll complet
184
186
1. Add the Windows Server Failover Clustering feature.
185
187
1. Validate the cluster.
186
188
1. Create the failover cluster.
187
-
1. Create the cloud witness.
189
+
1. Create the cloud witness (for Windows Server 2016 and newer) or the file share witness (for Windows Server 2012 R2 and older).
Cloud Witnessis a new type of cluster quorum witness that's stored in an Azure storage blob. This removes the need for a separate VM that hosts a witness share.
265
+
If you're on Windows Server 2016 and greater, you'll need to create a Cloud Witness. Cloud Witness is a new type of cluster quorum witness that's stored in an Azure storage blob. This removes the need for a separate VM that hosts a witness share, or using a separate file share.
264
266
265
267
1.[Create a cloud witness for the failover cluster](https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness).
266
268
267
269
1. Create a blob container.
268
270
269
271
1. Save the access keys and the container URL.
270
272
271
-
1. Configure the failover cluster quorum witness. See [Configure the quorum witness in the user interface](https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness#to-configure-cloud-witness-as-a-quorum-witness).
273
+
### Configure quorum
274
+
275
+
For Windows Server 2016 and greater, configure the cluster to use the cloud witness you just created. Follow all of the steps [Configure the quorum witness in the user interface](https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness#to-configure-cloud-witness-as-a-quorum-witness).
276
+
277
+
For Windows Server 2012 R2 and older, follow the same steps in [Configure the quorum witness in the user interface](https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness#to-configure-cloud-witness-as-a-quorum-witness) but on the **Select Quorum Witness** page, select the **Configure a file share witness** option, and then specify the file share you mounted previously for witness purposes.
0 commit comments