HP 3PAR OS 3.1.3 CLI Administrator's Manual

Using the -nocertprompt Option
To specify the certificate file use the -nocertprompt global option followed by the name of the
certificate file common name, see the following example.
$ cli -nocertprompt
Caching Client Bytecode
Client bytecode contains the majority of functionality of the HP 3PAR CLI and is version specific.
The CLI caches the code required for communication for each different version of the HP 3PAR OS
running on the system. The TPDCACHEDIR environment variable controls the location of the cache
directory used by the CLI to determine the version of the HP 3PAR OS running on the system.
The TPDCACHEDIR environment variable is set differently in Solaris, Linux, HP-UX, AIX, and
Windows.
Setting the TPDCACHEDIR Environment Variable on Solaris, Linux, HP-UX, AIX
To set the TPDCACHEDIR environment variable in Solaris, Linux, HP-UX, and AIX, see the following
system output example. Substitute the name of your cache directory for cache1 and use the correct
syntax for your shell.
$ TPDCACHEDIR=cache1
$ export TPDCACHEDIR
$ cli
Setting the TPDCACHEDIR Environment Variable on Windows
To set the TPDCAHCEDIR environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 47).
2. In the Environment Variable dialog box, enter TPDCACHEDIR in the Variable box.
3. Enter the cache directory name in the Value box.
4. Click OK.
Startup Files
Startup files can be used to load user-defined procedures and commands. Setting the TPDSTARTFILE
environment variable causes the CLI to use a specific startup file when starting the CLI.
The TPDSTARTFILE environment variable is set differently in Solaris, Linux, HP-UX, AIX and
Windows.
Setting the TPDSTARTFILE Environment Variable on Solaris, Linux, HP-UX, AIX
To set the TPDSTARTFILE environment variable in Solaris, Linux, HP-UX, and AIX see the following
system output example. Substitute the name of your startup file for <startfile1> and use the
correct syntax for your shell.
$ TPDSTARTFILE=<startfile1>
$ export TPDSTARTFILE
$ cli
Setting the TPDSTARTFILE Environment Variable on Windows
To set the TPDSTARTFILE environment variable in Windows:
54 Running the HP 3PAR Command Line Interface