Blocks writing on the target
Syntax
Set-DtPathBlocking [-ServiceHost] <Server> [-SourceAddress] <String> [[-Mode] <PathBlockingMode>] [<CommonParameters>]
Detailed Description
This cmdlet blocks writing to the replica source data located on the target, keeping the data from being changed outside of Double-Take processing.
Parameters
Name | Type | Description | Required | Pipeline Input |
---|---|---|---|---|
Service Host |
Server |
|
true | false |
Source Address |
String |
Specify the IP address of the source, including the port, for example, 123.123.123.123:6320. |
true | false |
Mode |
Path Blocking |
Specify Blocked or Unblocked. |
false | false |
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password Set-DtPathBlocking -ServiceHost $DtServerObjectAlpha -SourceAddress "112.42.74.29:6320" -Mode Blocked Disconnect-DtServer -ServiceHost $DtServerObjectAlpha |
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. Then it sets the target paths associated with the replica data from the specified source IP address to blocked. The connections for the server object are then closed.