Skip to content

Commit efd80b4

Browse files
committed
SQL VM content fixes
1 parent 72350af commit efd80b4

File tree

5 files changed

+40
-16
lines changed

5 files changed

+40
-16
lines changed
Loading
Loading
Loading

articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-availability-group-dr.md

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,33 @@ To create a replica in a remote data center, do the following steps:
9292

9393
1. [Add the new SQL Server to the Windows Server Failover Cluster](virtual-machines-windows-portal-sql-availability-group-tutorial.md#addNode).
9494

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**:
9697

97-
You can create the IP address resource in Failover Cluster Manager. Right-click the availability group role, click **Add Resource**, **More Resources**, and click **IP Address**.
98+
![Cluster properties](./media/virtual-machines-windows-portal-sql-availability-group-dr/cluster-name-properties.png)
9899

99-
![Create IP Address](./media/virtual-machines-windows-portal-sql-availability-group-dr/20-add-ip-resource.png)
100+
On the **Properties** dialog box, select **Add** under **IP Address**, and then add the IP address of the cluster name from the remote network region.
100101

101-
Configure this IP address as follows:
102+
![Add cluster IP](./media/virtual-machines-windows-portal-sql-availability-group-dr/add-cluster-ip-address.png)
102103

103-
- Use the network from the remote data center.
104-
- Assign the IP address from the new Azure load balancer.
105104

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**.
107107

108-
1. [Open firewall ports on the new SQL Server](virtual-machines-windows-portal-sql-availability-group-prereq.md#endpoint-firewall).
108+
![IP Address properties](./media/virtual-machines-windows-portal-sql-availability-group-dr/cluster-ip-properties.png)
109109

110-
The port numbers you need to open depend on your environment. Open ports for the mirroring endpoint and Azure load balancer health probe.
110+
On the **Dependencies** tab, create an OR dependency for both IP addresses:
111111

112-
1. [Add a replica to the availability group on the new SQL Server](https://msdn.microsoft.com/library/hh213239.aspx).
112+
1. Add an IP address resource to the availability group role in the cluster.
113113

114-
For a replica in a remote Azure region, set it for asynchronous replication with manual failover.
114+
Right-click the availability group role in Failover Cluster Manager, select **Add Resource**, **More Resources**, and select **IP Address**.
115+
116+
![Create IP Address](./media/virtual-machines-windows-portal-sql-availability-group-dr/20-add-ip-resource.png)
117+
118+
Configure this IP address as follows:
119+
120+
- Use the network from the remote data center.
121+
- Assign the IP address from the new Azure load balancer.
115122

116123
1. Add the IP address resource as a dependency for the listener client access point (network name) cluster.
117124

@@ -137,6 +144,17 @@ Run the PowerShell script with the cluster network name, IP address, and probe p
137144
Get-ClusterResource $IPResourceName | Set-ClusterParameter -Multiple @{"Address"="$ILBIP";"ProbePort"=$ProbePort;"SubnetMask"="255.255.255.255";"Network"="$ClusterNetworkName";"EnableDhcp"=0}
138145
```
139146

147+
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+
140158
## Set connection for multiple subnets
141159

142160
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.

articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-create-failover-cluster-premium-file-share.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Before you complete the steps in this article, you should already have:
7979
- An IP address for each FCI.
8080
- DNS configured on the Azure network, pointing to the domain controllers.
8181
- 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.
8283

8384
With these prerequisites in place, you can start building your failover cluster. The first step is to create the virtual machines.
8485

@@ -175,7 +176,8 @@ After you create and configure the virtual machines, you can configure the premi
175176
1. Repeat these steps on each SQL Server VM that will participate in the cluster.
176177

177178
> [!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.
179181
180182
## Step 3: Configure the failover cluster with the file share
181183

@@ -184,7 +186,7 @@ The next step is to configure the failover cluster. In this step, you'll complet
184186
1. Add the Windows Server Failover Clustering feature.
185187
1. Validate the cluster.
186188
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).
188190

189191

190192
### Add Windows Server Failover Clustering
@@ -258,17 +260,21 @@ New-Cluster -Name <FailoverCluster-Name> -Node ("<node1>","<node2>") –StaticAd
258260
```
259261

260262

261-
### Create a cloud witness
263+
### Create a cloud witness (Win 2016 +)
262264

263-
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.
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.
264266

265267
1. [Create a cloud witness for the failover cluster](https://technet.microsoft.com/windows-server-docs/failover-clustering/deploy-cloud-witness).
266268

267269
1. Create a blob container.
268270

269271
1. Save the access keys and the container URL.
270272

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.
272278

273279

274280
## Step 4: Test cluster failover

0 commit comments

Comments
 (0)