メインコンテンツまでスキップ

「vserver cifs session show」にアイドル時間が長いセッションが表示されるのはなぜですか。

Views:
597
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

すべてのとおり  

環境

ONTAP 9

質問

vserver cifs session show アイドル時間が長いセッションが表示されるのはなぜですか。

回答

  • クライアントがipc$共有を持ち、同じセッションで1つ以上の共有を開いている場合、セッションはアイドルアウトしません。「cifs session show」は、各セッションの接続IDとセッションIDの両方を出力します。
    • CIFSクライアントがSVMへのTCP接続を設定すると、SVM側で特定の接続IDに対応します。
    • クライアントはセッションセットアップを実行して自身を認証し、セッションIDを持つ新しいセッションが作成されます。
    • クライアントは、同じ接続で別のセッションを設定することもできます。これは一般的な方法で、1つの接続の上に複数のCIFSセッションを統合する場合に使用されます。
    • クライアントは1つのセッションを使用して複数の共有を開くことができます。通常、これにはIPC$共有が含まれます。
    • ipc$共有が唯一開いている共有である場合は、セッションがアイドルであると仮定して15分後にタイムアウトします。

追加情報

ラボ例:
munich:::*>date;vserver cifs session show -node munich-01 -vserver cifstomo -fields node、connected-time、shares、idle-time
Node Date Time zone
-------- ---------------------- ----------------------
Munich-01 Mon Aug 15 18:55:30 2016日本
Munich-02 Mon Aug 15 18:55:30 2016日本
2件のエントリーが表示されました。
node vserver session-id connection-id shares connected-time idle-time
------ -------- ---------- -------------- -------- -------------- ----------
Munich-01 cifstomo 1 2742712655 2「26m 51s」「26m 32s」この

テストでは、IPC$と「test」で開かれた共有は、パケットトレースに見られるように異なるツリーIDに対応します。  ipc$共有と1つの追加共有が開いているため、このセッションはタイムアウトしません。
 
クライアントが共有「test」から切断されると、接続されている共有の数は1(IPC$)に減ります。
munich:::*> date;vserver cifs session show -node munich-01 -vserver cifstomo -fields node、connected-time、shares、idle-time
Node Date time zone
------ ---------------------- ----------------------
Munich-01 Mon Aug 15 18:59:23 2016日本
Munich-02 Mon Aug 15 18:59:23 2016日本
2件のエントリーが表示されました。
node vserver session-id connection-id shares connected-time idle-time
------ -------- ---------- -------------- -------- -------------- ----------
Munich-01 cifstomo 1 2742712655 1 "30m 45s" 3s

クライアントは、「net use」コマンドを使用して、開いている共有を確認できます。
C:\> net use
新しい接続は記憶されません。
ローカルリモートネットワークのステータス
---------------------------------------------------------------------------------
OK\\10.128.209.152\IPC$ Microsoft Windowsネットワーク
コマンドは正常に完了しました。

 
約15分後、クライアントが開いている共有は1つだけ(ipc$)

munich:::*>date;vserver cifs session show -node munich-01 -vserver cifstomo -fields node、connected-time、shares、idle-time
Node Date Time zone
------ ---------------------- ----------------------
Munich-01 Mon Aug 15 19:14:32 2016日本
Munich-02 Mon Aug 15 19:14:32 2016日本
2件のエントリーが表示されました。
There are no entries matching your query.

 

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.