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>]
说明
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 提示)的 ID。
此参数允许你审核 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 |