HP 3PAR CIM API Programming Reference

GetReplicationRelationships
uint32 ReplicationService.GetReplicationRelationships(
[IN] uint16 Type,
[IN] uint16 SyncType,
[IN] uint16 Mode,
[IN] uint16 Locality,
[IN] uint16 CopyState,
[OUT] CIM_ConcreteJob REF Job,
[OUT] CIM_Synchronized REF Synchronizations[] );
Use to get all of the synchronization relationships known to the processing replication service.
Parameters are:
Type: The type of synchronization relationships, for example, StorageSynchronized or
GroupSynchronized. If this parameter is not supplied, all such relationships are retrieved.
SyncType: If this parameter is not supplied, all SyncTypes are retrieved.
Mode: If this parameter is not supplied, all Modes are retrieved.
Locality: Describes the desired locality. If this parameter is not supplied, all replication
relationships are retrieved, regardless of the locality of elements. Choices are: Local only --
Source and target elements are contained in the same system; and Remote only -- Source and
target elements are contained in two different systems.
CopyState: Only retrieve synchronization relationships that currently has this CopyState. If this
parameter is not supplied, relationships are retrieved regardless of their current CopyState.
Job: This will always be NULL.
Synchronizations[]: An array of elements found
SUMMARY OF REPLICATIONSERVICE METHODS
The following tables shows a summary of the supported ReplicationService methods and their
corresponding CLI commands:
Output
Job(s)?
Which Method to Use
(in ReplicationService class, unless
specified otherwise)
CLI CommandOperation
N for
CreateGroup
CreateGroup
CreateGroupReplicaFromElements First
creates vvsets for source and destination
createvvset <vvset>Create vvset
elements if not provided. Also creates a
clone or snapshot depending upon the
operation. See table entries below for the
applicable operation, and whether output
jobs are generated.
NRemoveGroupremovevvset <vvset>Remove vvset
NAddMemberscreatevvset -add <vvset> <vv>Add to vvset
NRemoveMembersremovevvset <vvset> <vv>Remove member
from vvset
NReplicaGroup.ModifyInstancesetvvsetModify vvset
YCreateElementReplicacreatevvcopy -p <par> <dest>Create clone
physical copy vv
Replication Services Profile 119