autosupport manual configuration Netapp Cluster mode send autosupport

Netapp autosupport is feature to collect logs, performance data and proactive monitoring. How autosupport manual configuration and send from Netapp Cluster Mode. It is very easy method to configure autosupport which help us in many ways when we are running with issues / problems / troubleshooting. Netapp autosupport is an inbuilt feature for Netapp controllers.

Netapp autosupport few advantages – Autosupport Manual configuration

  • Autosupport send logs & performance data to Netapp support team
  • Autosupport messages will trigger automatically when any hardware fails
  • Real time log analysis 
  • Proactive monitoring
  • Delivers much better results then manual monitoring

How to see Netapp autosupport configuration

ArkCluster::> system node autosupport show -node ArkCluster-01 -to <EMAIL Address>
autosupport manual configuration check

Verifying autosupport configuration command Netapp Cluster Mode

As per the above screenshot it will show all the details, if given details does not match it will show error as below.

ArkCluster::> system node autosupport show -node ArkCluster-01 -to test@gmail.com
There are no entries matching your query.

As per the above command example, In place of -to filed we can also use below fields

-config -instance
 -nht-performance -recent
 -support-http -support-smtp
 -state -mail-hosts
 -from -to
 -noteto -partner-address
 -support -transport
 -url -put-url
 -proxy-url -support-address
 -hostname-subj -nht
 -perf -retry-interval
 -retry-count -reminder
 -last-subject -last-time
 -max-http-size -max-smtp-size
 -remove-private-data -validate-digital-certificate
 -ondemand-server-url -fields

If you want to see particular field details then you can also use below command which will provide only that particular filed details

ArkCluster::> system node autosupport show -node ArkCluster-01 -fields from
node from
------------- ----------
ArkCluster-01 Postmaster

ArkCluster::> system node autosupport show -node ArkCluster-01 -fields mail-hosts
node mail-hosts
------------- ----------
ArkCluster-01 mailhost

How to Modify/configure autosupport configuration

##Modify to fileds
ArkCluster::> system node autosupport modify -to aravikumar48@gmail.com,test@gmail.com

##Verify modified details
ArkCluster::> system node autosupport show -node ArkCluster-01 -fields to
node to
------------- -------------------------------------
ArkCluster-01 aravikumar48@gmail.com,test@gmail.com

To Modify / Add SMTP host address to send autosupport logs. When we add smtp address it will automatically verifies that smtp address is reachable

ArkCluster::> system node autosupport modify -mail-hosts smtp.gmail.com

Warning: SMTP connectivity check failed for destination: smtp.gmail.com. Error: Timeout was reached.
Do you want to continue? {y|n}: y

ArkCluster::> system node autosupport show -node ArkCluster-01 -fields mail-hosts
node mail-hosts
------------- --------------
ArkCluster-01 smtp.gmail.com

Enable / disable autosupport state

ArkCluster::> system node autosupport modify -state enable

ArkCluster::> system node autosupport modify -state disable

Following options we can configure using autosupport modifying 

  • node – To modify / Show in particular node strings
  • state  – To enable / disable autosupport
  • mail-hosts – To modify / show smtp address (basically Mail server)
  • from – From mail address we have to specify 
  • to – To addresses will be Netapp Administrator / Netapp Support Address
  • noteto  – Note is a kind of autosupport message which is short and sweat just only information related to problem will be sent as note
  • partner-address – Parameter to display information only about nodes that have the “partner-address” e-mail addresses you specify
  • support –  To enable / disable autosupport message to be send to vendor support team (if we disable this autosupport can’t be reach to Netapp team)
  • transport – In this option we specify how we sent an autosupport using http/https
  • url – URL of mysupport can be specified
  • put-url – As same like URL example support.netapp.com/put/AsupPut
  • proxy-url – If your environment is using proxy server to connect with internet then write proxy-url
  • support-address – Netapp support address (some cases if netapp support team mail address changed then edit and add support address)
  • hostname-subj – Use this parameter to display information only about nodes that include their hostname in the “Subject:” line of Auto- Support messages. If the parameter “remove-private-data” is false, this parameter has no effect.
  • nht – value “true” to display information only about nodes that send  NHT disk drive data
  • perf – Performance data enable / disable
  • retry-interval – Retry interval when autosupport is failed it will retry to send after specified interval
  • retry-count – Retry count how many times it should try 
  • reminder – REminder will be sent to adminsitrators when autosupport is disabled
  • last-subject – Which show last sent autosupport message has subject line
  • last-time – See the last sent message information by specifying date and time. Specify the date and time in the format “MM/DD/YYYY HH:MM:SS
  • max-http-size – Maximum file size via http
  • max-smtp-size – Maximum file size using smtp
  • remove-private-data – remove node name information while sending an autosupport message
  • validate-digital-certificate – verify digital certificate which is secured way to transfer data
  • ondemand-server-url – AutoSupport OnDemand Server URL

