3PAR InForm® OS 2.3.1 CLI Administrator's Manual (320-200180 Rev B, February 2010)

3.8
Global Options and Environment Variables
3PAR InForm CLI Administrator’s Manual InForm OS Version 2.3.1
3.2.3.2 Setting the TPDSOCKSSL Environment Variable On Windows
To set the TPDSOCKSSL environment variable in Windows:
1 On the taskbar, click the Start > Settings > Control Panel.
2 In Control Panel, double-click the System icon.
3 In the System Properties
dialog box, click the Advanced tab.
4 Click Environment Variables.
5 Enter
TPDSOCKSSL in the Variable box.
6 Enter
1 in the Value box.
7 Click OK.
3.2.3.3 Using the -sockssl Option
A secure CLI connection is also available for single instances of a command. On the command
line, enter
–sockssl following the command name. See the following output example:
3.2.4 Setting the CLI Client Network Port
The InForm CLI client attempts to communicate with the CLI server on the InServ TCP port
number 5783 for secure communications and port number 5782 for unsecure communications.
The default port used for data transfer is port
5782. If you wish to use another port for data
transfer, you can manually set the port that the CLI client will attempt to connect to as follows:
In the example above, replace
<port_number> with the port number you wish to use.
3.2.5 Setting the TPDSYSNAME Environment Variable
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.
$ createuser –sockssl
% cli -tpdportnum <port_number>