Chapter 17. Command-Line Interface(CLI)
545
Draft Document for Review March 28, 2011 12:24 pm
7914appCLI1208.fm
To define an e-mail recipient for an in-band or out-of-band managed storage subsystem,
specify the parameter -r followed by direct_sa or host_sa for out-of-band or in-band managed
systems, respectively. It is not necessary to use a parameter to specify a storage subsystem
here. Example 17-8 shows an e-mail recipient for all in-band managed storage subsystems.
Example 17-8 SMcli - E-mail recipient for a group of storage subsystems
amazon:~ # SMcli -a email:[email protected] -r host_sa
SMcli completed successfully.
amazon:~ #
To send alerts generated by any single subsystem that is defined in the configuration file of
Storage Manager, use the command shown in Example 17-9.
Example 17-9 SMcli - E-mail alert recipient for all subsystems
amazon:~ # SMcli -a email:[email protected] -r host_sa
SMcli completed successfully.
amazon:~ #
Global e-mail alert recipients are configured by omitting the target specification like -r host_sa
or a host name. Example 17-10 Shows a global e-mail recipient configuration.
Example 17-10 SMcli - configure global email recipient
amazon:~ # SMcli -a email:[email protected]
SMcli completed successfully.
amazon:~ #
17.6.3 Deleting e-mail alert recipients
To delete an e-mail alert recipient, use option -x and the same syntax that was used to add
the e-mail alert recipient. Example 17-11 shows the commands to remove e-mail recipients
from the configuration. The first command will show an example of a configured management
station system and all the following commands will remove the e-mail recipients that are
defined in this sample configuration beginning with a dedicated storage subsystem, followed
by in-band and out-of-band managed storage subsystems, and last but not least, the global
e-mail recipient.
Example 17-11 SMcli - Delete e-mail recipients
amazon:~ # SMcli -d -s
[MAIL SERVER]
nile.rivers.local [email protected]
[ALERT SETTINGS - DEVICE GROUPS]
All storage subsystems
[email protected]
All out-of-band storage subsystems
Summary of Contents for DS3500
Page 2: ......
Page 5: ...iii Draft Document for Review March 28 2011 12 24 pm 7914edno fm ...
Page 789: ......