HP 3PAR CIM API Programming Reference (OS 3.1.2 MU2) (QL226-97015, June 2013)

Table 54 Return values for CreateReplica() Operation
Explanation/NotesValuesValueMap
Job Completed with No Error0
Failed4
For example: the wrong CopyType is
specified
Invalid Parameter5
STATE TRANSITIONS
Table 55 (page 69) shows the values for SyncState and WhenSynced during various stages of
the virtual copy creation.
Table 55 State Transitions for Virtual Copy Creation
WhenSyncedSyncStateOperation
NULLResyncInProgress (5)Copy in progress
Time when copy is completed.Idle (11)Copy complete
Previous sync time.Broken (12)Copy Failed
PROMOTION
CLI EQUIVALENCE
promotesv
SMI-S METHOD
Virtual copy promote can be done using the
TPD_StorageConfigurationService.ModifySynchronization() method with the
Operation parameter set to Restore (5).
The method execution, if successful, always returns 0x1000, which means that job has started.
STATE TRANSITIONS
Here are the values for SyncState and WhenSynced during various stages of promoting virtual
copy.
Table 56 State Transitions for Virtual Copy Promote
WhenSyncedSyncStateOperation
Previous sync timeRestoreInProgress (10)Promote in progress
Time of when copy is completedIdle (11)Promote complete
Previous sync timeBroken (12)Promote Failed
HALT SNAPSHOT PROMOTION
CLI EQUIVALENCE
promotesv -halt
SMI-S METHOD
Virtual copy promote can be halted via the Job Control method
TPD_ConcreteJob.RequestStateChange() method with the RequestedState parameter
set to Terminate(4).
STATE TRANSITIONS
Copy Services Subprofile 69