3PAR InForm® OS 2.2.4 CLI Administrator's Manual (320-200113 Rev A, March 2009)

3.9
Global Options and Environment Variables
InForm OS Version 2.2.4 3PAR InForm OS CLI Administrator’s Manual
3.2.5 Setting the System Name
By setting the system name, you are not prompted for your system name, user name, and
password when running the CLI, which can be useful for scripting.
You can specify the system name in the following three ways:
Set the TPDSYSNAME environment variable.
Use the –sys command line global option.
Enter the system name when prompted.
3.2.5.1 Setting the TPDSYSNAME Environment Variable On Solaris
X To set the environment variable in Sun Solaris, see the following system output example.
Substitute your system name for
<sysname> and use the correct syntax for your shell.
3.2.5.2 Setting the TPDSYSNAME Environment Variable On Windows
X To set the environment variable in Microsoft Windows for one instance of a Command
Prompt window, run
set TPDSYSNAME=<sysname>. Substitute <sysname> with the
name of your system. The environment variable remains in effect for that window until you
exit that window.
X To set the environment variable in Windows indefinitely and for all newly created
Command Prompt windows:
1 Perform step 1 through step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in 3.2.3 Using SSL on page 3.7.
2 In the Environment Variable dialog box, enter
TPDSYSNAME in the Variable box.
3 Enter your system name in the Value box.
4 Click OK.
$ TPDSYSNAME=<sysname>
$ export TPDSYSNAME
$ cli