HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)
• When there is no volume that can be locked 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 118 is met
A locked period can be reset if Tiered Storage Manager software is used to relock a volume for which
no locked period has been set because the volume was locked by a program other than Tiered Storage
Manager software, such as Remote Web Console.
Once a volume is locked, you can then move it to another migration group.
Syntax
htsmcli [ server-location] CreateLockingTask
[ common-option ]
[ { -f | --force } ]
[ { -e | --execute } ]
storagedomainname=storage-domain-name
migrationgroupname=migration-group-name
[ guardmode={ ReadOnly | Protect } ]
[ retentiondays=locked-period ]
[ movetomigrationgroupname=target-migration-group-name-after-locking ]
[ notifytourl=event-notification-address ]
[ description=task-description ]
Options
-f or --force
Specify this option to create a locking task without confirmation.
If this option is omitted, it will be necessary to confirm task creation.
-e or --execute
Specify this option to execute the created locking task immediately.
If this option is omitted, the locking task will be placed in Standby status.
Parameters
Table 48 Parameters of the CreateLockingTask command
DetailsParameter
Specify the name of the storage domain.
storagedomainname
Specify the name of the migration group.
migrationgroupname
Specify the locking method to be applied when the locking task is executed. You
can specify either of the following Data Retention Utility's guard attributes:
• ReadOnly: Protected from write operations (default)
• Protect: Protected from read and write operations
[guardmode]
Details of CLI commands124