HP P9000 Tiered Storage Manager Software 7.2 CLI Reference Guide

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