HP 3PAR CIM API Programming Reference

Table 97 Parameter Matrix for CreateGroupReplica (continued)
will be created that
detach automatically
TPD_CreateGroupReplica
Due to the inadequacies of the SMI-S defined CreateGroupReplica in supporting vv set replication
and consistent volume list replication, a couple of proprietary methods are defined.
uint32 ReplicationService.TPD_CreateGroupReplica(
[IN] string RelationshipName,
[IN, Required] uint16 SyncType,
[IN] uint16 Mode,
[IN] SNIA_ReplicationGroup REF SourceGroup,
[IN] SNIA_ReplicationGroup REF TargetGroup,
[OUT] TargetElements
[OUT] CIM_ConcreteJob REF Jobs[],
[OUT] CIM_Synchronized REF Synchronizations[]);
Parameters are:
Jobs: a list of jobs as a result of physical copy of vv set
Synchronizations: a list of StorageSynchronized between each of the members of the source
and target vv set
TPD_CreateConsistentReplicaList
uint32 ReplicationService.TPD_CreateConsistentReplicaList(
[IN, Required] uint16 SyncType,
[IN] uint16 Mode,
[IN] TPD_StorageVolume REF SourceElements[],
[IN] string TargetNames[],
[IN, OUT] TPD_StorageVolume REF TargetElements[],
[IN] CIM_SettingData REF TargetSettingGoal,
[IN] WaitForCopyState
[OUT] CIM_ConcreteJob REF Jobs[],
[OUT] CIM_Synchronized REF Synchronizations[]);
SyncType
Mode
SourceElements: array of references to source volumes to replicate. Number of elements in
this array must be the same as that of TargetNames or TargetElements.
TargetNames: array of names, matched with SourceElements array, of the resulting target
snapshot volumes. Valid only for virtual copy. This and TargetElements cannot both be specified.
TargetElements: array of references to target volumes, matched with SourceElements. Valid
only for physical copy. This and TargetNames cannot both be specified
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).
Jobs: a list of jobs as a result of physical copy
Synchronizations: a list of StorageSynchronized between each of the source and target vv
pair in the list
This is a 3PAR-specific method which is equivalent to creategroupvvcopy and creategroupsv
commands, and allows for client to specify a list of volumes to copy instead of a single one (as is
the case with CreateElementReplica) or a replica group (as is the case with CreateGroupReplica).
Replication Services Profile 115