
Using the Tiered Storage Manager CLI 39
To start a CLI command on a Management client, specify the file as described below from the command line:
When the OS is Windows:
system-drive\TieredStorageManager\0110\CLI\htsmcli arguments
When the OS is Solaris or HP-UX:
# ./htsmcli arguments
CLI commands can be executed from a Management server. The batch file htsmcli on the Management
server is stored in the following directory:
HP-StorageWorks-XP-Tiered-Storage-Manager-Installation-directory\CLI
When CLI is run without any command line arguments specified, the CLI software version is displayed followed
by a message describing how to obtain CLI Help.
Tiered Storage Manager CLI 1.1.0-00
FOR HELP, TYPE: "htsmcli help [command]"
3-5-1 Using CLI Commands in a Batch (Script) File
Note the following when CLI commands are executed from a batch (script) file that a user created by writing
htsmcli in this file:
• To verify or check the execution results of the task:
Reference the status and refreshStatus values in the command’s output to check the execution
result of migration tasks or refresh processing. The htsmcli return value indicates the execution result of
htsmcli. Execution results of the tasks that were executed asynchronously with CLI commands cannot
be checked by just referencing the htsmcli return value.
3-6 Displaying CLI Help
To display the basic CLI help information, start CLI with help specified, and no arguments.
In Windows:
system-drive\TieredStorageManager\0110\CLI\htsmcli help
In Solaris and HP-UX:
# ./htsmcli help
When CLI starts, the CLI software version is displayed along with the help topics shown below.
Sample CLI help information
Tiered Storage Manager CLI 1.1.0-00
USAGE: htsmcli [server-location] command[ option]...[ parameter]...
SPECIFYING SERVER-LOCATION:
rmi://[host][:port]/HTSMServer
AVAILABLE COMMANDS:
CreateStorageDomain
DeleteStorageDomain
GetStorageDomains
ModifyStorageDomain
CreateStorageTier
DeleteStorageTier
.
Using the Tiered Storage
Manager CLI
Kommentare zu diesen Handbüchern