IBM Midrange System DS4000 Series Hardware Manual page 497

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

Advertisement

Command-line
Description
parameter
-w
Specifies the storage subsystem, using its world-wide name (WWN), on which you want to perform
the script commands.
Note: The WWN is optional when a <hostname> is used or if the -n option is used to identify the
storage subsystem with its <storagearrayname>. Use this option
-x
Delete an SNMP trap destination or e-mail alert destination. To delete an SNMP trap destination,
enter:
-x trap:Community, HOST
Here COMMUNITY is the SNMP Community Name, and HOST is the IP address or the host name
of a station running an SNMP service.
To delete an e-mail alert destination, enter:
-x email:MAILADDRESS
Here MAILADDRESS is the fully qualified e-mail address to which the alert message will no longer
be sent.
-X
Use this parameter to delete a storage subsystem from a configuration.
-?
Displays usage information.
Basic interactive command-line execution examples are shown in Example 8-2. In the
example, the user runs the command show storagesubsystem time;
presses Ctrl-c to exit the interactive mode and return to the command line prompt, which is
the same for both UNIX and Windows.
Example 8-2 SMcli command in interactive mode
C:\temp>"C:\Program Files\IBM_DS\client\SMcli" 9.11.218.183 9.11.218.182 -p
xxxxxxxx
Executing script...
show storagesubsystem time;
Controller in Slot A
Date/Time: Tue Sep 15 11:38:35 GMT-07:00 2009
Controller in Slot B
Date/Time: Tue Sep 15 11:38:32 GMT-07:00 2009
^C
Script execution complete.
C:\temp>
The interactive command-line method can also be invoked using the -c option, which allows a
command to execute immediately. This method will execute the specified command and
return to the operating system command prompt:
SMcli <IP address of one controller> <IP address of second controller> -c
"<command>;"
instead
Chapter 8. Command-line interface and Script Editor
of the -n option.
Note that the user
.
479

Advertisement

Table of Contents
loading

Table of Contents