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, an unlocking task that unlocks volumes is created.
htsmcli CreateUnlockingTask storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011
Execution results:
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Unlocking
status=Standby
creationTime=2011/08/25 16:53:11
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
moveToMigrationGroupName=
notifyToURL=mailto:test@example.com
description=
List of 2 UnlockingInfo elements:
An instance of UnlockingInfo(1 of 2)
controllerDeviceNumber=3:A6
An instance of UnlockingInfo(2 of 2)
controllerDeviceNumber=3:A7
CreateShreddingTask
The CreateShreddingTask command can be used to create a shredding task that erases all data
from a migration group. Shredding is performed for a migration group.
If the migration group contains volumes that cannot be shredded (such as locked volumes), the task
only erases data from shreddable volumes. You can move the shredded volumes to another migration
group.
If any of the following conditions exists, you cannot create a shredding task:
When there is no volume that can be shredded in a migration group specified for the migration-
groupname parameter
The migration group specified for the movetomigrationgroupname parameter at the creation
of a task is specified for the migrationgroupname parameter in a task that has not ended (End)
When any of the conditions that prevent you from creating a task described in Creating and
executing tasks on page 106 is met
After volumes have been completely shredded, the data is gone and you can move the shredded
volumes to another migration group. This enables you to set aside volumes without any data to be
used again later.
Details of CLI commands118