NAME

New-HPOVStorageVolumeTemplate

SYNOPSIS

Create storage volume template.

SYNTAX

New-HPOVStorageVolumeTemplate -templateName <String> [-description <String>] -storagePool <Object> [-StorageSystem <Object>] -capacity <Int32> [-full] [-shared] [<CommonParameters>]

DESCRIPTION

This cmdlet supports creating Storage Volume Templates, which are then used to provision Storage Volumes.

PARAMETERS

-templateName <String>

Alias [-name]

Storage Volume Template name

Aliases -Name
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-description [<String>]
Optional. Provide the description for the Storage Volume Template
Aliases None
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-storagePool <Object>
Specify the Storage Pool (aka CPG) the Storage Volume Template will be associated with. Storage Pool must already be managed by OneView.
Aliases None
Required? true
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-StorageSystem [<Object>]
Aliases None
Required? false
Position? named
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false
-capacity <Int32>

Alias [-size]

Max volume capacity in GB. e.g. 20 to specify 20GB.

Aliases -size
Required? true
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters?    false
-full [<SwitchParameter>]
Include this switch to enable Thick volume provisioning. Omit to specify Thin storage provisioning.
Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false
-shared [<SwitchParameter>]
Include this switch to mark the Storage Volume Template as a Shareable resource for shared volume access.
Aliases None
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters?    false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None. You cannot pipe objects to this cmdlet.

OUTPUTS

System.Management.Automation.PSCustomObject

Async create task

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 -------------------------- 

PS C:\> $task = New-HPOVStorageVolumeTemplate -templateName "yellow-svt" -storagePool "yellow" -capacity 40
PS C:\> Wait-HPOVTaskComplete $task

Create a new Storage Volume Template, setting the max size to 40GB, Thin Provisioning and Private.
-------------------------- EXAMPLE 2 -------------------------- 

PS C:\> $task = New-HPOVStorageVolumeTemplate -templateName "vmware-shared-svt" -storagePool "R5-CPG12" -capacity 250 -shared
PS C:\> Wait-HPOVTaskComplete $task

Create a new Storage Volume Template, setting the max size to 250GB, Thin Provisioning and Shareable.
-------------------------- EXAMPLE 3 -------------------------- 

PS C:\> $storagePool = Get-HPOVStoragePool R5-CPG12
PS C:\> $storageVolTemplate = New-HPOVStorageVolumeTemplate -templateName "vmware-shared-svt" -storagePool $storagePool -capacity 250 -shared

Use the Get-HPOVStoragePool cmdlet to get the 'R5-CPG12' pool, and create a new Storage Volume Template, setting the max size to 250GB, Thin Provisioning and Shareable.

Last edited Aug 19, 2014 at 9:32 PM by chrislynchhp, version 2