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

ハングしたrshまたはsshプロセスをクリアまたは強制終了する方法は何ですか。

Views:
687
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

 

環境

Data ONTAP 7-Mode

回答

RSH
ONTAP - 7-mode

Data ONTAP 7.3.1より前のバージョンでは、ハングしたrshプロセスをクリアするには、ストレージシステムをリブートするしかありません。
Data ONTAP 7.3.1以降では、ストレージ管理者は rshkill コマンドを使用できます。

 

例:

rshstat -a を使用して、アクティブなrshセッションを表示します。
   filer> rshstat -a
   Session Invocations:         0
   Current Active Sessions:     2
   Active High Sessions:        2
   Maximum Available Sessions:     24


次にrshkill コマンドを使用してプロセスをクリアします。

  filer> priv set advanced; rshkill 1; priv set
  rshkill: rsh session 1 was closed successfully.
  filer>

Session numbers range from 0 to 23

clustered ONTAP
のRSHはデフォルトで無効になっています。--- clustered ONTAP用に事前定義された管理ファイアウォールポリシーでRSHが無効になっています。

clustered Data ONTAP 8およびONTAP 9でrshを有効にするには、次のコマンドを実行します。

cluster::> set advanced; security protocol modify -application rsh -enabled tru

SSH
- SSH 関連の問題について は、NetAppテクニカルサポートにお問い合わせください。

 

追加情報

ここにテキストを追加します。

 

 

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.