HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

NOTE: Environment variables can only be used if the CLI is set up remotely. Environment variables
cannot be used if you are accessing the CLI through SSH.
Table 3 Global CLI Options and Environment Variables
Specifies...Environment VariableGlobal Option
that the connection between the client and server is secure.
This is the default setting. For additional information, see
“Using SSL” (page 44).
TPDSOCKSSLsockssl
the system name of the system you are accessing. For
additional information, see “Setting the TPDSYSNAME
Environment Variable” (page 45).
TPDSYSNAMEsys <system_name>
the encrypted password. This value should be protected for
security purposes. For additional information, see “Setting
Your Name and Password” (page 46).
––password <encrypw>
the password file the system references upon starting the
CLI. This value should be protected for security purposes.
TPDPWFILEpwf <password_file>
For additional information, see “Setting Your Name and
Password” (page 46).
your user name. For additional information, see “Setting
Your Name and Password” (page 46). Specifying the -user
––user <user_name>
option also requires specifying the -password option. These
options override the -pwf option.
CAUTION: By setting the system name, user name, and password using environment variables, you are not prompted
for this information when running the CLI, which can be useful for scripting. However, passwords must be kept secure.
Using encrypted passwords in scripts, using an encrypted pwfile, or the encrypted password on the command line
raises the risk of password exposure. It is imperative that the script, pwfile, or command line history file be strictly
maintained to avoid compromise of the encrypted password. Failure to do so can leave the user open to impersonation
by anyone with access to the encrypted string.
that the CLI client should attempt to connect to the storage
server on port 5782, without using SSL. This makes the
NOTPDSOCKSSL-nosockssl
connection insecure, and all data including authentication
data passes in plain text packets.
the location of the cache directory where the code that
determines the version of the HP 3PAR software on the
TPDCACHEDIR––
system resides. For additional information, see “Caching
Client Bytecode” (page 47).
the Tcl script that the system sources before entering the
command loop. For additional information, see “Startup
Files” (page 48).
TPDSTARTFILE––
that commands that use the table formatting routines will
print comma-separated output. For additional information,
see “Comma Separated Values” (page 48).
TPDCSVTABLE csvtable
that domains are listed. For additional information, see
“Listing Domains” (page 49).
TPDLISTDOM-listdom
that headers and totals are not printed after commands are
executed. For additional information, see “Table Headers
and Totals” (page 50)
TPDNOHDTOT-nohdtot
the number of lines after which the header is printed again.
For additional information, “Table Headers and Totals
(page 50).
TPDHAFTER-hafter
42 Running the HP 3PAR Command Line Interface