启动存储的autosupport功能,需要FAS存储的和邮件服务器联通;并且服务器需要一个不需密码验证的发送邮件的账号。
如果邮件服务器和FAS存储之间有防火墙,则打开TCP/25(SMTP)端口
1. 启动autosupport 守护进
options autosupport.enable on
2. 打开autosupport通知netapp技术支持
options autosupport.support.enable on
3. 指定autosupport发送形式
options autosupport.transport smtp
4. 指定autosupport使用的SMTP
options autosupport.mailhost smtp.cmbchina.com
5. 注明发送autosupport的filer
options autosupport.from
ntapfas_<filer_name>@cmbchina.com
6. 指定最多5个接收者
options autosupport.to <1@cmbchina.com,2@cmbchina.com>
7. 测试autosupport
options autosupport.doit test
配置实例参考:
auditlog.enable on
auditlog.max_file_size 10000000
auditlog.readonly_api.enable off
autologout.console.enable on
autologout.console.timeout 60
autologout.telnet.enable on
autologout.telnet.timeout 60
autosupport.cifs.verbose off
autosupport.content complete
autosupport.doit filesystem disk failed
autosupport.enable on
autosupport.from mc3040a_431@cmbchina.com
autosupport.local.nht_data.enable off
autosupport.local.performance_data.enable off
autosupport.mailhost 10.1.18.182
autosupport.minimal.subject.id hostname
autosupport.nht_data.enable on
autosupport.noteto
autosupport.partner.to
autosupport.performance_data.enable on
autosupport.retry.count 15
autosupport.retry.interval 4m
autosupport.support.enable on
autosupport.support.proxy
autosupport.support.to autosupport@netapp.com
autosupport.support.transport smtp
autosupport.support.url support.netapp.com/asupprod/post/1.0/postAsup
autosupport.throttle on
autosupport.to junjie.huang@netapp.com,conghao@cmbchina.com,qinlin@cmbchina.com
可查看autosupport绑定了哪些邮件地址:
xxxxxx> options autosupport.to
autosupport.to Shiming_Chen@163.com (value might be overwritten in takeover)
绑定邮件地址:
xxxxxx> autosupport.to Shiming_Chen@163.com
autosupport.to not found. Type ‘?’ for a list of commands
xxxxxx> options autosupport.to Shiming_Chen@163.com
成功后可在管理界面查看结果:NetApp OnCommand System Manager 3.1.2
设置Autosupport https://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-sag%2FGUID-DF931E89-B833-4DED-83B5-A97F7EC97425.html
Command man pages http://docs.netapp.com/ontap-9/index.jsp?topic=%2Fcom.netapp.doc.dot-cm-cmpr-970%2Fsystem__node__autosupport__destinations__show.html