メインコンテンツへスキップ

AutoSupportの配信がDNSの問題で失敗する - ONTAP 9以前でホスト名を解決できません

Views:
712
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
core
Last Updated:

環境

  • AutoSupport
  • ONTAP 9
  • SMTP
  • HTTP(s)

問題

ノードを DNS サーバに接続できず、次のホスト名を解決できませんでした。

  • Support.netapp.com
  • お使いのメールホスト サーバ(SMTP を使用している場合)
  • お使いのプロキシ サーバ(設定されている場合)

検証: (3オプション)

  1. コマンドを実行します  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.

  1. コマンド ラインからの接続のテスト

::> set advanced

::> system node autosupport check show-details -node node_name

::> vserver services name-service dns check -vserver <name>

Example_1:

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.

Example_2:

HTTPS PUT connectivity check failed for destination:
           https://support.netapp.com/put/AsupPut/. Error: Could
           not resolve host - 'support.netapp.com'
  Corrective Action: Use "dns check" command to check DNS connection

  1. 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 サーバへの接続を妨げるさまざまな原因が考えられます:

解決策

オプション 1:次の手順を実行して、DNS サーバーを確認します
  1. 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

  1. 別の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でEメール ホストをEメール ホスト名からIPアドレスに変更できます

  1. ::> system node autosupport show
  2. ::> autosupport modify -node * -mail-hosts <ip address>
オプション4:ホスト名を解決するホストエントリを作成します。

次の手順では、名前解決を許可してDNSサーバへの接続をバイパスするホスト エントリをONTAPに追加します。

注:これは一時的な修正です。ネットワーク チームと協力して、ノードが DNS サーバと通信できない原因を特定する必要があります。

  1. 'support.netapp.com' を 216.240.21.18 に手動で解決するホスト エントリを追加します。

::> vserver services dns hosts create -vserver node1 -address 216.240.21.18 -hostname support.netapp.com

注: 同様のエントリを追加して、プロキシ サーバまたはメールホストのホスト名を手動で解決できます        

追加情報

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

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.