Set-DPMDatasourceDiskAllocation
Set-DPMDatasourceDiskAllocation
Changes disk allocation for protected data.
構文
Parameter Set: Default
Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: AutoGrowOption
Set-DPMDatasourceDiskAllocation [-ProtectionGroup] <ProtectionGroup> [-AutoGrow] <Boolean> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: Custom
Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> -CustomRequirements [-FormatVolumes] [-PassThru] [-ReplicaVolume <DpmServerVolume> ] [-ShadowCopyVolume <DpmServerVolume> ] [-USNJournalSize <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: ExpectedDataSizePerClientInMB
Set-DPMDatasourceDiskAllocation -ExpectedDataSizePerClientInMB <Int64> -ProtectionGroup <ProtectionGroup> [-Datasource <Datasource> ] [-ShadowCopyArea <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: Manual
Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> -Manual [-PassThru] [-ProductionServerJournalSize <Int64> ] [-ReplicaArea <Int64> ] [-ShadowCopyArea <Int64> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: MigrateDatasourceDataFromDPMToDisk
Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-MigrateDatasourceDataFromDPM] [-DestinationDiskPool] <Disk[]> [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: MigrateDatasourceDataFromDPMToVolume
Set-DPMDatasourceDiskAllocation [-Datasource] <Datasource> [-ProtectionGroup] <ProtectionGroup> [-MigrateDatasourceDataFromDPM] [-DestinationReplicaVolume] <DpmServerVolume> [-DestinationShadowCopyVolume] <DpmServerVolume> [-FormatVolumes] [-Confirm] [-WhatIf] [ <CommonParameters>]
詳細説明
The Set-DPMDatasourceDiskAllocation cmdlet changes disk allocation for protected data. By default, System Center 2012 – Data Protection Manager (DPM) allocates disk space and volumes for the data source. The cmdlet gives you these options for changing disk allocation:
-- Specify the amount of disk space to allot to each data source in a protection group.
-- Specify the volumes to use for each data source in a protection group.
パラメーター
-AutoGrow<Boolean>
Indicates whether DPM increases the size of the replica or recovery point volume automatically when it runs out of user space.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-CustomRequirements
Indicates that you can specify replica and shadow copy volumes manually.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Datasource<Datasource>
Specifies a share or volume in a Windows file system, Microsoft SQL Server database, Microsoft Exchange storage group, Microsoft SharePoint farm, Microsoft virtual machine, DPM database, or system state that is a member of a protection group.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-DestinationDiskPool<Disk[]>
Specifies the set of disks on which DPM allocates volumes to migrate a data source. This parameter is migration specific.
エイリアス |
none |
必須? |
true |
位置は? |
4 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DestinationReplicaVolume<DpmServerVolume>
Specifies the destination volume that the user allocates to migrate replicas of a data source. This parameter is migration specific.
エイリアス |
none |
必須? |
true |
位置は? |
4 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-DestinationShadowCopyVolume<DpmServerVolume>
Specifies the destination volume that the user allocates to migrate shadow copies of a data source. This parameter is migration specific.
エイリアス |
none |
必須? |
true |
位置は? |
5 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ExpectedDataSizePerClientInMB<Int64>
Specifies the expected size of data that the user will back up from each client computer (in megabytes).
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-FormatVolumes
Indicates that DPM formats the allocated volumes.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Manual
Indicates that you can apply DPM settings manually.
エイリアス |
none |
必須? |
true |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-MigrateDatasourceDataFromDPM
Indicates that DPM migrates the data source from the current volumes to a new set of volumes.
エイリアス |
none |
必須? |
true |
位置は? |
3 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PassThru
Indicates that cmdlets can be part of a pipeline. Use this parameter with other DPM cmdlets to return a related object in cases where the cmdlet does not create default output.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProductionServerJournalSize<Int64>
Specifies the journal size of the protected server.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a protection group object.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-ReplicaArea<Int64>
Specifies the disk allocation for the replica area of the current data source.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ReplicaVolume<DpmServerVolume>
Specifies a replica volume object. A replica volume is a volume on the DPM server that contains the replica of a protected data source.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ShadowCopyArea<Int64>
Specifies the disk allocation for the shadow copy area of the current data source.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ShadowCopyVolume<DpmServerVolume>
Specifies an object for a shadow copy volume. This object represents the volume that contains the shadow copy.
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-USNJournalSize<Int64>
Specifies the journal size for the update sequence number (USN).
エイリアス |
none |
必須? |
false |
位置は? |
named |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Datasource
注
- For more information, type
Get-Help Set-DPMDatasourceDiskAllocation -detailed
.
例
Example 1: Specify disk allocation for a data source
This example specifies the disk allocation for a data source.
The first command gets all protection groups from the DPM server named TestingServer and stores these groups in the variable named $Pg. You cannot edit these protection groups.
The second command gets the protection groups from the $Pg array in editable mode. It stores the editable protection group in the variable named $Mpg.
The third command gets the list of protected and unprotected data from the $Mpg array and stores them in the variable named $Ds.
The fourth command gets the current disk allocation for the second data source in $Ds.
The fifth command sets the disk allocation for the second data source in $Ds from the protection groups in $Mpg.
The sixth command saves the second data source in $Ds to the editable protection group in $Mpg.
PS C:\> $Pg = Get-ProtectionGroup -DPMServerName "TestingServer"PS C:\> $Mpg = Get-ModifiableProtectionGroup $PgPS C:\> $Ds = Get-Datasource -ProtectionGroup $MpgPS C:\> Get-DatasourceDiskAllocation -Datasource $Ds[1]PS C:\> Set-DPMDatasourceDiskAllocation -Datasource $Ds[1] -ProtectionGroup $MpgPS C:\> Set-ProtectionGroup $Mpg