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

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 84 Parameters of the StopTask 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
Specify whether to immediately stop a migration task running in the storage system.
This can be either Yes or No.
Yes: The migration task will be stopped immediately.
#
No: If there are volumes for which migration processing is being performed,
the task will be stopped after the processing ends (default).
If Yes is specified for a task that is being stopped, the task stop request will be
accepted. However, if Yes is specified for a task that is being immediately stopped,
the task stop request will not be accepted.
[immediate]
Legend:
[ ]: Specifying this parameter is optional.
#
When a migration task being executed in a storage system is stopped, a stop request is issued
for each volume. Responding to a stop request for each volume might take time. Therefore, de-
pending on the number of volumes, the processing for stopping a task might require different
amounts of time to finish.
For example, if there are five volumes issuing a stop request, the time required to finish processing
for all the volumes takes five times as long to respond than a stop request for just one volume.
Output items
Nothing is output by this command.
Example and execution results
Command execution example:
In this example, the task whose task ID is TK1ev677gu is stopped.
Details of CLI commands156