HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

Command View XP Command Line Interface (CLI) reference guide 11
1 Getting started
The Command View XP Command Line Interface (CLI) is a text-based interface used to manage and
retrieve information about XP disk arrays.
Use the CLI if you prefer a text-based interface to the graphical user interface (GUI) or when it is more
efficient to run scripts or batch files to manage your XP disk arrays.
Input can be in the form of single line entries or pre-written batch files. Batch files allow complex
commands to be executed quickly and with no input errors. It is an efficient method for automating
configuration changes and reports.
Output can be displayed on the screen or directed to files for later input into other applications for
analysis.
Once installed, the CLI is executed from the Command View management station or a supported host. The
CLI install file is contained on the Command View CD-ROM. It is also available through the Command
View GUI, under the Support tab.
This book describes the CLI commands used to manage the XP48, XP128, XP512, XP1024, XP10000,
and XP12000 disk array family. Many commands can be used with all XP disk array models, but some
commands apply only to particular models.
Each command is described using the following format:
Command name and brief description
Syntax needed to enable the command
Arguments needed (if any) to further specify the command
Example(s) to illustrate the command usage
NOTE: The XP256 is not supported with this version of Command View.
Installing the CLI
Requirements
The CLI can run on the Command View management station or on a host. The requirements are:
The same version of Command View must be installed on the Command View management station.
Be sure that JRE 1.4.2_06 (Windows) or JRE/RTE 1.4.2.08 (HP-UX) is installed on the client platform
(the system from which you run the CLI). Other operating systems or JRE versions are not supported.
The host must have network connectivity to the Command View management station.
The Command View CLI client can be installed and run on the following operating systems:
Windows 2000/2003/XP (32-bit) with JRE 1.4.2_06
HP-UX 11.00/11.11 with JRE 1.4.2.08
HPUX 11i v2 for PA-RISC and for IA64 (11.23PI) with JRE 1.4.2.08
HP-UX 11.23 (64-bit) with JRE 1.4.2.08
Installation
To download and install the Command View CLI client:
1. Download the cvcli.tar file by navigating to the Command View Support tab. Click Support >
Download Page > Command View Command Line Interface (CV CLI) Download Section > CV CLI Client.
2. Un-tar the file cvcli.tar to any location you want. For a Windows host, use WinZip 7.0 or later. For
a UNIX host, use the command tar xvf cvcli.tar.