beautypg.com

Createormodifyelementfromstoragepools(), Method overview – HP SAN Virtualization Services Platform User Manual

Page 85

background image

IN/OUT

Comments

Type

Parameter
Name

IN

Accept this value only if it is NULL, or if the
passed in StorageSetting reference represents
any setting instance of SNIA_StorageSetting,
as long as the following criteria is met:

DataRedundancy = 1

PackageRedundancy = 0

ExtentStripeLengthMin = 1

UserDataStripeDepthMin = 1

SNIA_StorageSetting

Goal

IN/OUT

As an input parameter - the desired size of
the virtual disk. As an out parameter, the size
achieved. Fail the operation if NULL. NOTE:
Thin virtual disks use the following criteria to
discern the size allocated:

Allocated space is 10% of virtual space.

Allocated space can be no larger than 32
GB.

Allocated space must be at least 512MB.

unit64

Size

IN-Required

A reference to a valid StoragePool. Use the
pool's InstanceID to extract the pool name
and the hosting system. Fail the operation if
this parameter is NULL, or if the InPool does
not represent a valid pool.

HPSVSP_ConfiguredPool REF

InPool

IN/OUT

As an in parameter: If NULL, then thisis a
create operation. If not NULL, this is a modify
operation.
As an out parameter: A reference to the
HPSVSP_VirtualDisk created.

HPSVSP_VirtualDisk REF

TheElement

CreateOrModifyElementFromStoragePools()

Method Overview

The CreateOrModifyElementFromStoragePools() is a vendor extension similar to
CreateOrModifyElementFromStoragePool(). This method allows multiple InPools during creation or
modification of an HPSVSP_VirtualDisk. The InPools and Sizes parameters are now indexed arrays
which must have the same number of elements when furnished by a client.

If the TheElement parameter is NULL, then this method serves as a Create operation, otherwise, this
method serves a ExpandVirtualDisk() operation.

This method does not allow the creation/modification of thinly provisioned virtual disks. Use
CreateOrModifyStoragePool() for thin provisioned virtual disks.

When modifying a virtual disk:

If the ElementName parameter is not NULL the operation is failed; name changes to VirtualDisks are
not allowed.

SAN Virtualization Services Platform SMI-S User Guide

85