HP P9000 Tiered Storage Manager Software 7.2 CLI Reference Guide

DetailsParameter
Specify the type of task. This can be any of the following:
Migration
Shredding
Locking
Unlocking
VolumeCreation (A specification value used to maintain compatibility with
older versions)
ExternalMapping (A specification value used to maintain compatibility with
older versions)
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 output items are the same as when a task is created:
Migration task: See Output items on page 108 of the CreateMigrationTask command.
Locking task: See Output items on page 112 of the CreateLockingTask command.
Unlocking task: See Output items on page 115 of the CreateUnlockingTask command.
Shredding task: See Output items on page 118 of the CreateShreddingTask command.
If the applied task does not exist within the specified task range, nothing is output.
Example and execution results
Command execution example:
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:
CONFIRMATION:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Migration
status=Cancel
timeEstimate=0:02:02
creationTime=2011/11/25 16:53:11
endTime=2011/12/02 16:53:45
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
previousTargetStorageTierName=
Details of CLI commands150