Set-SCReplicationGroup

Modifies a replication group.

Syntax

Set-SCReplicationGroup [-ReplicationGroup] <ReplicationGroup>
 [-AddStorageFileShare <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]>]
 [-CreateOnArray] [-Description <String>] [-JobVariable <String>] [-LogSizeInMB <UInt64>]
 [-LogStorageVolume <StorageVolume>] [-Name <String>] [-PROTipID <Guid>]
 [-RemoveStorageFileShare <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]>]
 [-RunAsynchronously] [<CommonParameters>]
Set-SCReplicationGroup [-ReplicationGroup] <ReplicationGroup>
 [-AddStorageLuns <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
 [-CreateOnArray] [-Description <String>] [-JobVariable <String>] [-Name <String>] [-PROTipID <Guid>]
 [-RemoveStorageLuns <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
 [-RunAsynchronously] [<CommonParameters>]
Set-SCReplicationGroup [-ReplicationGroup] <ReplicationGroup>
 [-AddStorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>]
 [-CreateOnArray] [-JobVariable <String>] [-PROTipID <Guid>]
 [-RemoveStorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>]
 [-RunAsynchronously] [<CommonParameters>]
Set-SCReplicationGroup [-ReplicationGroup] <ReplicationGroup> [-CreateOnArray] -EnableProtectionMode <String>
 [-JobVariable <String>] -Operation <String> [-PROTipID <Guid>] [-Rpo <UInt32>] [-RunAsynchronously]
 [-TargetLogicalUnit <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
 [-TargetReplicationGroup <ReplicationGroup>]
 [-TargetStoragePool <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]>]
 [<CommonParameters>]
Set-SCReplicationGroup [-ReplicationGroup] <ReplicationGroup> [-CreateOnArray] [-JobVariable <String>]
 -Operation <String> [-PROTipID <Guid>] [-RunAsynchronously] [<CommonParameters>]

Description

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameters

-AddStorageFileShare
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddStorageLuns
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AddStorageVolume
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-CreateOnArray
Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Description

Specifies a description for a replication group.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EnableProtectionMode

Specifies the enable protection mode. The acceptable values for this parameter are:

- Asynchronous

  • Synchronous

Type:String
Parameter Sets:Asynchronous, Synchronous
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies a variable in which job progress is tracked and stored.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogSizeInMB

Specifies the log size, in megabytes (MB).

Type:UInt64
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogStorageVolume
Type:StorageVolume
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the replication group to modify.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Operation

Specifies the operation. The acceptable values for this parameter are:

- EnableProtection

  • PrepareForFailover
  • Failover
  • PrepareForReverseRoles
  • ReverseRoles
  • Resync
  • TearDown

Type:String
Parameter Sets:EnableProtection, PrepareForFailover, Failover, PrepareForReverseRoles, ReverseRoles, Resync, TearDown
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageFileShare
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageLuns
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageVolume
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReplicationGroup

Specifies the replication group to modify.

Type:ReplicationGroup
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Rpo
Type:UInt32
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetLogicalUnit
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetReplicationGroup
Type:ReplicationGroup
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetStoragePool
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False