Set-SCReplicationGroup
語法
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
Set-SCReplicationGroup Cmdlet 會修改復寫群組。
參數
-AddStorageFileShare
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-AddStorageLuns
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-AddStorageVolume
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-CreateOnArray
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Description
指定複寫群組的描述。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-EnableProtectionMode
指定啟用保護模式。
此參數可接受的值為:
類型: | String |
接受的值: | Asynchronous, Synchronous |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-JobVariable
指定追蹤和儲存作業進度的變數。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-LogSizeInMB
指定記錄大小,以 MB 為單位。
類型: | UInt64 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-LogStorageVolume
類型: | StorageVolume |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定要修改之復寫群組的名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Operation
指定作業。
此參數可接受的值為:
- EnableProtection
- PrepareForFailover
- 故障轉移
- PrepareForReverseRoles
- ReverseRoles
- 重新同步處理
- 拆卸
類型: | String |
接受的值: | EnableProtection, PrepareForFailover, Failover, PrepareForReverseRoles, ReverseRoles, Resync, TearDown |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-PROTipID
指定觸發此動作之效能和資源優化提示 (PRO 提示) 的識別碼。
此參數可讓您稽核 PRO 秘訣。
類型: | Guid |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RemoveStorageFileShare
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RemoveStorageLuns
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RemoveStorageVolume
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-ReplicationGroup
指定要修改的復寫群組。
類型: | ReplicationGroup |
Position: | 0 |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Rpo
類型: | UInt32 |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-RunAsynchronously
表示作業會以異步方式執行,讓控件立即返回命令殼層。
類型: | SwitchParameter |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-TargetLogicalUnit
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-TargetReplicationGroup
類型: | ReplicationGroup |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-TargetStoragePool
類型: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool] |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |