Dela via


Set-SCReplicationGroup

Ändrar en replikeringsgrupp.

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

Cmdleten Set-SCReplicationGroup ändrar en replikeringsgrupp.

Parametrar

-AddStorageFileShare

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AddStorageLuns

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AddStorageVolume

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CreateOnArray

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

Anger en beskrivning för en replikeringsgrupp.

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

-EnableProtectionMode

Anger läget aktivera skydd. De acceptabla värdena för den här parametern är:

  • Asynkrona
  • Synkront
Type:String
Accepted values:Asynchronous, Synchronous
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-JobVariable

Anger en variabel där jobb förloppet spåras och lagras.

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

-LogSizeInMB

Anger loggstorleken i MEGABYTE (MB).

Type:UInt64
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-LogStorageVolume

Type:StorageVolume
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Anger namnet på replikeringsgruppen som ska ändras.

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

-Operation

Anger åtgärden. De acceptabla värdena för den här parametern är:

  • EnableProtection
  • PrepareForFailover
  • Redundans
  • PrepareForReverseRoles
  • ReverseRoles
  • Resync
  • Teardown
Type:String
Accepted values:EnableProtection, PrepareForFailover, Failover, PrepareForReverseRoles, ReverseRoles, Resync, TearDown
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PROTipID

Anger ID för tipset om prestanda- och resursoptimering (PRO-tips) som utlöste den här åtgärden. Med den här parametern kan du granska PRO-tips.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveStorageFileShare

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveStorageLuns

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoveStorageVolume

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ReplicationGroup

Anger den replikeringsgrupp som ska ändras.

Type:ReplicationGroup
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Rpo

Type:UInt32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RunAsynchronously

Anger att jobbet körs asynkront så att kontrollen återgår till kommandogränssnittet omedelbart.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetLogicalUnit

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetReplicationGroup

Type:ReplicationGroup
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetStoragePool

Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False