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

Example and execution results
Command execution example:
In this example, a shredding task is created that shreds the volumes in the MG011 migration group
using the DoD standard method and moves the shredded volumes to the MG044 migration group.
htsmcli CreateShreddingTask storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011 shreddingmethod=DoD
movetomigrationgroupname=MG044
Are you sure you want to shred the data in the migration group "MG011"? (Y/N) :
Execution results:
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Shredding
status=Standby
timeEstimate=0:02:02
creationTime=2011/08/25 16:53:11
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
shreddingMethod=DoD
moveToMigrationGroupName=MG044
notifyToURL=
description=
List of 2 ShreddingInfo elements:
An instance of ShreddingInfo(1 of 2)
controllerDeviceNumber=3:A6
timeEstimate=0:01:01
An instance of ShreddingInfo(2 of 2)
controllerDeviceNumber=3:A7
timeEstimate=0:01:01
Commands for managing tasks
This section explains the CLI commands for managing tasks.
The CLI cannot manage tasks created by using the GUI.
GetTasks
The GetTasks command can be used to obtain information about the task specified by the id
parameter, or about tasks that match other specified parameters.
You can use the tasktype parameter to specify the type of target task. You can also specify a range
of tasks by using the status parameter, which indicates the task status.
Furthermore, you can use any dates linked to the task, such as the creation date or end date, to specify
a range of tasks, such as the following:
CLI Reference Guide 121