HP 3PAR InForm OS 3.1.1 CIM API (QL226-96591, July 2012)
CreateGroup
uint32 ReplicationService.CreateGroup(
[IN] string GroupName,
[IN] CIM_LogicalElement REF Members[],
[IN] boolean Persistent,
[IN] boolean DeleteOnEmptyElement,
[IN] boolean DeleteOnUnassociated,
[IN] CIM_ServiceAccessPoint REF ServiceAccessPoint,
[OUT] SNIA_ReplicationGroup REF ReplicationGroup );
Use to create a new replication group. Any required associations (such as HostedCollection) are
created in addition to the instance of the group. Creation of RemoteReplicationGroup is not
supported. Parameters are:
• GroupName: If nameable, represents a user-friendly name for the group being created. This
parameter is mandatory and represents the name of the vv set. This will also become the value
in ElementName property of the resulting ReplicationgGroup instance.
• Members[]: An array of strings containing object references to the volumes to add to the group
-- order is maintained. If NULL, the group will be empty. Duplicates members are not allowed.
• Persistent: If true, the group must persist across Provider reboots (group is not temporary). We
only support persistent group, so the method will return an error if this is set to false.
• DeleteOnEmptyElement: If true and empty groups are allowed, the group will be deleted when
the last element is removed from the group. This can only be false, as deletion of empty vv
set can only be done manually, so the method will return an error if this is set to true.
• DeleteOnUnassociated: If true, the group will be deleted when the group is no longer associated
with another group. This can only be false, as deletion of non-synchronized vv set can only
be done manually, so the method will return an error if this is set to true.
• ServiceAccessPoint: Reference to access point information to allow the service to create a
group on a remote system. If NULL, the group is created on the local system. Since we do not
support remote copy yet, this has to be NULL.
• ReplicationGroup: If the method completes successfully, then the ReplicationGroup is a reference
to the group that is created.
ReplicationGroup.ModifyInstance
Use ModifyInstance method on a ReplicationGroup instance to change its ElementName and/or
Description property, equivalent to changing the name and comment using the CLI command,
setvvset.
DeletionGroup
uint32 ReplicationService.DeleteGroup(
[IN, Required] SNIA_ReplicationGroup REF ReplicationGroup.
[IN] CIM_ServiceAccessPoint REF ServiceAccessPoint,
[IN] boolean RemoveElements );
Replication Services Profile 97