AutoSupport 交付由于 DNS 而失败 - 无法解析 ONTAP 9 及更早版本中的主机
适用场景
- AutoSupport
- ONTAP 9
- SMTP
- HTTP
问题描述
节点无法连接到DNS服务器、并且无法解析以下任何主机名。
- Support.netapp.com
- 邮件主机服务器(如果使用SMTP)
- 代理服务器(如果已配置)
验证: (3个选项)
- 运行命令
Autosupport history show
::>system autosupport history show
::>system autosupport history show -node <node_name> -fields node,seq-num,status,error,destination
上次报告的错误:
Couldn't resolve host name.
- 通过命令行测试连接
::> set advanced
::> system node autosupport check show-details -node node_name
示例:
Category: smtp
Component: mail-server
Status: failed
Detail: SMTP connectivity check failed for destination:
mailhost. Error: Could not resolve host - 'mailhost'
Corrective Action: Check the hostname of the SMTP server
- 查看notiyd日志。
::> node run -node (node-name) -command rdfile /etc/log/mlog/notifyd.log
通知日志会显示以下错误:
Attempting to deliver ASUP using PUT)
0000001b.000723c6 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: getaddrinfo(3) failed for
support.netapp.com:443)
0000001b.000723c7 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: Couldn't resolve host
'support.netapp.com')
0000001b.000723c8 04233027 Fri Feb 27 2015 02:27:01 -05:00 [kern_notifyd:info:829] (category:
829:1528:deliver) (emittime: 2/27/2015 02:27:01) (message: Closing connection #0)
ERR: AutoSupport::StatusCheck:Connectivity check to HTTP PUT destination failed (Couldn't resolve host name) with root CA path: /mroot/etc/vserver_4294967295/certificates/ssl/serverCa