HP 3PAR CIM API Programming Reference
The type of indication generated is TPD_ConcreteJobInstModification, sub-classed from
CIM_InstModification.
Job Control
Overview
Only the following tasks are supported:
• Create physical copy
• Resync physical copy
• Promote virtual copy
• Update snapshot space
TPD_ConcreteJob
This is a new class, and each instance of this class represents a task.
RequestStateChange() Method
This method can be used to cancel a task. The input parameter RequestedState can only be
set to Terminate(4), since the HP 3PAR OS task framework only supports task canceling.
uint32 RequestStateChange(
[In, REQ,
Values {"Start", "Suspend", "Terminate", "Kill", "Service"},
ValueMap {"2", "3", "4", "5", "6"}]
Uint16 RequestedState,
[In] dateTime TimeoutPeriod);
• RequestedState: Changes the state of a job.
Start: changes the state to running; not supported.◦
◦ Suspend: stops the job temporarily which can be resumed; not supported.
◦ Terminate: stops the job cleanly and orderly; this is the only supported value.
◦ Kill: terminate the job immediately; not supported.
◦ Service: puts the job into a service state; not supported.
• TimeoutPeriod: A timeout period that specifies the maximum amount of time that the client
expects the transition to the new state to take. This is not supported and must be NULL.
Table 59 Return Values for RequestStateChange() Operation
Explanation/NotesValuesValueMap
RequestedState not supported.Not supported1
Failed4
Invalid Parameter5
This is the normal successful return case,
as a task may not be terminated
immediately.
Method Parameters Checked -
Transition Started
4096
If TimeoutPeriod parameter is not NULL.Use of Timeout Parameter Not
Supported
4098
72 CIM API SMI-S Support