HP StorageWorks XP Tiered Storage Manager CLI Reference Guide (December 2005)

Detailed Command Descriptions 68
Table 4-33 Options of the CreateMigrationGroup Command
Option Name Option Arguments Optional or Required Description
-d or
--detail
None Optional Specify this to output information about the created migration
group to the standard output, after command execution. If this
is omitted, nothing is output to the standard output.
Table 4-34 Parameters of the CreateMigrationGroup Command
Parameter Name Optional or Required Description
storagedomainname Required Specify the name of the storage domain.
name Required Specify the name of the migration group to be created. This name
should be unique within the storage domain.
canmigrate Optional
Specify whether migration is possible.
Yes: Migration is possible (default).
No: Migration is not possible.
description Optional Specify a description of the migration group.
Table 4-35 Items Output by the CreateMigrationGroup Command
Type of Information Item Name Description Output by -d
Storage domain information name The name of the storage domain. -d
Migration group information name The name of the created migration group. -d
canMigrate Indicates whether migration is possible. -d
description A description of the migration group. -d
Legend: -d indicates output only when either the -d or the --detail option is specified.
Example: In this example, a migration group named MG01 is created in the MegaTechXP12000-
Primary storage domain.
D:\>htsmcli CreateMigrationGroup --detail storagedomainname="MegaTechXP12000-
Primary" name="MG01" description="MigrationGroup01"
Output:
RESPONSE:
An instance of StorageDomain(1 of 1)
name=MegaTechXP12000-Primary
List of 1 MigrationGroup elements:
An instance of MigrationGroup(1 of 1)
name=MG01
canMigrate=Yes
description=MigrationGroup01
D:\>
4-3-2 DeleteMigrationGroup
The DeleteMigrationGroup command can be used to delete a migration group. Migration groups are
deleted regardless of whether they contain any volumes.
Note that migration groups in the following statuses cannot be deleted:
Migration groups specified for migration tasks that have not ended (End)
Migration groups within the storage domains that are being refreshed
You can use the GetTasks command to check the statuses of migration tasks.