Check history of sent autosupport messages

ArkCluster::> system node autosupport history show
autosupport history

autosupport history

ArkCluster::> system node autosupport history show-upload-details
 Seq Percent Time
Node Num Destination Size Complete Rate Remaining
------------ ----- ----------- --------- ---------- ----------- ---------
ArkCluster-01
 6
 smtp - - - -
 http 23.33KB 100 11.66KBps 0s
 noteto - - - -

 

See the details of sent message size

Check enabled trigger details

ArkCluster::> system node autosupport trigger show
 AutoSupport Additional
Node Message To Note To Content
------------ ------------------------- --------- ------------- ---------------
ArkCluster-01
 aggr.offline enabled enabled -
ArkCluster-01
 aggr.restricted disabled enabled -
ArkCluster-01
 aggr.wafliron disabled enabled -
ArkCluster-01
 andu.pausederr enabled enabled -
ArkCluster-01
 bad.ram disabled disabled -

Above command output will show the details about what are the triggers enabled. We can also enable, disabled triggers using below command as example

ArkCluster::> system node autosupport trigger modify -node ArkCluster-01 -autosupport-message clus.vol.del.fail -to enabled

How to send autosupport message

Invoke an test autosupport message

ArkCluster::> system node autosupport invoke -type test -node ArkCluster-01 -message TestMessage
The AutoSupport was successfully invoked on node "ArkCluster-01". To view the status of the AutoSupport, use the "system node autosupport history show" command. Note: It may take several minutes for the AutoSupport to appear in the history list.

Invoke / Send performance data to vendor’s

ArkCluster::> system node autosupport invoke -type performance -node ArkCluster-01 -message Case#246580

Invoke / Send all the data including performance data

ArkCluster::> system node autosupport invoke -type all -node ArkCluster-01 -message Case#2457890

Send existing core system file

ArkCluster::> system node autosupport invoke-core-upload -core-filename <File Name>

Check Autosupport connection / configuration

ArkCluster::> system node autosupport check show

Displays the content of AutoSupport message

ArkCluster::> system node autosupport manifest show -node ArkCluster-01 -seq-num 6
 AutoSupport Collected
Node Sequence Body Filename Size Status Error
----------------- --------- -------------- ----------- --------- -----------
ArkCluster-01 6
 SYSCONFIG-A.txt 1.86KB completed
 SYSCONFIG-R.txt 1.75KB completed
 system-info.xml 6.31KB completed
 motherboard-info.xml
 11.04KB completed
 OPTIONS.txt 19.71KB completed
 software_image.xml 7.04KB completed
 CLUSTER-INFO.xml 4.60KB completed

This example shows how you can use parameters to limit output to specific fields of a specific AutoSupport message. This is helpful when troubleshooting.

To send Service processor logs use below autosupport command

ArkCluster::> system node autosupport invoke-splog -remote-node ArkCluster-01

That’s it about  autosupport manual configuration Netapp Cluster mode

Related Articles

Characterising Netapp workloads

df command Netapp

Netapp two node Cluster setup

SEO: autosupport manual configuration autosupport manual configuration autosupport manual configuration autosupport manual configuration autosupport manual configuration 

 

Thanks for your wonderful Support and Encouragement

Ravi Kumar Ankam

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

Leave a Reply

Your email address will not be published. Required fields are marked *