HP 3PAR InForm OS 3.1.1 CLI Administrator's Manual
NOTE: Global options cannot be specified on the command line for commands issued from a
Tcl shell. Global options must be specified before starting a Tcl shell.
• You can use environment variables when configuring the CLI.
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 5 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 49).
TPDSOCKSSL–sockssl
The system name of the system you are accessing.
For additional information, see “Setting the
TPDSYSNAME–sys <system_name>
TPDSYSNAME Environment Variable on Solaris and
Linux” (page 50) or “Setting the TPDSYSNAME
Environment Variable on Windows” (page 50).
the encrypted password. This value should be
protected to avoid unwanted use. For additional
information, see “Creating Users” (page 22).
–––password <encrypw>
the password file the system references upon starting
the CLI. This value should be protected to avoid
TPDPWFILE–pwf <password_file>
unwanted use. For additional information, see
“Setting Your Name and Password” (page 50).
your user name. For additional information, see
“Setting Your Name and Password” (page 50).
–––user <user_name>
Specifying the -user 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.
the CLI client should attempt to connect to the storage
server on port 5782, without using SSL. This makes
NOTPDSOCKSSL-nosockssl
the connection insecure, and all data including
authentication data passes in the plain text packets.
This is not possible in Common Criteria mode
configurations, the connections will simply timeout.
the location of the cache directory where the code
that determines the version of the InForm OS software
TPDCACHEDIR––
on the system resides. For additional information,
see “Caching Client Bytecode” (page 51).
the Tcl script the system sources before entering the
command loop. For additional information, see
“Startup Files” (page 52).
TPDSTARTFILE––
that commands that use the table formatting routines
will print comma-separated output. For additional
TPDCSVTABLE– csvtable
information, see “Comma Separated Values”
(page 52).
that domains are listed. For additional information,
see “Listing Domains” (page 53).
TPDLISTDOM-listdom
Global Options and Environment Variables 47