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

SP IPにSSH接続できません、エラー接続が拒否されました

Views:
4
Visibility:
Public
Votes:
0
Category:
aff-series
Specialty:
hw
Last Updated:

環境

  • AFF/FAS
  • ONTAP 9

問題

  • Service processorは構成されており、クラスター内のすべてのノードで起動してオンラインになっています。
  • Service processorにリモートでアクセスできません。
  • Serial ConsoleポートからSPにログインできます。

原因

特定のホストIPアドレスからのSSH接続要求を受け入れるように、すべてのノードのService Processorを設定しました。

解決策

  • 以下のコマンド出力をチェックして、特定の IP アドレスが割り当てられているかどうかを確認します:
::> system service-processor ssh show
 

例えば: ログイン Service Processor へのアクセスは、以下の管理ホストからのみ許可されていることがわかります。Service Processor のアクセスを指定された IP アドレスのみに制限します。

::> system service-processor ssh show
 Allowed Addresses: 192.168.1.XX, 172.16.XX.XX

上記から、ストレージ管理者が 2 つの管理ホストの IP アドレスを指定したことがわかります。以下の 2 つのホストマシンのみが、それぞれのネットワークから SP にアクセスできます。これを削除するには、以下の手順に従ってください:

  • 指定された IP アドレスをアクセス リストから削除し、すべての IP アドレスのデフォルトの SP アクセスを復元します。

::> system service-processor ssh remove-allowed-addresses -allowed-addresses 192.168.1.XX, 172.16.XX.XX

Warning: If all IP addresses are removed from the allowed address list, all IP addresses will be denied access. To restore the "allow all" default, use the "system service-processor ssh add-allowed-addresses -allowed-addresses 0.0.0.0/0, ::/0" command. Do you want to continue? {y|n}: 

Enter Y

  • IPを削除すると、どのホストマシンもService Processorとリモートで通信できなくなります。Service Processorにリモートでアクセスするには、デフォルトのアクセスを復元してください。
  • デフォルトのService Processorアクセスを復元します:

::> system service-processor ssh add-allowed-addresses -allowed-addresses 0.0.0.0/0, ::/0

::> system service-processor ssh show

Allowed Addresses: 0.0.0.0/0, ::/0

  • 上記の変更を行った後、顧客のネットワーク上のすべてのホストマシンは、SPのユーザー名とパスワードを使用してService Processorにリモートでアクセスできるようになります。

Please contact NetApp Technical Support or log into the NetApp Support Site to create a technical case. Reference this article for further assistance.

 

内部情報

NA

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.