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

DNSが原因でAutoSupport配信が失敗する- ONTAP 9以前のホストを解決できませんでした

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

環境

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

問題

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

  • support.jp.com NetApp
  • メールホストサーバ(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>

例:

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.

  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で電子メールホストを電子メールホスト名から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.