HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)
DetailsParameter
Specify the type of task. This can be any of the following:
• Migration
• Shredding
• Locking
• Unlocking
• VolumeCreation
• ExternalMapping
If the parameter is omitted, the command does not narrow down the task types.
tasktype
Output items
The DeleteTasks command can delete multiple types of tasks. Therefore, the output items depend
on the type of task.
The items output by the DeleteTasks command are same as the items output when a task is created
or task information is updated.
• Migration task: See “Output items” on page 110 of the CreateMigrationTask command.
• Locking task: See “Output items” on page 114 of the CreateLockingTask command.
• Unlocking task: See “Output items” on page 117 of the CreateUnlockingTask command.
• Shredding task: See “Output items” on page 120 of the CreateShreddingTask command.
• Volume creation task: See “Output items (volume creation task)” on page 150 of the ModifyTask
command.
• External connection settings task: See “Output items (external mapping task)” on page 150 of the
ModifyTask command.
If the applied task does not exist within the specified task range, nothing is output.
Example and execution results
• Command execution example (1):
In this example, the cancelled migration tasks from the MegaTechXP12000-Primary storage
domain are deleted.
htsmcli DeleteTasks storagedomainname="MegaTechXP12000-Primary"
status="Cancel" tasktype="Migration"
• Execution results (1):
CONFIRMATION:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Migration
status=Cancel
timeEstimate=0:02:02
creationTime=2011/08/25 16:53:11
CLI Reference Guide 159