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
@@ -469,15 +470,15 @@ Initiates a manual failover of the availability group without data loss to the s
469
470
> NetBIOS recognizes only the first 15 chars in the dns_name. If you have two WSFC clusters that are controlled by the same Active Directory and you try to create availability group listeners in both of clusters using names with more than 15 characters and an identical 15 character prefix, you will get an error reporting that the Virtual Network Name resource could not be brought online. For information about prefix naming rules for DNS names, see [Assigning Domain Names](http://technet.microsoft.com/library/cc731265\(WS.10\).aspx).
470
471
471
472
JOIN AVAILABILITY GROUP ON
472
-
Joins to a *distributed availability group*. When you create a distributed availability group, the availability group on the cluster where it is created is the primary availability group. The availability group that joins the distributed availability group is the secondary availability group.
473
+
Joins to a *distributed availability group*. When you create a distributed availability group, the availability group on the cluster where it is created is the primary availability group. When you execute JOIN, the local server instance's availability group is the secondary availability group.
473
474
474
475
\<ag_name>
475
476
Specifies the name of the availability group that makes up one half of the distributed availability group.
Specifies the URL path for the listener associated with the availability group.
479
480
480
-
The LISTENER clause is required.
481
+
The LISTENER_URL clause is required.
481
482
482
483
**'**TCP**://***system-address***:***port***'**
483
484
Specifies a URL for the listener associated with the availability group. The URL parameters are as follows:
@@ -486,7 +487,7 @@ Initiates a manual failover of the availability group without data loss to the s
486
487
Is a string, such as a system name, a fully qualified domain name, or an IP address, that unambiguously identifies the listener.
487
488
488
489
*port*
489
-
Is a port number that is associated with the mirroring endpoint of the availability group. Note that this is not the port of the listener.
490
+
Is a port number that is associated with the mirroring endpoint of the availability group. Note that this is not the port for client connectivity that is configured on the listener.
Specifies whether the primary replica has to wait for the secondary availability group to acknowledge the hardening (writing) of the log records to disk before the primary replica can commit the transaction on a given primary database.
| WITH IP ( { ( <ip_address_option> ) } [ , ...n ] ) [ , PORT = listener_port ]
101
-
}
102
-
103
-
<network_subnet_option> ::=
104
-
‘four_part_ipv4_address’, ‘four_part_ipv4_mask’
105
-
106
-
<ip_address_option> ::=
107
-
{
108
-
‘four_part_ipv4_address’, ‘four_part_ipv4_mask’
109
-
| ‘ipv6_address’
110
-
}
111
-
117
+
112
118
```
113
119
114
120
## Arguments
@@ -179,7 +185,7 @@ CREATE AVAILABILITY GROUP group_name
179
185
Used to create a basic availability group. Basic availability groups are limited to one database and two replicas: a primary replica and one secondary replica. This option is a replacement for the deprecated database mirroring feature on SQL Server Standard Edition. For more information, see [Basic Availability Groups (Always On Availability Groups)](../../database-engine/availability-groups/windows/basic-availability-groups-always-on-availability-groups.md). Basic availability groups are supported beginning in [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)].
180
186
181
187
DISTRIBUTED
182
-
Used to create a distributed availability group. This option is used with the AVAILABILITY GROUP ON parameter to connect two availability groups in separate Windows Server Failover Clusters. For more information, see [Distributed Availability Groups (Always On Availability Groups)](../../database-engine/availability-groups/windows/distributed-availability-groups-always-on-availability-groups.md). Distributed availability groups are supported beginning in [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)].
188
+
Used to create a distributed availability group. The DISTRIBUTED option cannot be combined with any other options or clauses. This option is used with the AVAILABILITY GROUP ON parameter to connect two availability groups in separate Windows Server Failover Clusters. For more information, see [Distributed Availability Groups (Always On Availability Groups)](../../database-engine/availability-groups/windows/distributed-availability-groups-always-on-availability-groups.md). Distributed availability groups are supported beginning in [!INCLUDE[ssSQL15](../../includes/sssql15-md.md)].
183
189
184
190
REQUIRED_SYNCHRONIZED_SECONDARIES_TO_COMMIT
185
191
Introduced in SQL Server 2017. Used to set a minimum number of synchronous secondary replicas required to commit before the primary commits a transaction. Guarantees that SQL Server transaction waits until the transaction logs are updated on the minimum number of secondary replicas. The default is 0 which gives the same behavior as SQL Server 2016. The minimum value is 0. The maximum value is the number of replicas minus 1. This option relates to replicas in synchronous commit mode. When replicas are in synchronous commit mode, writes on the primary replica wait until writes on the secondary synchronous replicas are committed to the replica database transaction log. If a SQL Server that hosts a secondary synchronous replica stops responding, the SQL Server that hosts the primary replica marks that secondary replica as NOT SYNCHRONIZED and proceed. When the unresponsive database comes back online it is in a "not synced" state and the replica marked as unhealthy until the primary can make it synchronous again. This setting guarantees that the primary replica waits until the minimum number of replicas have committed each transaction. If the minimum number of replicas is not available then commits on the primary fail. For cluster type `EXTERNAL` the setting is changed when the availability group is added to a cluster resource. See [High availability and data protection for availability group configurations](../../linux/sql-server-linux-availability-group-ha.md).
@@ -367,7 +373,7 @@ CREATE AVAILABILITY GROUP group_name
367
373
For more information about the session-timeout period, see [Overview of Always On Availability Groups (SQL Server)](../../database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server.md).
368
374
369
375
AVAILABILITY GROUP ON
370
-
Specifies two availability groups that constitute a *distributed availability group*. Each availability group is part of its own Windows Server Failover Cluster (WSFC). When you create a distributed availability group, the availability group on the current SQL Server Instance becomes the primary availability group. The second availability group becomes the secondary availability group.
376
+
Specifies two availability groups that constitute a *distributed availability group*. Each availability group is part of its own Windows Server Failover Cluster (WSFC). When you create a distributed availability group, the availability group on the current SQL Server Instance becomes the primary availability group and the remote availability group becomes the secondary availability group.
371
377
372
378
You need to join the secondary availability group to the distributed availability group. For more information, see [ALTER AVAILABILITY GROUP (Transact-SQL)](../../t-sql/statements/alter-availability-group-transact-sql.md).
0 commit comments