Set-SCReplicationGroup
Modyfikuje grupę replikacji.
Składnia
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>]
Opis
Polecenie cmdlet Set-SCReplicationGroup modyfikuje grupę replikacji.
Parametry
-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
Określa opis grupy replikacji.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EnableProtectionMode
Określa tryb włączania ochrony.
Dopuszczalne wartości dla tego parametru to:
- Asynchroniczny
- Synchronous
Type: | String |
Accepted values: | Asynchronous, Synchronous |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JobVariable
Określa zmienną, w której postęp zadania jest śledzony i przechowywany.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LogSizeInMB
Określa rozmiar dziennika w megabajtach (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
Określa nazwę grupy replikacji do zmodyfikowania.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Operation
Określa operację.
Dopuszczalne wartości dla tego parametru to:
- Włączanie ochrony
- PrepareForFailover
- Tryb failover
- PrepareForReverseRoles
- Odwróćrole
- Resync
- Łzawiące
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
Określa identyfikator porady wydajności i optymalizacji zasobów (porada PRO), która wyzwoliła tę akcję.
Ten parametr umożliwia inspekcję porad PRO.
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
Określa grupę replikacji do zmodyfikowania.
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
Wskazuje, że zadanie jest uruchamiane asynchronicznie, aby kontrolka natychmiast wracała do powłoki poleceń.
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 |