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

CLIを使用してclustered Data ONTAP でポートセットを使用および設定する方法

Views:
41
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8
Specialty:
san
Last Updated:

環境

  • ONTAP 9.x

説明

ポートセットを使用すると、マスクをigroupに適用して、SANクライアントが認識できるパスの総数を制限できます。これにより、SANトラフィックを最適化して輻輳を軽減できます。また、clustered Data ONTAP では、多数のノードがSANクライアントにALUAを使用した効率的な処理を実現するために利用可能なパスを多数提供できるため、便利です。

ホストをigroupに追加すると、ストレージシステム全体で使用可能なすべてのパスが表示されます。ポートセットをigroupにバインドすると、そのポートセット内のLIFへのパスだけがホストにアクセスできるようになります。(すべて のLIFはSendTargets応答でアドバタイズされますが、アドバタイズされるLIFの数を制限するには、選択的LUNマッピング(SLMの仕組み、ターゲットポータルへのiSCSIイニシエータアクセス制限する方法を検討してください。

警告:igroupは1つのポートセットにのみバインドできますが、LUNは複数のigroupにマッピングできます。クライアントのIQN(iSCSI)またはWWPN(FC)を許可するすべてのigroupに、適切なポートセットがバインドされていることを確認します。

重大: ポートセットに は間接パートナーパスが含まれている必要があります。 SAN クライアントでALUAを有効にする必要がありますフェイルオーバーを正常に実行するには、サポートされているバージョンNetApp MPIO / SANユーティリティがインストールされている必要があります。

次のシナリオは、ポートセットとその目的を定義するのに役立ちます。

  • 初期セットアップ時に、ESXiホスト「クライアント」のiSCSI IQNがCluster1のigroup1に追加され
    LUNがigroup1マッピングされます(次の表に、オブジェクトの階層と関係を示します)。
    Cluster1
        Igroup1
            SANclient_IQN
        SFO Aggregates
            VSM
                iSCSI_LIF (port bound)
                Volume
                    LUN (mapped to Igroup1)
        Node1
            CFO Aggregates
            Ports

     
  • SANclientで再スキャンがトリガー
    node1_iscsi_lif1 via SANclient port 1
    node1_iscsi_lif1 via SANclient port 2
    node1_iscsi_lif2 via SANclient port 1
    node1_iscsi_lif2 via SANclient port 2
    node2_iscsi_lif1 via SANclient port 1
    node2_iscsi_lif1 via SANclient port 2
    node2_iscsi_lif2 via SANclient port 1
    node2_iscsi_lif2 via SANclient port 2
    node3_iscsi_lif1 via SANclient port 1
    node3_iscsi_lif1 via SANclient port 2
    node3_iscsi_lif2 via SANclient port 1
    node3_iscsi_lif2 via SANclient port 2
    node4_iscsi_lif1 via SANclient port 1
    node4_iscsi_lif1 via SANclient port 2
    node4_iscsi_lif2 via SANclient port 1
    node4_iscsi_lif2 via SANclient port 2


    され、LUNへパスが16個表示されます。SANclientでは、ノード1とノード2のiSCSI LIFを使用してLUNへのパスを確認できますが、node3とnode4にあるLIFを使用して確認することもできます。LUNを含むボリュームがnode2にフェイルオーバーします。ノード1とノード2の両方が停止していると、ディスクシェルフへのパスがないためLUNにアクセスできません。

    ポートセットの作成について、ノード3とノード4からの接続を無効にするデモが表示されます。
    :ノード3とノード4との間では、特殊な状況でデータにアクセスするためにこれらの接続が必要になる場合があります。

    LUNが含まれているボリュームをnode1からnode3またはnode4に移動する計画はありません。ただし、node3およびnode4にあるiSCSI LIFは、ノード3およびnode4にあるLUNへのデータを別々のigroupにある他のSANクライアントに提供するために使用できる必要があります。
     
  • 適切なLIFのみを含むようにPortset1が作成され、igroup1にバインドされます
    (次のグラフはオブジェクトの階層と関係を示しています)。
    Cluster1
        Portset1
           node1_iscsi_lif1
           node1_iscsi_lif2
           node2_iscsi_lif1
           node2_iscsi_lif2
        Igroup1 (portset1 bound)
           SANclient_IQN

     
  • 再スキャンの完了後、SANclientにパスが8つ表示されるようになりました。
    node1_iscsi_lif1 via SANclient port 1
    node1_iscsi_lif1 via SANclient port 2
    node1_iscsi_lif2 via SANclient port 1
    node1_iscsi_lif2 via SANclient port 2
    node2_iscsi_lif1 via SANclient port 1
    node2_iscsi_lif1 via SANclient port 2
    node2_iscsi_lif2 via SANclient port 1
    node2_iscsi_lif2 via SANclient port 2

 

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.