Setting up Call Home (SMTP) notifications using the DS CLI

Complete this task to set up the Call Home function to contact IBM support using e-mail when a problem occurs on your storage unit. The setsmtp command is used to set up the e-mail feature of the Call Home function.

Note: The Call Home function also has a modem call home feature. The DS CLI cannot be used to configure this feature. You must use the DS Storage Manager to configure the modem call home feature.
Consider the following requirements before you use the setsmtp command to set up e-mail notifications:
  • You must know your SMTP port and IP address, because these are required to activate the e-mail notifications. This information specifies where a message is sent in the event of a problem.
  • Your system must recognize all the required contact information before you can issue the setsmtp command. This includes the following information:
    • Company name
    • Ship state
    • Ship location
    • Ship country
    • Primary contact phone number
    • Primary e-mail address (required if you are using the call home e-mail notification feature).

Perform the following steps to activate the e-mail notification support option feature. The example commands that are displayed in this task are shown in two formats. The first format provides the type of information that the command requires. The second format provides the command with declared values for the variables.

  1. Issue the showplex command to obtain a report that provides your SMTP port and IP address. Enter the showplex command at the dscli command prompt with the following parameter:
    dscli>showplex storage_image_ID
    Example
    dscli>showplex IBM.1750-68FA120
  2. View the report and make a copy of it. The important thing is that you have a record of the SMTP and SNMP IP addresses and port numbers that are used in setting up the Call Home function.
  3. Issue the showcontactinfo command. This command displays a report that allows you to ensure that the required contact information, including the primary e-mal address, has been set in the system. Enter the showcontactinfo command at the dscli command prompt with the following parameter:
    dscli>showcontactinfo storage_image_ID
    Example
    dscli>showcontactinfo  IBM.1750-68FA120
  4. Review the report and ensure that all the required contact information has been set in the system, including the primary e-mail address. If any of the required information is missing, issue the setcontactinfo command before you proceed with this task.
  5. Issue the setsmtp command to specify where a message is sent in the event of a problem. Enter the setsmtp command at the dscli command prompt with the following parameters and variables:
    dscli>setsmtp -server smtp_server_IP:port_number -emailnotify [on, off]
    storage_image_ID
    Example
    dscli>setsmtp –server 9.11.242.12:25 -emailnotify on 
    IBM.1750-68FA120
  6. Press Enter. The following message is displayed if the process is successful:
    Date/Time: Sun Aug 11 02:23:49 PST 2004 DS CLI Version: 5.0.0.0 
    DS: IBM.1750-68FA120
    
    The SMTP settings were successfully modified
Related reference
setsmtp
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.