HP StorageWorks P9000 Tiered Storage Manager Software 7.1 CLI Reference Guide (TB585-96011, May 2011)
Creating and executing tasks
The following are four different combinations of tasks that can be created via the CLI and commands
used to create tasks:
• Migration task (CreateMigrationTask command)
• Locking task (CreateLockingTask command)
• Unlocking task (CreateUnlockingTask command)
• Shredding task (CreateShreddingTask command)
This section contains information that is common to creating and executing tasks.
If any of the following conditions exists, you cannot create a task:
• When the refresh status of the storage domain is Processing or Failure
• When a refresh is required for the storage domain
• The migration group specified for the migrationgroupname parameter at the creation of a task
is specified for the migrationgroupname or movetomigrationgroupname parameter in a
task that has not ended (End)
Other than the above, depending on the type of task, there are conditions under which the task cannot
be created. For details, see the commands used to create the task.
A task ID is assigned to all created tasks.
When creating a task, Tiered Storage Manager software checks to make sure that the information on
the selected volumes matches and there are no irregularities between the volumes. As a result, if there
are a lot of volumes included in a migration group, it might take a while to create the task.
There are the following two methods for executing tasks:
• Executing a task as soon as it is created (--execute option)
• Using the ExecuteTask command to execute a task that is on standby.
If a task is not executed immediately after it is created, it is placed in the Standby status. To execute
tasks on standby, use the ExecuteTask command with the ID of the task on standby.
Tasks are executed by requests to the Tiered Storage Manager server. The actual operation on the
volume is performed asynchronously to the execution of the command.
Once a task has been created, none of the following operations can be performed:
• The storage domain cannot be modified.
• A migration group that operations will be performed on cannot be modified or deleted.
• The specified storage tier cannot be modified or deleted (for a migration task).
• The target migration group cannot be modified or deleted (for a locking, unlocking, or shredding
task).
When processing for the Tiered Storage Manager server to receive an execution request fails after
a task has been created, the error message KATS50213-E appears. In such a case, resolve the server
failure, and then use the ExecuteTask command to execute the task.
If a task has been executed and has not yet completed, a new task from the same migration group
cannot be created.
Details of CLI commands118