Set-DfsrConnection

Set-DfsrConnection

Changes the settings of a connection between members of a replication group.

Syntax

Parameter Set: Default
Set-DfsrConnection [[-GroupName] <String[]> ] [-SourceComputerName] <String> [-DestinationComputerName] <String> [[-DisableConnection] <Boolean> ] [[-DisableRDC] <Boolean> ] [[-DisableCrossFileRDC] <Boolean> ] [[-Description] <String> ] [[-MinimumRDCFileSizeInKB] <Int64> ] [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detaillierte Beschreibung

The Set-DfsrConnection cmdlet changes a connection between two members of a replication group.

DFS Replication connections are the logical partnerships between members in a replication group. The DFS Replication service uses the Remote Procedure Call (RPC) protocol to communicate between servers. The DFS Replication service does not support modifying connection bandwidth or schedules, which typically do not require changes.

Parameter

-Description<String>

Specifies a description for the connection.

Aliasse

Keiner

Erforderlich?

false

Position?

7

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DestinationComputerName<String>

Specifies the name of the receiving computer. A receiving computer is also called an inboard or downstream computer.

Aliasse

ReceivingMember,RMem

Erforderlich?

true

Position?

3

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-DisableConnection<Boolean>

Specifies that the DFS Replication service disables the connection.

You do not typically need to disable a connection. Specify this parameter to temporarily pause replication. You can also use the Suspend-DfsReplicationGroup cmdlet to halt replication between computers. You must enable a connection between the computers before the DFS Replication service can initiate replication.

Important: Specify this parameter instead of disabling a computer's membership in the replication group by using the Set-DfsrMembership cmdlet. Disabling and enabling a computer's membership causes non-authoritative inbound replication.

Aliasse

Keiner

Erforderlich?

false

Position?

4

Standardwert

false

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DisableCrossFileRDC<Boolean>

Indicates that the DFS Replication service disables the cross-file similarity Remote Differential Compression (RDC) algorithm on this connection.

Cross-file RDC uses up to five existing previously replicated files on a volume to seed a new replicating file. Applying cross-file RDC over very low-bandwidth network connections with files that are very similar results in very large bandwidth savings and potentially large time savings. When you use cross-file RDC on very high-bandwidth network connections, cross-file RDC may add too much local processing time and negatively affect performance. In extremely large datasets (millions of files on a volume with a great deal of similarity), cross-file RDC may also negatively affect CPU and disk utilization. Consider disabling cross-file RDC when you replicate over LANs and very high performance WANs. This setting is only supported on Windows Server 2012 R2 and later.

Aliasse

Keiner

Erforderlich?

false

Position?

6

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DisableRDC<Boolean>

Indicates that the DFS Replication service creates the connection with Remote Differential Compression (RDC) disabled.

You do not typically need to specify this parameter when you use lower bandwidth, higher latency connections. Consider specifying this parameter if the connection is over a LAN or very high performance WAN connection. By default, RDC is enabled on DFS Replication connections.

Aliasse

Keiner

Erforderlich?

false

Position?

5

Standardwert

false

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-DomainName<String>

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the Active Directory Domain Service (AD DS) domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.

Aliasse

Keiner

Erforderlich?

false

Position?

101

Standardwert

[Current Domain]

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-GroupName<String[]>

Specifies an array of names of replication groups. You can use a comma separated list and the wildcard character (*).

Aliasse

RG,RgName

Erforderlich?

false

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

true

-MinimumRDCFileSizeInKB<Int64>

Specifies the file size threshold, in Kilobytes, for RDC to apply.

You do not typically need to specify this parameter when you use lower bandwidth/higher latency connections. Consider specifying this parameter only if the connection is over a LAN or a very high performance WAN connection. By default, any files equal to or greater than 64KB are chunked by RDC.

Aliasse

Keiner

Erforderlich?

false

Position?

8

Standardwert

64

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-SourceComputerName<String>

Specifies the name of the sending computer. A sending computer is also called an outbound or upstream computer.

Aliasse

SendingMember,SMem

Erforderlich?

true

Position?

2

Standardwert

Keiner

Pipelineeingaben akzeptieren?

True (ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-Confirm

Sie werden vor dem Ausführen des Cmdlets zur Bestätigung aufgefordert.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Erforderlich?

false

Position?

named

Standardwert

falsch

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.DistributedFileSystemReplication.DfsrConnection, String

Beispiele

Example 1: Change a connection between members of a replication group

This command changes the settings of a connection between the computers named SRV01 and SRV02 in the RG24 replication group. The command specifies that the connection no longer uses Remote Differential Compression or Cross-File RDC from SRV01 to SRV02. The administrator has determined that the network that connects these servers is a high-bandwidth LAN that should replicate faster than low-bandwidth WAN connections.

PS C:\> Set-DfsrConnection -GroupName "RG24" -SourceComputerName "SRV01" -DestinationComputerName "SRV02" -DisableRDC $True -DisableCrossFileRDC $True

Verwandte Themen

Get-DfsrConnection

Add-DfsrConnection

Remove-DfsrConnection