DNSが原因でAutoSupport配信が失敗する- ONTAP 9以前のホストを解決できませんでした
環境
- AutoSupport
- ONTAP 9
- SMTP
- HTTP(s)
問題
ノードはDNSサーバに接続できず、次のいずれのホスト名も解決できませんでした。
- support.jp.com NetApp
- メールホストサーバ(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
::> vserver services name-service dns check -vserver <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
::> vserver name-service dns check -vserver netappfas01
Name Server
Vserver Name Server Status Status Details
------------- --------------- ------------ --------------------------
netappfas01 10.15.5.10 down Connection refused.
netappfas01 172.12.191.114 down Operation timed out.
2 entries were displayed.
- notifydログを確認します。
::> 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
原因
DNSサーバへの接続を妨げるさまざまな原因が考えられます。
- DNSへのルーティングが適切であることを確認します。
- ポートe0Mを使用する場合は、ポートがSP / BMCと同じサブネットに含まれていることを確認します。SP / BMCインターフェイスとe0Mインターフェイスを別 々 のサブネットに設定できますか。
- インタークラスタLIFからバグ952014の動作が原因でされる潜在的なトラフィック送信-ストレージシステムがアウトバウンドトラフィックにインタークラスタLIFを選択すると、AutoSupportトラフィックが中断される
管理LIFがファイアウォールでブロックされている
解決策
オプション1次の手順を実行してDNSサーバを確認します。
- DNSサーバへのルートがあるかどうかを確認します(ネットワークチームと協力してください)。
ネーム サーバのステータスを検証します。
::>vserver services name-service dns check -vserver vs1
Vserver Name Server Status Status Details
------- ----------- ------ -----------------------
vs1 10.0.0.50 up Response time (msec): 2
vs1 10.0.0.51 up Response time (msec): 2
- DNSサービスを編集して別のDNSサーバを追加する ホスト名解決のためのDNSの設定
オプション2ファイアウォールポリシーを確認する
- ファイアウォールで管理IP(クラスタ管理LIFとノード管理LIF)を許可または信頼する
- すべての使用可能なすべての使用可能なすべての使用可能な 許可するIPを決定するには、次の手順を実行します。
Cluster::> network interface show -role *mgmt*
Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
Cluster
Node1_mgmt1 up/up 10.61.64.38/24 Node1 e0M true
Node2_mgmt1 up/up 10.61.64.40/24 Node1 e0M true
cluster_mgmt up/up 10.61.64.42/24 Node1 e0e true
オプション3 AutoSupportの宛先をIPに変更(SMTP のみ)
オプション1が使用できない場合、または一時的な修正として、 ONTAPで電子メールホストを電子メールホスト名からIPアドレスに変更できます。
::> system node autosupport show
::> autosupport modify -node * -mail-hosts <ip address>
オプション4ホスト名を解決するホストエントリを作成する
次の手順を実行すると、名前解決を許可してDNSサーバへの接続をバイパスするホストエントリがONTAPに追加されます。
注意:これは一時的な修正です。ネットワークチームと協力して、ノードがDNSサーバと通信できない理由を特定する必要があります。
- ホストエントリを追加して、
'support.netapp.com'
を手動で216.240.21.18に解決します。
::> vserver services dns hosts create -vserver node1 -address 216.240.21.18 -hostname support.netapp.com
注: 同様のエントリを追加して、プロキシまたはメールホストのホスト名を手動で解決できます。
追加情報
- SMTPでAutoSupportが動作しない-エラーメッセージ:FTP: Weird server reply
- ホスト名解決に使用するDNSの設定
- dns checkコマンドを使用してネームサーバの問題を診断する方法
- AutoSupportの設定とネットワークの要件については、TR-4444およびONTAP 9のドキュメントを参照してください。
- 必要に応じて、次のコマンドを使用してDNSサーバを編集します。
vserver services name-service dns show - Display DNS configuration
vserver services name-service dns create - Create a new DNS table entry
vserver services name-service dns modify - Change a DNS table entry
vserver services name-service dns delete - Remove a DNS table entry
- 次のコマンドを使用して、必要に応じてDNSホストを編集します。
vserver services dns hosts create - Create a new host table entry
vserver services dns hosts delete - Remove a host table entry
vserver services dns hosts modify - Modify hostname or aliases
vserver services dns hosts show - Display IP address to hostname mappings