Chapter 1. About the Command Line Interface
Attention:
IBM recommends using the Storage Manager client GUI to manage your storage
subsystems.
– The command-line interface does not have any mechanisms to prevent you from
inadvertently making unwanted changes to the storage subsystem. Because the script commands are
capable of damaging a configuration and causing loss of data access if not used correctly, IBM
recommends using the Storage Manager client GUI to manage your storage subsystem configurations.
The command-line interface (CLI) is a software tool that lets storage subsystem installers, developers, and
engineers configure and monitor storage subsystems using script commands. Using the CLI, you can run
commands from an operating system prompt, such as the Windows command prompt, a Linux operating
system console, or a Solaris operating system console. You have to install the IBM DS Storage Manager
client in order to run the script commands either through the script window, which is invoked from the
IBM DS Storage Manager client Enterprise window, or through the command line interface using the
SMcli program. The script command engine is automatically installed as part of the IBM DS Storage
Manager client installation.
Each command performs a specific action for managing a storage subsystem or returning information
about the status of a storage subsystem. You can enter individual commands, or you can run script files
when you need to perform operations more than once. For example, you can run script files when you
want to install the same configuration on several storage subsystems. The CLI lets you load a script file
from a disk and run the script file. The CLI provides a way to run storage management commands on
more than one network storage subsystem. You can use the CLI both in installation sites and in
development environments.
How to Use the Command Line Interface
The commands that you run on the CLI provide access to the script engine, specify the storage subsystem
to receive the script commands, and set operation environment parameters.
A CLI command consists of these elements:
v
The term
SMcli
v
The storage subsystem identifier
v
Parameters
v
Script commands
A CLI command takes this form:
SMcli storageSubsystem parameters script-commands
;
v
SMcli
invokes the command line interface.
Note:
If you issue the command from the directory or folder that does not contain the SMcli.exe
program, you need to include the appropriate path:
directoryName/SMcli
.
v
storageSubsystem
is the name or the IP address of the storage subsystem.
v
parameters
are CLI parameters that define the environment and the purpose for the command.
v
script-commands
are one or more script commands or the name of a script file that contains script
commands. (The script commands are the storage subsystem configuration commands.)
© Copyright IBM Corp. 2008, 2012
1-1
Содержание System Storage DS3000
Страница 10: ...x IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 12: ...xii IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 46: ...2 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 382: ...3 336 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 476: ...7 16 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 504: ...9 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 512: ...10 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 530: ...11 18 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 590: ...12 60 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 594: ...13 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 596: ...14 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 598: ...A 2 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 599: ...Appendix A Examples of information returned by the show commands A 3...
Страница 600: ...A 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 601: ...Appendix A Examples of information returned by the show commands A 5...
Страница 602: ...A 6 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 603: ...Appendix A Examples of information returned by the show commands A 7...
Страница 604: ...A 8 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 605: ...Appendix A Examples of information returned by the show commands A 9...
Страница 606: ...A 10 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 607: ...Appendix A Examples of information returned by the show commands A 11...
Страница 608: ...A 12 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 609: ...Appendix A Examples of information returned by the show commands A 13...
Страница 610: ...A 14 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 611: ...Appendix A Examples of information returned by the show commands A 15...
Страница 623: ...Appendix A Examples of information returned by the show commands A 27...
Страница 624: ...A 28 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 625: ...Appendix A Examples of information returned by the show commands A 29...
Страница 626: ...A 30 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 627: ...Appendix A Examples of information returned by the show commands A 31...
Страница 628: ...A 32 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 632: ...B 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 648: ...F 4 IBM System Storage DS3000 DS4000 and DS5000 Command Line Interface and Script Commands Programming Guide...
Страница 651: ......
Страница 652: ...Part Number 00W1466 Printed in USA GA32 0961 05 1P P N 00W1466...