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

htsmcli CreateLockingTask storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011 guardmode=ReadOnly retentiondays=365
Are you sure you want to lock the migration group "MG011"? (Y/N) :
Execution results (1):
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Locking
status=Standby
creationTime=2011/08/25 16:53:11
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
retentionDays=365
retainedThrough=
guardMode=Read only
moveToMigrationGroupName=
notifyToURL=mailto:test@example.com
description=
List of 2 LockingInfo elements:
An instance of LockingInfo(1 of 2)
controllerDeviceNumber=3:A6
An instance of LockingInfo(2 of 2)
controllerDeviceNumber=3:A7
Command execution example (2):
In this example, a locking task that indefinitely locks volumes in read-only status is created.
htsmcli CreateLockingTask --force
storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011 guardmode=ReadOnly retentiondays=-1
Execution results (2):
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Locking
status=Standby
creationTime=2011/08/25 16:53:11
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
retentionDays=-1(Unlimited)
retainedThrough=
guardMode=Read only
moveToMigrationGroupName=
CLI Reference Guide 115