Set-SCReplicationGroup

Modifies a replication group.

Syntax

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

Description

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameters

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

Specifies a description for a replication group.

Type:String
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
Accepted values:Asynchronous, Synchronous
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogSizeInMB

Specifies the log size, in megabytes (MB).

Type:UInt64
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LogStorageVolume
Type:StorageVolume
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
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
Accepted values:EnableProtection, PrepareForFailover, Failover, PrepareForReverseRoles, ReverseRoles, Resync, TearDown
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageFileShare
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageLuns
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RemoveStorageVolume
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ReplicationGroup

Specifies the replication group to modify.

Type:ReplicationGroup
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Rpo
Type:UInt32
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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetLogicalUnit
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetReplicationGroup
Type:ReplicationGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TargetStoragePool
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False