Running The Hp 3Par Command Line Interface; Global Options And Environment Variables - 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

3 Running the HP 3PAR Command Line Interface

After the CLI is installed (as described in
and a user account is set up (as described in
(page
16)), a CLI connection requires the following information:
System name or IP address
User name
Password
You are prompted as follows when running the CLI:
system:
user:
password:
The example above displays the simplest way to connect to the CLI.
In addition to the method described above, you can also:
Use environment variables and global options to customize the CLI
Environment Variables" (page
Set up a secure connection using SSL
Issue stand-alone CLI commands from a shell prompt in Solaris or Linux, or from a Windows
command prompt
Use SSH to encrypt all traffic between the client and server, including passwords
(page
52)).

Global Options and Environment Variables

Global options are provided to help configure the CLI and control the operation of the system.
Environment variables are provided to customize the CLI. The global CLI options and environment
variables are listed in
You can use the global options with the CLI program and individual CLI commands.
When used with the CLI program, global options remain in effect until you exit the Tcl shell
(for information about the Tcl shell, see
example shows the sys option used with the CLI program for a system named betasystem1:
$ cli
When used with individual commands, global options are in effect only for that command.
The following example shows the pwf option used with the showsysmgr CLI command:
$ showsysmgr
Global options, when used, override environment variables.
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.
41)).
("Stand-alone Commands" (page
"Global CLI Options and Environment Variables" (page
sys betasystem1
pwf ~/my pwfile
"Installing the HP 3PAR Command Line Interface" (page
"Managing User Accounts and Connections"
("Using SSL" (page
52)).
"Stand-alone Commands" (page
Global Options and Environment Variables
("Global Options and
44)).
42).
52)). The following
12))
("SSH"
41

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents