Skip to main content

Set up AutoSupport

Contributors netapp-ahibbard netapp-thomi netapp-aoife netapp-barbe

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

Beginning 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 enabled on each node to send messages to technical support by using the HTTPS transport protocol.

You must use HTTPS with TLSv1.2 or secure SMTP for delivery of AutoSupport messages to provide the best security and to support all of the latest AutoSupport features.

Steps
  1. Ensure that AutoSupport is enabled:

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

    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.

  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 https.

    2. If you use a proxy, set -proxy-url to the URL of your proxy. This configuration supports communication with AutoSupport OnDemand and uploads of large files.

    Use SMTP

    Set -transport to smtp.

    This configuration does not support AutoSupport OnDemand or uploads of large files.

  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…​

      -to

      Up to five comma-separated individual email addresses or distribution lists in your internal support organization that will receive key AutoSupport messages

      -noteto

      Up 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-address

      Up 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 or you chose SMTP transport for messages to technical support, 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. Optionally, 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 messages

    Set -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 messages

    Set -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.

      cluster1::> system node autosupport invoke -type test -node node1
    2. Confirm that NetApp is receiving your AutoSupport messages:

      system node autosupport history show -node local

      The status of the latest outgoing AutoSupport message should eventually change to sent-successful for all appropriate protocol destinations.

    3. Optionally, onfirm 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.