Skip to main content
NetApp Knowledge Base

What configuration changes are necessary when the SMTP server IP address is changed

Views:
64
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • AutoSupport (ASUP)
  • SMTP

Answer

When the SMTP server IP address is changed, the following configuration changes are necessary to ensure that email notifications and AutoSupport messages continue to function correctly:
  • Update the SMTP Server Configuration:
  1. Verify the current SMTP server configuration using the event config show command:
Example:
Cluster::> event config show
                           Mail From:  ontap913@mail.com
                         Mail Server:  10.122.88.108
                           Proxy URL:  -
                          Proxy User:  -
 Publish/Subscribe Messaging Enabled:  true
Note:
If the Mail Server is set to localhost, no changes are necessary.
  1. Update the SMTP server IP address using the event config modify command:
Cluster::> event config modify -mail-from <Mail Address> -mail-server <new-SMTP-IP>
  • Update AutoSupport Configuration:
  1. Verify the current AutoSupport configuration using the autosupport show command:
Example:
ontap913::> autosupport show -node ontap913-01 -fields mail-hosts
node        mail-hosts
----------- ----------
ontap913-01 10.122.88.108
Note:
If the mail-hosts is set to mailhost, no changes are necessary. 
  1. Update the SMTP server IP address using the autosupport modify command:
Cluster::> autosupport modify -node * -mail-hosts <new-SMTP-IP>

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.