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-alwayson-int-listener.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ ms.date: 05/01/2017
17
17
ms.author: mikeray
18
18
19
19
---
20
-
# Configure an internal load balancer for an Always On availability group in Azure
21
-
This topic explains how to create an internal load balancer for a SQL Server Always On availability group in Azure virtual machines running with Azure Resource Manager. An availability group requires a load balancer when the SQL Server instances are on Azure virtual machines. The load balancer stores the IP address for the availability group listener. If an availability group spans multiple regions, each region needs a load balancer.
20
+
# Configure a load balancer for an Always On availability group in Azure
21
+
This topic explains how to create a load balancer for a SQL Server Always On availability group in Azure virtual machines running with Azure Resource Manager. An availability group requires a load balancer when the SQL Server instances are on Azure virtual machines. The load balancer stores the IP address for the availability group listener. If an availability group spans multiple regions, each region needs a load balancer.
22
22
23
-
To complete this task, you need to have a SQL Server availability group deployed on Azure virtual machines Resource Manager. Both SQL Server virtual machines must belong to the same availability set. You can use the [Microsoft template](virtual-machines-windows-portal-sql-alwayson-availability-groups.md) to automatically create the availability group in Azure Resource Manager. This template automatically creates the internal load balancer for you.
23
+
To complete this task, you need to have a SQL Server availability group deployed on Azure virtual machines Resource Manager. Both SQL Server virtual machines must belong to the same availability set. You can use the [Microsoft template](virtual-machines-windows-portal-sql-alwayson-availability-groups.md) to automatically create the availability group in Azure Resource Manager. This template automatically creates an internal load balancer for you.
24
24
25
25
If you prefer, you can [manually configure an availability group](virtual-machines-windows-portal-sql-alwayson-availability-groups-manual.md).
26
26
@@ -56,7 +56,7 @@ The first step is to create the load balancer. In the Azure portal, open the res
56
56
| Setting | Value |
57
57
| --- | --- |
58
58
|**Name**|A text name representing the load balancer. For example, **sqlLB**. |
59
-
|**Type**|**Internal**|
59
+
|**Type**|**Internal**- Most implementations use an internal load balancer. This allows applications within the same virtual network to connect to the availability group. </br> **External** - Allows applications to connect to the availability group through a public internet connection. |
60
60
|**Virtual network**|Choose the virtual network that the SQL Servers are in. |
61
61
|**Subnet**|Choose the subnet that the SQL Servers are in. |
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-availability-group-dr.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,14 @@ ms.custom: na
15
15
ms.topic: article
16
16
ms.tgt_pltfrm: vm-windows-sql-server
17
17
ms.workload: iaas-sql-server
18
-
ms.date: "01/09/2017"
18
+
ms.date: "05/02/2017"
19
19
ms.author: mikeray
20
20
21
21
---
22
22
23
-
# Configure a SQL Server Always On Availability Group on Azure Virtual Machines in Different Regions
23
+
# Configure an Always On availability group on Azure virtual machines in different regions
24
24
25
-
This article explains how to configure a SQL Server Always On Availability Group replica on Azure Virtual Machines in a remote Azure location. Use this configuration to support disaster recovery.
25
+
This article explains how to configure a SQL Server Always On availability group replica on Azure virtual machines in a remote Azure location. Use this configuration to support disaster recovery.
26
26
27
27
This article applies to Azure Virtual Machines in Resource Manager mode.
28
28
@@ -77,7 +77,7 @@ To create a replica in a remote data center, do the following steps:
77
77
This load balancer must:
78
78
79
79
- Be in the same network and subnet as the new virtual machine.
80
-
- Have a static IP address for the Availability Group listener.
80
+
- Have a static IP address for the availability group listener.
81
81
- Include a backend pool consisting of only the virtual machines in the same region as the load balancer.
82
82
- Use a TCP port probe specific to the IP address.
83
83
- Have a load balancing rule specific to the SQL Server in the same region.
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/sql/virtual-machines-windows-portal-sql-ps-alwayson-int-listener.md
+3-96Lines changed: 3 additions & 96 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,19 @@ ms.devlang: na
13
13
ms.topic: article
14
14
ms.tgt_pltfrm: vm-windows-sql-server
15
15
ms.workload: iaas-sql-server
16
-
ms.date: 12/28/2016
16
+
ms.date: 05/02/2017
17
17
ms.author: mikeray
18
18
19
19
---
20
-
# Configure one or more Always On Availability Group Listeners - Resource Manager
20
+
# Configure one or more Always On availability group listeners - Resource Manager
21
21
This topic shows how to:
22
22
23
23
* Create an internal load balancer for SQL Server availability groups using PowerShell cmdlets.
24
24
* Add additional IP addresses to a load balancer for more than one availability group.
25
25
26
26
An availability group listener is a virtual network name that clients connect to for database access. On Azure virtual machines, a load balancer holds the IP address for the listener. The load balancer routes traffic to the instance of SQL Server that is listening on the probe port. Usually, an availability group uses an internal load balancer. An Azure internal load balancer can host one or many IP addresses. Each IP address uses a specific probe port. This document shows how to use PowerShell to create a load balancer, or add IP addresses to an existing load balancer for SQL Server availability groups.
27
27
28
-
The ability to assign multiple IP addresses to an internal load balancer is new to Azure and is only available in Resource Manager model. To complete this task, you need to have a SQL Server availability group deployed on Azure virtual machines in Resource Manager model. Both SQL Server virtual machines must belong to the same availability set. You can use the [Microsoft template](virtual-machines-windows-portal-sql-alwayson-availability-groups.md) to automatically create the availability group in Azure Resource Manager. This template automatically creates the availability group, including the internal load balancer for you. If you prefer, you can [manually configure an AlwaysOn availability group](virtual-machines-windows-portal-sql-alwayson-availability-groups-manual.md).
28
+
The ability to assign multiple IP addresses to an internal load balancer is new to Azure and is only available in Resource Manager model. To complete this task, you need to have a SQL Server availability group deployed on Azure virtual machines in Resource Manager model. Both SQL Server virtual machines must belong to the same availability set. You can use the [Microsoft template](virtual-machines-windows-portal-sql-alwayson-availability-groups.md) to automatically create the availability group in Azure Resource Manager. This template automatically creates the availability group, including the internal load balancer for you. If you prefer, you can [manually configure an Always On availability group](virtual-machines-windows-portal-sql-alwayson-availability-groups-manual.md).
29
29
30
30
This topic requires that your availability groups are already configured.
<!------------------------------- The content below is duplicated. Pointing to the link. Thinking about an include.
156
-
157
-
## Configure the cluster to use the load balancer IP address
158
-
The next step is to configure the listener on the cluster, and bring the listener online. To accomplish this, do the following:
159
-
160
-
1. Create the availability group listener on the failover cluster
161
-
2. Bring the listener online
162
-
163
-
## Create the availability group listener on the failover cluster
164
-
165
-
The availability group listener is an IP address and network name that the SQL Server availability group listens on. To create the availability group listener, do the following steps:
166
-
167
-
1. [Get the name of the cluster network resource](#getnet).
168
-
169
-
1. [Add the client access point](#addcap).
170
-
171
-
1. [Configure the IP resource for the availability group](#congroup).
172
-
173
-
1. [Make the availability group resource dependent on the listener resource name](#listname).
174
-
175
-
1. [Set the cluster parameters in PowerShell](#setparam).
176
-
177
-
The following sections provide detailed instructions for each of these steps.
178
-
179
-
### <a name="getnet">Get the name of the cluster network resource</a>
180
-
181
-
1. Use RDP to connect to the Azure virtual machine that hosts the primary replica.
182
-
183
-
1. Open Failover Cluster Manager.
184
-
185
-
1. Select the **Networks** node, and note the cluster network name. Use this name in the `$ClusterNetworkName` variable in the PowerShell script.
186
-
187
-
### <a name="addcap">Add the client access point</a>
188
-
189
-
1. Expand the cluster name, and then click **Roles**.
190
-
191
-
1. In the **Roles** pane, right-click the availability group name and then select **Add Resource** > **Client Access Point**.
192
-
193
-
1. In the **Name** box, create a name for this new listener.
194
-
195
-
The name for the new listener is the network name that applications will use to connect to databases in the SQL Server availability group.
196
-
197
-
To finish creating the listener, click **Next** twice, and then click **Finish**. Do not bring the listener or resource online at this point.
198
-
199
-
### <a name="congroup">Configure the IP resource for the availability group</a>
200
-
201
-
1. Click the **Resources** tab, then expand the Client Access Point you just created. Right-click the IP resource and click properties. Note the name of the IP address. You will use this name in the `$IPResourceName` variable in the PowerShell script.
202
-
203
-
1. Under **IP Address** click **Static IP Address** and set the static IP address to the same address that you used when you set the load balancer IP address on the Azure portal.
204
-
205
-
1. Disable NetBIOS for this address and click **OK**. Repeat this step for each IP resource if your solution spans multiple Azure VNets.
206
-
207
-
### <a name="listname">Make the availability group resource dependent on the listener resource</a>
208
-
209
-
1. In Failover Cluster Manager click **Roles** and click your Availability Group.
210
-
211
-
1. On the **Resources** tab, right-click the availability resource group and click **Properties**.
212
-
213
-
1. Click the **Dependencies** tab. Set a dependency on the listener resource name. If there are multiple resources listed, verify that the IP addresses have OR, not AND, dependencies. Click **OK**.
214
-
215
-
1. Right-click the listener name and click **Bring Online**.
216
-
217
-
### <a name="setparam">Set the cluster parameters in PowerShell</a>
218
-
219
-
Set the cluster parameters. To do this, update the following PowerShell script. Set the variables with the values for your environment. Run the PowerShell script on one of the cluster nodes.
220
-
221
-
```PowerShell
222
-
$ClusterNetworkName = "<MyClusterNetworkName>" # the cluster network name (Use Get-ClusterNetwork on Windows Server 2012 of higher to find the name)
223
-
$IPResourceName = "<IPResourceName>" # the IP Address resource name
224
-
$ILBIP = “<n.n.n.n>” # the IP Address of the Internal Load Balancer (ILB). This is the static IP address for the load balancer you configured in the Azure portal.
> If your SQL Servers are in separate regions, you need to run the PowerShell script twice. The first time use the `$ILBIP` and `$ProbePort` from the first region. The second time, use the `$ILBIP` and `$ProbePort` from the second region. The cluster network name, and the cluster IP resource name are the same.
233
-
234
-
## Set the listener port in SQL Server Management Studio
235
-
236
-
1. Launch SQL Server Management Studio and connect to the primary replica.
237
-
238
-
1. Navigate to **AlwaysOn High Availability** | **Availability Groups** | **Availability Group Listeners**.
239
-
240
-
1. You should now see the listener name that you created in Failover Cluster Manager. Right-click the listener name and click **Properties**.
241
-
242
-
1. In the **Port** box, specify the port number for the availability group listener by using the $EndpointPort you used earlier (1433 was the default), then click **OK**.
243
-
244
-
You now have a SQL Server availability group in Azure virtual machines running in Resource Manager mode.
245
-
-------------------------------->
246
-
247
154
## Set the listener port in SQL Server Management Studio
248
155
249
156
1. Launch SQL Server Management Studio and connect to the primary replica.
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/sqlclassic/virtual-machines-windows-classic-ps-sql-int-listener.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.devlang: na
14
14
ms.topic: article
15
15
ms.tgt_pltfrm: vm-windows-sql-server
16
16
ms.workload: iaas-sql-server
17
-
ms.date: 03/01/2017
17
+
ms.date: 05/02/2017
18
18
ms.author: mikeray
19
19
20
20
---
@@ -26,14 +26,13 @@ ms.author: mikeray
26
26
>
27
27
28
28
## Overview
29
-
This topic shows you how to configure a listener for an Always On Availability Group by using an **Internal Load Balancer (ILB)**.
30
29
31
30
> [!IMPORTANT]
32
31
> Azure has two different deployment models for creating and working with resources: [Resource Manager and Classic](../../../azure-resource-manager/resource-manager-deployment-model.md). This article covers using the Classic deployment model. Microsoft recommends that most new deployments use the Resource Manager model.
33
32
34
-
To configure an ILB listener for an Always On availability group in Resource Manager model, see [Configure an internal load balancer for an Always On availability group in Azure](../sql/virtual-machines-windows-portal-sql-alwayson-int-listener.md).
33
+
To configure a listener for an Always On availability group in Resource Manager model, see [Configure a load balancer for an Always On availability group in Azure](../sql/virtual-machines-windows-portal-sql-alwayson-int-listener.md).
35
34
36
-
Your Availability Group can contain replicas that are on-premises only, Azure only, or span both on-premises and Azure for hybrid configurations. Azure replicas can reside within the same region or across multiple regions using multiple virtual networks (VNets). The steps below assume you have already [configured an availability group](../classic/portal-sql-alwayson-availability-groups.md) but have not configured a listener.
35
+
Your availability group can contain replicas that are on-premises only, Azure only, or span both on-premises and Azure for hybrid configurations. Azure replicas can reside within the same region or across multiple regions using multiple virtual networks (VNets). The steps below assume you have already [configured an availability group](../classic/portal-sql-alwayson-availability-groups.md) but have not configured a listener.
37
36
38
37
## Guidelines and limitations for internal listeners
39
38
Note the following guidelines on the availability group listener in Azure using ILB:
0 commit comments