Skip to main content

Setting up AutoSupport

You can control whether and how AutoSupport information is sent to technical support and your internal support organization, and then test that the configuration is correct.

About this task

In ONTAP 9.5 and later releases, you can enable AutoSupport and modify its configuration on all nodes of the cluster simultaneously. When a new node joins the cluster, the node inherits the AutoSupport cluster configuration automatically. You do not have to update the configuration on each node separately.

Note
Starting with ONTAP 9.5, the scope of the system node autosupport modify command is cluster-wide. The AutoSupport configuration is modified on all nodes in the cluster, even when the -node option is specified. The option is ignored, but it has been retained for CLI backward compatibility.

In ONTAP 9.4 and earlier releases, the scope of the "system node autosupport modify" command is specific to the node. The AutoSupport configuration should be modified on each node in your cluster.

By default, AutoSupport is disabled.

  1. Ensure that AutoSupport is disabled by using the following command:

    Example

    system node autosupport modify -support enable -state enable
  2. If you want technical support to receive AutoSupport messages, use the following command:

    Example

    system node autosupport modify -support enable

    You must enable this option if you want to enable AutoSupport to work with AutoSupport OnDemand or if you want to upload large files, such as core dump and performance archive files, to technical support or a specified URL.

    You must enable this option if you want to enable AutoSupport or if you want to upload large files, such as core dump and performance archive files, to technical support or a specified URL.

  3. If technical support is enabled to receive AutoSupport messages, specify which transport protocol to use for the messages.

    You can choose from the following options:

    If you want to...Then set the following parameters of the system node autosupport modify command...

    Use the default HTTPS protocol

    1. Set -transport to http-transport or https.

    2. If you use a proxy, set -proxy-url to the URL of your proxy.

    This configuration supports uploads of large files.

    Starting from February 2023, this option is no longer supported.

    Use HTTP that is preferred over SMTP

    1. Set -transport to http.

    2. If you use a proxy, set -proxy-url to the URL of your proxy.

    This configuration supports uploads of large files.

    Use SMTP

    Set -transport to smtp .

    This configuration does not support uploads of large files or sending AutoSupport messages to technical support.

  4. If you want your internal support organization or a support partner to receive AutoSupport messages, perform the following actions:
    1. Identify the recipients in your organization by setting the following parameters of the system node autosupport modify command:
      Set this parameter...To this...
      -toUp to five comma-separated individual email addresses or distribution lists in your internal support organization that will receive key AutoSupport messages
      -notetoUp to five comma-separated individual email addresses or distribution lists in your internal support organization that will receive a shortened version of key AutoSupport messages designed for cell phones and other mobile devices
      -partner-addressUp to five comma-separated individual email addresses or distribution lists in your support partner organization that will receive all AutoSupport messages
    2. Check that addresses are correctly configured by listing the destinations using the system node autosupport destinations show command.
  5. If you are sending messages to your internal support organization configure SMTP by setting the following parameters of the system node autosupport modify command:
    • Set -mail-hosts to one or more mail hosts, separated by commas.

      You can set a maximum of five.

      You can configure a port value for each mail host by specifying a colon and port number after the mail host name: for example, mymailhost.example.com:5678, where 5678 is the port for the mail host.

    • Set -from to the email address that sends the AutoSupport message.
  6. Configure DNS.
  7. Optional: Add command options if you want to change specific settings:
    If you want to do this...Then set the following parameters of the system node autosupport modify command...
    Hide private data by removing, masking, or encoding sensitive data in the messagesSet -remove-private-data to true .

    If you change from false to true , all AutoSupport history and all associated files are deleted.

    Stop sending performance data in periodic AutoSupport messagesSet -perf to false .
  8. Check the overall configuration by using the system node autosupport show command with the -node parameter.
  9. Verify the AutoSupport operation by using the system node autosupport check show command.

    If any problems are reported, use the system node autosupport check show-details command to view more information.
  10. Test that AutoSupport messages are being sent and received:
    1. Use the system node autosupport invoke command with the -type parameter set to test .

      Example

      cluster1::> system node autosupport invoke -type test -node node1
    2. Confirm that Lenovo and a support partner are receiving your AutoSupport messages:system node autosupport history -node local

      The status of the latest outgoing AutoSupport message should eventually change to sent-successful for all appropriate protocol destinations.
    3. Optional: Confirm that the AutoSupport message is being sent to your internal support organization or to your support partner by checking the email of any address that you configured for the -to, -noteto, or -partner-address parameters of the system node autosupport modify command.