HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)

Contents
Preface .............................................................................................. 15
1 Overview of the CLI .......................................................................... 17
List of the CLI commands ............................................................................................................ 17
Volume operations using the CLI ................................................................................................. 19
2 Preparations for executing the CLI ...................................................... 21
Setting up the CLI ..................................................................................................................... 21
Setting up the CLI in a Windows system ................................................................................ 21
Setting up the CLI in a Solaris, HP-UX, or Linux system ............................................................. 22
Uninstalling the CLI ................................................................................................................... 23
Uninstalling the CLI from a Windows system .......................................................................... 24
Uninstalling the CLI from a Solaris, HP-UX, or Linux system ....................................................... 24
Preparations after setup ............................................................................................................. 25
Setting up the htsmcli.properties file ...................................................................................... 25
Specifying HTSM_CLI_HOME .............................................................................................. 25
Encoding the password in the property file or password file ..................................................... 25
Environment settings for encoding a password ................................................................. 25
How to use the htsmaccount command ........................................................................... 26
Change the access permission for the CLI/logs folder ............................................................. 27
Setting up the Java execution environment ............................................................................. 27
Setting up SSL communication .............................................................................................. 28
Allocating memory ............................................................................................................. 28
Setting up the language type of the CLI to be run on the management client ............................. 29
3 Using CLI commands ........................................................................ 31
CLI commands and user permissions ........................................................................................... 31
Precautions for executing CLI commands ...................................................................................... 32
CLI command syntax ................................................................................................................. 33
Description of the CLI command elements .............................................................................. 33
server-location ............................................................................................................. 34
command-name ........................................................................................................... 34
options ....................................................................................................................... 34
parameters ................................................................................................................. 35
Options common to all CLI commands .................................................................................. 35
Command parameters ........................................................................................................ 36
CLI command return responses and output information ................................................................... 37
Displaying the CLI command Help .............................................................................................. 37
4 Filter conditions that can be used in the CLI ......................................... 39
Types of filter conditions ............................................................................................................ 39
Syntax of filter condition expressions ........................................................................................... 40
Format of string-literal ......................................................................................................... 41
CLI Reference Guide 3