HP 3PAR CIM API Programming Reference (QL226-97722, March 2014)
• TargetSettingGoal: The definition for the StorageSetting to be maintained by the target storage
object (the replica). This is valid only for snapshot volumes (base ID, expiration timer, retention
timer).
◦ For snapshots only the following properties are applicable: BaseID, ExpirationTimer and
RetentionTimer.
◦ For clones only the following properties are applicable: ThinlyProvisioned, UserDSPName,
SnapDSPName
• TargetPool: The underlying storage for the target element (the replica) will be drawn from
TargetPool if specified, otherwise the allocation is implementation specific.
◦ For snapshots, this parameter if specified must be the DeltaReplicaStoragePool that is
associated with the source StorageVolume.
◦ For clones, this parameter if specified can be any DynamicStoragePool; if not specified,
the clone will be allocated from the same parent DynamicStoragePool as the source
volume
• WaitForCopyState: Before returning, the method shall wait until this CopyState is reached.
Table 95 Parameter Matrix for CreateElementReplica
Virtual copy (snapshot volume)Physical copyWhat to Create:
SnapshotCloneCloneSync Type:
Optional (default is SynchronousAsynchronousSynchronous (default)Mode:
Optional (if NULL, a name will
be auto-generated)
Optional (applicable only if
TargetElement is not supplied; if
Optional (applicable only if
TargetElement is not supplied; if
ElementName:
NULL, a name will be
auto-generated)
NULL, a name will be
auto-generated)
MandatoryMandatoryMandatorySourceElement:
NULLOptional (if NULL, the target
volume will be created)
Optional (if NULL, the target
volume will be created)
TargetElement:
OptionalOptionalOptionalTarget Setting
Pool
OptionalOptional (if NULL, clone will
have the same parent pool as
source volume)
Optional (if NULL, clone will
have the same parent pool as
source volume)
TargetPool
If non-NULL, then only
'Synchronized' is supported
Optional (onlyvalid option is
Inactive) – the clone will retain
association with the parent
Optional (only valid option is
Synchronized) – independent
clone will be created that
detaches automatically
WaitForCopyState:
NYYOutput Job?
CreateListReplica
uint32 ReplicationService.CreateListReplica(
[IN] string ElementNames[],
[IN, Required] uint16 SyncType,
[IN] uint16 Mode,
[IN, Required] CIM_LogicalElement REF SourceElements[],
[IN] CIM_ServiceAccessPoint REF SourceAccessPoint,
[IN, OUT] CIM_LogicalElement REF TargetElements[],
[IN] CIM_ServiceAccessPoint REF TargetAccessPoint,
[IN, EmbeddedInstance("CIM_ReplicationSettingData")]
110 CIM API SMI-S Support