Using The -Password Option; Setting A Password For Multiple Hp 3Par Storage Arrays; Caching Client Bytecode; Setting The Tpdcachedir Environment Variable On Solaris And Linux - HP 3PAR StoreServ 7200 2-node Administrator's Manual

Hp 3par command line interface administrator's manual: hp 3par os 3.1.2 (qr482-96525, september 2013)
Hide thumbs Also See for 3PAR StoreServ 7200 2-node:
Table of Contents

Advertisement

Use of the pwf option overrides the use of the TPDPWFILE environment variable.
CAUTION:
access.

Using the -password Option

You can also specify an encrypted password using the -password <encrypted_password>
global option. Use of this option overrides the use of the -pwf global option.
CAUTION:
access.

Setting a Password for Multiple HP 3PAR Storage Arrays

Use the createuser command to set the password. The following example displays the successful
creation of a new user user1 with the clear-text password 123456, with access to all service
pools, and with edit level authority:
$ createuser
User created
Next, use the setpassword -saveonly command to set the encrypted password on the client.
The following example shows how to set the user's (user1) password on the client:
$ setpassword
Finally, use the createuser -e command to enter the encrypted password.
$ createuser
User created

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 and Linux, and Windows.

Setting the TPDCACHEDIR Environment Variable on Solaris and Linux

To set the TPDCACHEDIR environment variable in Solaris and Linux, 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
variable in Windows as described in
The file containing the user's encrypted password must be protected from unwanted
The file containing the user's encrypted password must be protected from unwanted
c 123456 user1 testdomain edit
saveonly
file <insertfile> user1
e user1 testdomain edit
through
Step 4
of the procedure for setting the TPDSOCKSSL environment
"Using SSL" (page
44).
Global Options and Environment Variables
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents