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

Using the Tiered Storage Manager CLI 38
Table 3-7 Impact of CLI Commands on Repository Information
Category Command Name Repository Information
Displayed
Repository Information
Updated
Refresh No Yes
Storage tier management CreateStorageTier No Yes
DeleteStorageTier No Yes
GetStorageTiers Yes No
ModifyStorageTier No Yes
GetVolumes
(with storagetiername
specified)
Yes No
Migration group management CreateMigrationGroup No Yes
DeleteMigrationGroup No Yes
GetMigrationGroups Yes No
ModifyMigrationGroup No Yes
AddVolumeToMigrationGr
oup
No Yes
RemoveVolumeFromMigrat
ionGroup
No Yes
GetVolumes
(with migrationgroupname
specified)
Yes No
Migration CreateMigrationPlan Yes No
CreateMigrationTask No Yes
GetTasks Yes No
ModifyTask No Yes
ExecuteTask No Yes
CancelTask No Yes
DeleteTasks No Yes
3-4-4 CLI Return Responses
When a Tiered Storage Manager CLI process terminates, the process returns a value (to standard output) to
indicate whether the process terminated normally or whether an error condition was detected. The ranges of
the return values are shown in
Table 3-8. For detailed information about the messages returned for each
command, refer to the detailed command descriptions in
4 .
Table 3-8 CLI Return Values
Return Value Description
0 or a positive value CLI has terminated normally.
A negative value An error (such as a parameter error) was detected in the CLI process.
3-5 Starting the Tiered Storage Manager CLI
The CLI commands are provided as Java applications but can be run as batch files (script files) to facilitate
processing.
The batch file (script file) htsmcli used for starting CLI commands is stored in the following directory:
system- drive\TieredStorageManager\0110\CLI (Windows)
/opt/TieredStorageManager/0110/CLI (Solaris and HP-UX)