HP P9000 Tiered Storage Manager Software 7.4.1-00 CLI Reference Guide (TB585-96029, April 2013)

For more details on parameters and specifiable values for parameters, see Chapter 5 on page 53.
If details regarding the values that can be specified are not described in Chapter 5 on page 53, see
Types and length of characters that can be used for specifying parameters on page 186. This table
is useful when specifying values for command parameters, because it also explains whether values
are case sensitive and whether an empty character string can be specified.
CLI command return responses and output information
The CLI returns a return value after it has finished executing a process.
The following two types of CLI return values exist:
If the return value is 0 or a positive value, the CLI has terminated normally.
If the return value is a negative value, an error (such as a parameter error) was detected in
the CLI process.
When the CLI terminates normally, the processing results of the command are output to the standard
output. For examples of processing results, see the usage examples for each command. Note that
even when the CLI terminates normally, messages might be output to the standard error output. If any
errors are detected, error messages are output to the standard error output. Follow the error message
to help resolve the problem.
Checking the execution result of the task
Checking the execution results of tasks by simply examining the return values of the CLI commands is
usually not enough. To acquire the information about the executed tasks and check the results, use
the GetTasks command.
Displaying the CLI command Help
To display basic Help information, execute the CLI command with help specified with no arguments.
In Windows:
system-drive\TieredStorageManager\Tiered-Storage-Manager-version\CLI\htsmcli help
In Solaris, HP-UX, and Linux:
# ./htsmcli help
To display the details on the format for a command, such as GetVolumes or
CreateMigrationTask, after help, specify the name of the command.
In Windows:
system-drive\TieredStorageManager\Tiered-Storage-Manager-version\CLI\htsmcli help command-name
In Solaris, HP-UX, and Linux:
CLI Reference Guide 33