Skip to content

Commit 61804f2

Browse files
authored
Merge pull request #14486 from briancarrig/patch-1
MultiSubnetFailover parameter added
2 parents eb9934a + ed95123 commit 61804f2

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

docs/relational-databases/replication/agents/replication-distribution-agent.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ distrib [-?]
5858
[-MaxBcpThreads]
5959
[-MaxDeliveredTransactions number_of_transactions]
6060
[-MessageInterval message_interval]
61+
[-MultiSubnetFailover [0|1]]
6162
[-OledbStreamThreshold oledb_stream_threshold]
6263
[-Output output_path_and_file_name]
6364
[-OutputVerboseLevel [0|1|2]]
@@ -199,6 +200,9 @@ distrib [-?]
199200
- The **MessageInterval** value is reached after the last history event is logged.
200201

201202
If there is no replicated transaction available at the source, the agent reports a no-transaction message to the Distributor. This option specifies how long the agent waits before reporting another no-transaction message. Agents always report a no-transaction message when they detect that there are no transactions available at the source after previously processing replicated transactions. The default is 60 seconds.
203+
204+
**-MultiSubnetFailover**
205+
Specifies whether the MultiSubnetFailover property is enabled or not. If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server.
202206

203207
**-OledbStreamThreshold** _oledb_stream_threshold_
204208
Specifies the minimum size, in bytes, for binary large object data above which the data will be bound as a stream. You must specify **-UseOledbStreaming** to use this parameter. Values can range from 400 to 1048576 bytes, with a default of 16384 bytes.
@@ -293,6 +297,7 @@ distrib [-?]
293297
|Updated content|
294298
|---------------------|
295299
|Added the **-ExtendedEventConfigFile** parameter.|
300+
|Added the **-MultiSubnetFailover** parameter.|
296301

297302
## See Also
298303
[Replication Agent Administration](../../../relational-databases/replication/agents/replication-agent-administration.md)

docs/relational-databases/replication/agents/replication-log-reader-agent.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ logread [-?]
4444
[-LoginTimeOut login_time_out_seconds]
4545
[-LogScanThreshold scan_threshold]
4646
[-MaxCmdsInTran number_of_commands]
47-
[-MessageInterval message_interval]
47+
[-MessageInterval message_interval]
48+
[-MultiSubnetFailover [0|1]]
4849
[-Output output_path_and_file_name]
4950
[-OutputVerboseLevel [0|1|2|3|4]]
5051
[-PacketSize packet_size]
@@ -133,6 +134,9 @@ logread [-?]
133134
Is the time interval used for history logging. A history event is logged when the **MessageInterval** value is reached after the last history event is logged.
134135

135136
If there is no replicated transaction available at the source, the agent reports a no-transaction message to the Distributor. This option specifies how long the agent waits before reporting another no-transaction message. Agents always report a no-transaction message when they detect that there are no transactions available at the source after previously processing replicated transactions. The default is 60 seconds.
137+
138+
**-MultiSubnetFailover** [**0**|**1**]
139+
Specifies whether the MultiSubnetFailover property is enabled or not. If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover to 1 (true) provides faster detection of and connection to the (currently) active server.
136140

137141
**-Output** _output_path_and_file_name_
138142
Is the path of the agent output file. If the file name is not provided, the output is sent to the console. If the specified file name exists, the output is appended to the file.
@@ -195,6 +199,7 @@ logread [-?]
195199
|Updated content|
196200
|---------------------|
197201
|Added the **-ExtendedEventConfigFile** parameter.|
202+
|Added the **-MultiSubnetFailover** parameter.|
198203

199204
## See Also
200205
[Replication Agent Administration](../../../relational-databases/replication/agents/replication-agent-administration.md)

0 commit comments

Comments
 (0)