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

Detailed Command Descriptions 76
Example: In this example, a volume is added to the MG011 migration group in the MegaTechXP12000-
Primary storage domain. The controller LDEV number for the added volume in the domain control
storage subsystem is 3:A6.
D:\>htsmcli AddVolumeToMigrationGroup --detail
storagedomainname="MegaTechXP12000-Primary" name="MG011"
controllerdevicenumber=3:A6
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=MG011
canMigrate=Yes
description=MigrationGroup011
List of 1 Volume elements:
An instance of Volume(1 of 1)
controllerDeviceNumber=3:A6
emulationType=OPEN-V
CVS=Yes
capacityInKB=10,240,320
raidLevel=RAID5(3D+1P)
diskType=Unknown
controllerArrayGroupName=E9980-1
arrayGroupName=1-9-1
volumeStatus=Used
volumeLockStatus=Unlocked
hostNames=
D:\>
4-3-6 RemoveVolumeFromMigrationGroup
The RemoveVolumeFromMigrationGroup command can be used to remove a specified volume from its
migration group. Use the LDEV number in the domain control storage subsystem (controller LDEV number) to
specify a volume.
Note that volumes cannot be removed from migration groups in the following statuses:
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.
NOTE: If information about a volume in the storage domain cannot be obtained because the volume in the
storage subsystem has been deleted using Device Manager, Unknown is output as the value of the output
items.
Command Syntax
htsmcli server-location RemoveVolumeFromMigrationGroup
{ -u | --username } user-name