HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)
htsmcli CreateLockingTask --force storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011 guardmode=ReadOnly retentiondays=365
• Execution results (2):
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Locking
status=Standby
creationTime=2011/04/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 (3):
In this example, a locking task that locks volumes in read-only status indefinitely is created by
specifying the --force option.
htsmcli CreateLockingTask --force storagedomainname=MegaTechXP12000-Primary
migrationgroupname=MG011 guardmode=ReadOnly retentiondays=-1
• Execution results (3):
RESPONSE:
An instance of Task(1 of 1)
ID=TK1f2lymqv
taskType=Locking
status=Standby
creationTime=2011/04/25 16:53:11
endTime=
ownerID=user
storageDomainName=MegaTechXP12000-Primary
migrationGroupName=MG011
retentionDays=-1(Unlimited)
retainedThrough=
guardMode=Read only
moveToMigrationGroupName=
notifyToURL=mailto:test@example.com
CLI Reference Guide 127