Command-Line Interface (Cli); Using Cli Commands - IBM Midrange System DS4000 Series Hardware Manual

Midrange system storage ds4000/ds5000 series
Hide thumbs Also See for Midrange System DS4000 Series:
Table of Contents

Advertisement

8.1 Command-line interface (CLI)

The Script Engine is built into the Storage Manager software and processes commands one
at a time. It is invoked through one of three different methods:
Interactive command-line interface
Batch command-line interface
Script Editor
Both the interactive and batch command-line interfaces use the SMcli command, which is
packaged with the SMclient GUI. The
storage subsystem and returns to a command prompt to await typed instructions. This
interface is useful for basic storage subsystem configuration, command testing, and
connectivity testing.
batch command-line interface
The
where scriptfile is simply a series of commands that can be executed. This simple feature
gives you the ability to create platform independent script files to execute on the DS5000
storage subsystem. The format of the commands that are put in this file are exactly as those
entered on the interactive command-line interface.
Script Editor
The
storage subsystem or test command syntax and execution. It is covered in more detail in 8.2,
"Script Editor" on page 499.
Any of these methods provide an efficient way to edit, send, and execute Storage Manager
commands on multiple network storage subsystems. The script engine makes it possible to
automate many tasks, such as backup procedures or firmware upgrades on the storage
subsystem.
The SMclient software must be installed on the station that will be used for command-line
instructions. Detailed instructions about the installation of the SMclient can be found in 4.7,
"Installing IBM System Storage DS Storage Manager" on page 152.

8.1.1 Using CLI commands

The basic syntax of a CLI command is:
command parameter;
The most important part of this syntax is the semicolon (;) at the end of the command. This
terminates the command and causes the script engine to process it. A typical command looks
like this:
show storagesubsystem;
Before a command can be executed, the user must connect SMcli to the storage subsystem.
Both the interactive and batch command-line interfaces can address the target storage
subsystem using a number of different identifiers, depending on the management method
used:
Directly managed (out-of-band): Use the
controllers. The format is as follows:
SMcli <IP address of one controller> <IP address of second controller>
474
IBM Midrange System Storage Hardware Guide
interactive command-line interface
uses the SMcli -f <scriptfile> form of the command,
is accessed from the GUI and provides a simple way to manage a single
host name
IP address
or
connects to a
of either or both

Advertisement

Table of Contents
loading

Table of Contents