HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)

If you omit this option, the tasks and volume tasks are not forcibly terminated.
NOTE:
Specifying --emergency option when Device Manager or the storage system is running normally
causes the task volume to remain reserved, creating an inconsistency between Tiered Storage Manager
management information and Device Manager or storage system information. After executing this
option, take one of the following actions:
When there is a target storage system
Refresh the storage system using Device Manager.
When there is no target storage system
Delete the storage system from Device Manager.
Parameters
Table 83 Parameters of the CancelTask command
DetailsParameter
Specify the task ID.
The task ID is displayed as an ID attribute when task information is output by
executing the GetTasks command or another command.
id
Output items
Nothing is output by this command.
Example and execution results
Command execution example:
In this example, the task whose ID is TK1ev677gu is cancelled.
htsmcli CancelTask id=TK1ev677gu
Execution results:
No information is output by this command.
StopTask
The StopTask command can be used to issue to the Tiered Storage Manager server a request to
stop a specified task that is in Standby status. This command also cancels migration volume reserve
placed by the migration task. The command can stop tasks in the following statuses:
Active
However, tasks in one of the following statuses cannot be stopped:
When a shredding task is in the Active.Executing status
Details of CLI commands154