Skip to content

Add HPOVStoragePool

Chris Lynch edited this page Jul 30, 2016 · 44 revisions

HPE OneView 2.00 Library

Add-HPOVStoragePool

Add managed Storage Pools.

SYNTAX

Add-HPOVStoragePool [-StorageSystem] <Object> [-Pool] <Array> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

Add new Storage Pools (i.e. HP 3PAR Common Provisioning Group [CPG]) for volumes to be provisioned from. The Storage System must be imported prior to adding Storage Pools.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectSessions} | ? Default

Aliases Appliance
Required? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Pool <Array>

Aliases: [PoolName, spName, CPG] An array containing the name(s) of the specific storage pool resource(s) to be added during storage system import.

Example: $pools = "cpg1","cpg2"

Aliases PoolName, spName, cpg
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-StorageSystem <Object>

Aliases: [Hostname, Name] The IP Address or FQDN of the supported storage system to import a new or additional Storage Pools.

Aliases Hostname, name
Required? true
Position? 0
Default value
Accept pipeline input? true (ByValue)
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)

Input Types

HPOneView.Storage.System [System.Management.Automation.PSCustomObject] Storage System resource object from Get-HPOVStorageSystem.

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject] Async task resource.

System.Collections.ArrayList <HPOneView.Appliance.TaskResource> Multiple async task resources.

Async Task(s) to monitor storage pool import.

Examples

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

PS C:\> Add-HPOVStoragePool -StorageSystem "HP3PAR_1" -PoolName "HP_CPG1"

Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> Get-HPOVStorageSystem HP3PAR_1 | Add-HPOVStoragePool -PoolName "HP_CPG1"

Using pipline operation, add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.

 -------------------------- EXAMPLE 3 --------------------------

PS C:\> $myPools = "cpg1","cpg2" PS C:\> Add-HPOVStoragePool "HP3PAR_1" $myPools

Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.

Related Links


HPE OneView 1.20 Library

Add-HPOVStoragePool

Add managed Storage Pools.

SYNTAX

Add-HPOVStoragePool [-StorageSystem] <StorageSystem> [-poolName] <poolName> [<CommonParameters>]

Detailed Description

Add new Storage Pools (i.e. HP 3PAR Common Provisioning Group [CPG]) for volumes to be provisioned from. The Storage System must be imported prior to adding Storage Pools.

Parameters

-StorageSystem <StorageSystem>

Aliases None.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters?    false

-poolName <poolName>

Aliases: [Pool, spName, CPG] REQUIRED. An array containing the name(s) of the specific storage pool resource(s) to be added during storage system import.

Example: $pools = "cpg1","cpg2"

Aliases None.
Required? true
Position? 2
Default value
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)

Input Types

System.Management.Automation.PSCustomObject Storage System resource object from Get-HPOVStorageSystem.

Return Values

System.Management.Automation.PSCustomObject Async task resource.

System.Array Multiple async task resources.

Async Task(s) to monitor storage pool import.

Async Task(s) to monitor storage pool import.

Examples

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

PS C:\> Add-HPOVStoragePool -StorageSystem "HP3PAR_1" -PoolName "HP_CPG1"

Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System. PoolName parameter data type will be converted from System.String to System.Array.

 -------------------------- EXAMPLE 2 --------------------------

PS C:\> $myPools = "cpg1","cpg2" PS C:\> Add-HPOVStoragePool "HP3PAR_1" $myPools

Add the "HP_CPG1" Stroage Pool that is mananaged in the HP3PAR_1 Storage System.

Related Links


Wiki Table of Contents

Clone this wiki locally