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: docs/linux/sql-server-linux-configure-multiple-subnet.md
+35-15Lines changed: 35 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
title: Configure multiple-subnet availability group & FCI (Linux)
3
3
description: Learn to configure multiple-subnet Always On availability groups and failover cluster instances (FCI) for SQL Server on Linux.
4
4
ms.custom: seo-lt-2019
5
-
author: MikeRayMSFT
6
-
ms.author: mikeray
7
-
ms.reviewer: vanto
8
-
ms.date: 12/01/2017
5
+
author: liweiSecurity
6
+
ms.author: liweiyin
7
+
ms.reviewer: VanMSFT
8
+
ms.date: 07/28/2020
9
9
ms.topic: conceptual
10
10
ms.prod: sql
11
11
ms.technology: linux
@@ -52,28 +52,42 @@ In the Windows world, a Windows Server Failover Cluster (WSFC) natively supports
52
52
2. Edit the file that was generated. Look for the `<resources>` section. You will see the various resources that were created for the AG or FCI. Find the one associated with the IP address. Add a `<instance attributes>` section with the information for the second IP address either above or below the existing one, but before `<operations>`. It is similar to the following syntax:
where *NameForAttribute* is the unique name forthis attribute, *Score* is the number assigned to the attribute, which must be higher than the primary subnet's, *RuleName* is the name of the rule, *ExpressionName* is the name of the expression, *NodeNameInSubnet2* is the name of the nodein the other subnet, *NameForSecondIP* is the name associated with the second IP address, *IPAddress* is the IP addressfor the second subnet, *NameForSecondIPNetmask* is the name associated with the netmask, and *Netmask* is the netmaskfor the second subnet.
60
+
where *NameForAttribute* is the unique name for this attribute, *NameForIP* is the name associated with the IP address, *IPAddress* is the IP address for the second subnet.
The 'boolean-op="or"' is used when the subnet has more than one server.
90
+
77
91
78
92
3. Import the modified CIB and reconfigure Pacemaker.
79
93
@@ -94,6 +108,12 @@ In the Windows world, a Windows Server Failover Cluster (WSFC) natively supports
94
108
### Check and verify failover
95
109
96
110
1. After the CIB is successfully applied with the updated configuration, ping the DNS name associated with the IP address resource in Pacemaker. It should reflect the IP address associated with the subnet currently hosting the AG or FCI.
111
+
97
112
2. Fail the AG or FCI to the other subnet.
113
+
98
114
3. After the AG or FCI is fully online, ping the DNS name associated with the IP address. It should reflect the IP address in the second subnet.
115
+
99
116
4. If desired, fail the AG or FCI back to the original subnet.
117
+
118
+
Here is a CSS post showing how to configure the CIB for three subnets, please review for detail:
119
+
[Configure multiple-subnet AlwaysOn Availability Group by modifying CIB](https://techcommunity.microsoft.com/t5/sql-server-support/configure-multiple-subnet-alwayson-availability-groups-by/ba-p/1544838).
0 commit comments