3PAR CIM API Programming Reference for InForm OS 2.3.1 (320-200164 Rev B, February 2010)

5.75
Copy Services Subprofile
CIM API Programming Reference
Goal: The StorageSetting properties to be created or modified for the target
StorageVolume. 3PAR does not support changing the volume characteristics during
createvvcopy, so this can only be NULL. A Non-NULL value is ignored.
ReplicationPipe: The NetworkPipe element that scopes the remote mirror pair. This is
only for remote copy, which is not supported in Phase I, so this can only be NULL.
SMI-S also specifies that providers have to accept the
AttachReplica() method, which is
defined in an earlier version of the copy services subprofile, for backward compatibility.
AttachReplica is similar to AttachOrModifyReplica with the omission of the Goal and
ReplicationPipe parameters.
uint32 AttachReplica(
[Out] CIM_ConcreteJob ref Job,
[In, REQ] CIM_ManagedElement ref SourceElement,
[In, REQ] CIM_ManagedElement ref TargetElement,
[In, REQ,
Values {“Async”, “Sync”, “UnSyncAssoc”, “UnSyncUnAssoc”},
ValueMap {“2”, “3”, “4”, “5”}]
Uint16 CopyType);
Table 5-34. Return values for AttachOrModifyReplica()/AttachReplica()
ValueMap Values Explanation/Notes
0 Success
4 Failed For example: the source volume does
not have snapspace, target volume is
incompatible.
5 Invalid Parameter For example: the wrong CopyType is
specified.
6 In Use Target volume is already a physical
copy of another volume.
0x1000 Method parameters checked –
job started