HP P9000 Tiered Storage Manager Software 7.4.1-00 CLI Reference Guide (TB585-96029, April 2013)

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
When a task for which the zero data discard function is being executed is in the Act-
ive.ZeroDataDiscarding status
When a migration task for which the zero data discard function has not been specified is in
the Active.DataErasing status
Stopping
The tasks in this status can be stopped only if Yes is specified for the immediate parameter in
a migration task.
Note that processing for stopping a task is not performed the same time as the execution of this
command.
According to the immediate parameter specified by the user, a task will be stopped by one of the
following methods:
If there are volumes for which processing is being performed when a task stop request is issued,
the task will be stopped after the processing ends. This method is applied if No is specified for the
immediate parameter or when the immediate parameter is omitted.
A task is stopped immediately. If there are volumes for which processing is being performed when
a task stop request is issued, the processing will be interrupted. This method is applied if Yes is
specified for the immediate parameter.
In both methods, processing will not be performed for volumes for which the processing has not yet
been performed in the storage system when the task stop request is issued. The state of the volumes
for which the processing has not yet been performed is the same as the state before the stopping the
task.
You can use the GetTasks command to check the status of tasks.
A task in a storage domain whose refresh status is either Processing or Failure cannot be
stopped.
CAUTION:
During a migration in which a volume is re-created, if the processing stops in the middle, the migration
target volume might remain deleted. Check the output message, and then manually create the volume.
Syntax
htsmcli [ server-location] StopTask
CLI Reference Guide 145