HP P2000 G3 MSA System CLI Reference Guide
15
1
Using the CLI
This chapter introduces the HP P2000 G3 MSA System command-line interface (CLI).
Accessing the CLI
The CLI software embedded in the controller modules enables you to manage and monitor storage-system
operation. You can access the CLI in two ways:
•
By using HTTP, HTTPS, Telnet, an SSH application, or a terminal emulator on a management host that is
remotely connected through a LAN to a controller module’s network port. See your product’s User
Guide for information about setting management port IP addresses using the CLI.
•
By using a terminal emulator on a management host that is directly connected to a controller module’s
serial CLI port.
NOTE:
Using HyperTerminal on a Microsoft Windows host with the CLI:
• On a host connected to a controller module’s mini-USB CLI port, incorrect command syntax in a
HyperTerminal session can cause the CLI to hang. To avoid this problem, use correct syntax, use
a different terminal emulator, or connect to the CLI using telnet rather than the mini-USB cable.
• Close the HyperTerminal session before shutting down the controller or restarting its
Management Controller; otherwise the host’s CPU cycles may rise unacceptably.
CLI output formats
The CLI has two output formats:
•
Console format, which is the human-to-computer interface (HCI).
•
XML API format, which is the computer-to-computer interface (CCI).
Console format enables users to interact with the CLI and obtain easily readable information. This format
automatically sizes fields according to content, adjusts content to window resizes, and displays some
information in localized form. These capabilities would present problems for a CCI in the form of scripts
or other client software.
XML API format enables any external application to interact with the storage system. The XML format is
constructed to permit new fields to be added without impacting existing clients if they follow standard XML
parsing conventions. The XML format also contains alternate fields for values which may be localized, such
as a state value. These values are guaranteed not to change with different languages and can be used for
scripting.
Scripting is not supported using console format because labels, field sizes, and order of fields may change
in future firmware releases. To properly script CLI commands use XML API format, which is expected to
remain consistent from release to release; field names will be consistent and new functionality will be
added as new fields. These types of changes in XML output will not impact a conventional XML parsing
engine.
You can change the CLI output format by using the
set cli-parameters
command; see
Example
on
page 143.
Table 2
Default usernames and passwords
Username Password Roles
monitor
!monitor
Monitor (view only)
manage
!manage
Monitor, Manage (view and change)
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...