EasyManuals Logo

IBM Midrange System DS4000 Series User Manual

IBM Midrange System DS4000 Series
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #498 background imageLoading...
Page #498 background image
480 IBM Midrange System Storage Hardware Guide
This executes the command that is found after the -c parameter. See Example 8-3 for more
details.
Example 8-3 Non-interactive commands
C:\temp>"C:\Program Files\IBM_DS\client\SMcli" 9.11.218.183 9.11.218.182 -p xxxx
xxxx -c "show storagesubsystem time;"
Performing syntax check...
Syntax check complete.
Executing script...
Controller in Slot A
Date/Time: Tue Sep 15 11:48:21 GMT-07:00 2009
Controller in Slot B
Date/Time: Tue Sep 15 11:48:17 GMT-07:00 2009
Script execution complete.
SMcli completed successfully.
C:\temp>
If the batch command-line interface method is used, a script file can also be specified. The
SMcli command will verify the file location and syntax of the commands. Each of the
commands will be executed one at a time. When the commands are all executed, the SMcli
command returns to the operating system command prompt. The command has the following
format:
SMcli <IP address of one controller> <IP address of second controller> -f <script
file name>
This executes the commands contained in the script file. If the script file is not in the SMclient
directory or the path to the SMclient in the system environment settings, the full path to the
script must be specified. See Example 8-4 on page 481, where the command show
StorageSubsystem time; show StorageSubsystem lunmappings; is embedded in the
pre-written script (script11.txt).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM Midrange System DS4000 Series and is the answer not in the manual?

IBM Midrange System DS4000 Series Specifications

General IconGeneral
BrandIBM
ModelMidrange System DS4000 Series
CategoryStorage
LanguageEnglish

Related product manuals