Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

Cisco Nexus 92300YCスイッチを使用した2ノードスイッチクラスタへの移行

共同作成者 netapp-yvonneo netapp-jsnyder netapp-jolieg

既存の 2 ノードのスイッチレス クラスタ環境がある場合は、 Cisco Nexus 92300YC スイッチを使用して 2 ノードのスイッチド クラスタ環境に移行し、クラスタ内の 2 ノードを超えて拡張できるようになります。

使用する手順は、各コントローラに2つの専用クラスタネットワーク ポートがあるか、1つのクラスタ ポートがあるかによって異なります。記載されているプロセスは、光ポートまたは Twinax ポートを使用するすべてのノードで機能しますが、ノードがクラスター ネットワーク ポートにオンボード 10Gb BASE-T RJ45 ポートを使用している場合、このスイッチではサポートされません。

ほとんどのシステムでは、各コントローラに2つの専用クラスタネットワーク ポートが必要です。

メモ 移行が完了したら、92300YC クラスタ スイッチの Cluster Switch Health Monitor (CSHM) をサポートするために必要な構成ファイルをインストールする必要がある場合があります。見る"スイッチヘルスモニタリング(CSHM)"

要件の確認

開始する前に

以下のものがあることを確認してください。

2 ノードのスイッチレス構成の場合は、次の点を確認してください。

  • 2 ノードのスイッチレス構成が適切にセットアップされ、機能しています。

  • ノードはONTAP 9.6 以降を実行しています。

  • すべてのクラスター ポートは up 状態です。

  • すべてのクラスタ論理インターフェイス (LIF) は up 状態であり、ホーム ポート上にあります。

Cisco Nexus 92300YC スイッチ構成の場合:

  • 両方のスイッチには管理ネットワーク接続があります。

  • クラスター スイッチへのコンソール アクセスがあります。

  • Nexus 92300YC のノード間スイッチおよびスイッチ間接続には、Twinax ケーブルまたは光ファイバー ケーブルが使用されます。

    "Hardware Universe- スイッチ"ケーブル接続に関する詳細情報が記載されています。

  • スイッチ間リンク (ISL) ケーブルは、両方の 92300YC スイッチのポート 1/65 と 1/66 に接続されています。

  • 両方の 92300YC スイッチの初期カスタマイズが完了しました。次の状況を確認します。

    • 92300YCスイッチは最新バージョンのソフトウェアを実行しています

    • 参照構成ファイル (RCF) がスイッチに適用されます。SMTP、SNMP、SSH などのサイトのカスタマイズは新しいスイッチで構成されます。

スイッチを移行する

例について

この手順の例では、クラスタ スイッチとノードで次の命名法を使用しています。

  • 92300YC スイッチの名前は cs1 と cs2 です。

  • クラスター SVM の名前は node1 と node2 です。

  • LIF の名前は、ノード 1 ではそれぞれ node1_clus1 と node1_clus2、ノード 2 ではそれぞれ node2_clus1 と node2_clus2 です。

  • その `cluster1::*>`プロンプトはクラスターの名前を示します。

  • この手順で使用されるクラスター ポートは e0a と e0b です。

    "Hardware Universe"プラットフォームの実際のクラスター ポートに関する最新情報が含まれています。

ステップ1: 移行の準備

  1. 権限レベルを上級に変更するには、次のように入力します。 `y`続行するように求められたら:

    set -privilege advanced

    高度なプロンプト(*>)が表示されます。

  2. このクラスタでAutoSupportが有効になっている場合は、AutoSupportメッセージを呼び出してケースの自動作成を抑制します。

    system node autosupport invoke -node * -type all -message MAINT=xh

    ここで、x はメンテナンス ウィンドウの期間 (時間単位) です。

    メモ AutoSupportメッセージはテクニカル サポートにこのメンテナンス タスクについて通知し、メンテナンス時間中はケースの自動作成が停止されます。
    例を表示

    次のコマンドは、自動ケース作成を 2 時間抑制します。

    cluster1::*> system node autosupport invoke -node * -type all -message MAINT=2h

ステップ2: ケーブルとポートを構成する

  1. 新しいクラスタ スイッチcs1とcs2の両方で、すべてのノード側ポート(ISLポートではない)を無効にします。

    ISLポートを無効にしないでください。

    例を表示

    次の例は、スイッチcs1でノード側のポート1~64が無効になっていることを示しています。

    cs1# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs1(config)# interface e/1-64
    cs1(config-if-range)# shutdown
  2. 2 つの 92300YC スイッチ cs1 と cs2 間の ISL と ISL 上の物理ポートがポート 1/65 と 1/66 で起動していることを確認します。

    show port-channel summary

    例を表示

    次の例は、スイッチ cs1 で ISL ポートが起動していることを示しています。

    cs1# show port-channel summary
    
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            b - BFD Session Wait
            S - Switched    R - Routed
            U - Up (port-channel)
            p - Up in delay-lacp mode (member)
            M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/65(P)   Eth1/66(P)

    + 次の例は、スイッチ cs2 で ISL ポートがアップしていることを示しています。

    +

    (cs2)# show port-channel summary
    
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            b - BFD Session Wait
            S - Switched    R - Routed
            U - Up (port-channel)
            p - Up in delay-lacp mode (member)
            M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/65(P)   Eth1/66(P)
  3. 近隣デバイスのリストを表示します。

    show cdp neighbors

    このコマンドは、システムに接続されているデバイスに関する情報を提供します。

    例を表示

    次の例は、スイッチcs1上の隣接デバイスを示しています。

    cs1# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
    cs2(FDO220329V5)    Eth1/65        175    R S I s   N9K-C92300YC  Eth1/65
    cs2(FDO220329V5)    Eth1/66        175    R S I s   N9K-C92300YC  Eth1/66
    
    Total entries displayed: 2

    + 次の例では、スイッチ cs2 上の隣接デバイスを一覧表示します。

    +

    cs2# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
    cs1(FDO220329KU)    Eth1/65        177    R S I s   N9K-C92300YC  Eth1/65
    cs1(FDO220329KU)    Eth1/66        177    R S I s   N9K-C92300YC  Eth1/66
    
    Total entries displayed: 2
  4. すべてのクラスタ ポートが動作していることを確認します。

    network port show -ipspace Cluster

    各ポートは Link`そして健康的 `Health Status

    例を表示
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
    
                                                      Speed(Mbps) Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status
    --------- ------------ ---------------- ---- ---- ----------- --------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy
    
    Node: node2
    
                                                      Speed(Mbps) Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status
    --------- ------------ ---------------- ---- ---- ----------- --------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy
    
    4 entries were displayed.
  5. すべてのクラスタLIFが動作していることを確認します。

    network interface show -vserver Cluster

    各クラスタLIFは、 `Is Home`そして `Status Admin/Oper`アップ/アップの

    例を表示
    cluster1::*> network interface show -vserver Cluster
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- -----
    Cluster
                node1_clus1  up/up    169.254.209.69/16  node1         e0a     true
                node1_clus2  up/up    169.254.49.125/16  node1         e0b     true
                node2_clus1  up/up    169.254.47.194/16  node2         e0a     true
                node2_clus2  up/up    169.254.19.183/16  node2         e0b     true
    4 entries were displayed.
  6. すべてのクラスタLIFで自動リバートが有効になっていることを確認します。

    network interface show -vserver Cluster -fields auto-revert

    例を表示
    cluster1::*> network interface show -vserver Cluster -fields auto-revert
    
              Logical
    Vserver   Interface     Auto-revert
    --------- ------------- ------------
    Cluster
              node1_clus1   true
              node1_clus2   true
              node2_clus1   true
              node2_clus2   true
    
    4 entries were displayed.
  7. ノード1のクラスタ ポートe0aからケーブルを外し、92300YCスイッチでサポートされている適切なケーブル接続に従って、クラスタ スイッチcs1のポート1に接続します。

    その "ハードウェアユニバース - スイッチ"ケーブル接続に関する詳細情報が記載されています。

  8. ノード2のクラスタ ポートe0aからケーブルを外し、92300YCスイッチでサポートされている適切なケーブル接続に従って、クラスタ スイッチcs1のポート2に接続します。

  9. クラスタ スイッチcs1のすべてのノード側ポートを有効にします。

    例を表示

    次の例は、スイッチcs1でポート1/1~1/64が有効になっていることを示しています。

    cs1# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs1(config)# interface e1/1-64
    cs1(config-if-range)# no shutdown
  10. すべてのクラスタLIFが起動し、動作しており、trueと表示されていることを確認します。 Is Home :

    network interface show -vserver Cluster

    例を表示

    次の例は、ノード1とノード2のすべてのLIFが起動しており、 `Is Home`結果は真です:

    cluster1::*> network interface show -vserver Cluster
    
             Logical      Status     Network            Current     Current Is
    Vserver  Interface    Admin/Oper Address/Mask       Node        Port    Home
    -------- ------------ ---------- ------------------ ----------- ------- ----
    Cluster
             node1_clus1  up/up      169.254.209.69/16  node1       e0a     true
             node1_clus2  up/up      169.254.49.125/16  node1       e0b     true
             node2_clus1  up/up      169.254.47.194/16  node2       e0a     true
             node2_clus2  up/up      169.254.19.183/16  node2       e0b     true
    
    4 entries were displayed.
  11. クラスター内のノードのステータスに関する情報を表示します。

    cluster show

    例を表示

    次の例は、クラスタ内のノードの健全性と参加資格に関する情報を表示します。

    cluster1::*> cluster show
    
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  ------------
    node1                true    true          false
    node2                true    true          false
    
    2 entries were displayed.
  12. ノード1のクラスタ ポートe0bからケーブルを外し、92300YCスイッチでサポートされている適切なケーブル接続に従って、クラスタ スイッチcs2のポート1に接続します。

  13. ノード2のクラスタ ポートe0bからケーブルを外し、92300YCスイッチでサポートされている適切なケーブル接続に従って、クラスタ スイッチcs2のポート2に接続します。

  14. クラスタ スイッチcs2のすべてのノード側ポートを有効にします。

    例を表示

    次の例は、スイッチcs2でポート1/1~1/64が有効になっていることを示しています。

    cs2# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs2(config)# interface e1/1-64
    cs2(config-if-range)# no shutdown

ステップ3: 構成を確認する

  1. すべてのクラスタ ポートが動作していることを確認します。

    network port show -ipspace Cluster

    例を表示

    次の例は、ノード 1 とノード 2 のすべてのクラスター ポートが稼働していることを示しています。

    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    
    Node: node2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    
    4 entries were displayed.
  2. すべてのインターフェースがtrueと表示されていることを確認します Is Home:

    network interface show -vserver Cluster

    メモ 完了するまでに数分かかる場合があります。
    例を表示

    次の例は、ノード1とノード2のすべてのLIFが起動しており、 `Is Home`結果は真です:

    cluster1::*> network interface show -vserver Cluster
    
              Logical      Status     Network            Current    Current Is
    Vserver   Interface    Admin/Oper Address/Mask       Node       Port    Home
    --------- ------------ ---------- ------------------ ---------- ------- ----
    Cluster
              node1_clus1  up/up      169.254.209.69/16  node1      e0a     true
              node1_clus2  up/up      169.254.49.125/16  node1      e0b     true
              node2_clus1  up/up      169.254.47.194/16  node2      e0a     true
              node2_clus2  up/up      169.254.19.183/16  node2      e0b     true
    
    4 entries were displayed.
  3. 両方のノードが各スイッチにそれぞれ 1 つの接続を持っていることを確認します。

    show cdp neighbors

    例を表示

    次の例は、両方のスイッチの適切な結果を示しています。

    (cs1)# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
    node1               Eth1/1         133    H         FAS2980       e0a
    node2               Eth1/2         133    H         FAS2980       e0a
    cs2(FDO220329V5)    Eth1/65        175    R S I s   N9K-C92300YC  Eth1/65
    cs2(FDO220329V5)    Eth1/66        175    R S I s   N9K-C92300YC  Eth1/66
    
    Total entries displayed: 4
    
    
    (cs2)# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID          Local Intrfce  Hldtme Capability  Platform      Port ID
    node1               Eth1/1         133    H         FAS2980       e0b
    node2               Eth1/2         133    H         FAS2980       e0b
    cs1(FDO220329KU)
                        Eth1/65        175    R S I s   N9K-C92300YC  Eth1/65
    cs1(FDO220329KU)
                        Eth1/66        175    R S I s   N9K-C92300YC  Eth1/66
    
    Total entries displayed: 4
  4. クラスター内で検出されたネットワーク デバイスに関する情報を表示します。

    network device-discovery show -protocol cdp

    例を表示
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node2      /cdp
                e0a    cs1                       0/2               N9K-C92300YC
                e0b    cs2                       0/2               N9K-C92300YC
    node1      /cdp
                e0a    cs1                       0/1               N9K-C92300YC
                e0b    cs2                       0/1               N9K-C92300YC
    
    4 entries were displayed.
  5. 設定が無効になっていることを確認します。

    network options switchless-cluster show

    メモ コマンドが完了するまでに数分かかる場合があります。3分間の有効期間が終了することを通知するアナウンスが表示されるまで待ちます。
    例を表示

    次の例の false 出力は、構成設定が無効になっていることを示しています。

    cluster1::*> network options switchless-cluster show
    Enable Switchless Cluster: false
  6. クラスター内のノード メンバーのステータスを確認します。

    cluster show

    例を表示

    次の例は、クラスタ内のノードの正常性と適格性に関する情報を示します。

    cluster1::*> cluster show
    
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  --------
    node1                true    true          false
    node2                true    true          false
  7. リモート クラスタ インターフェイスの接続を確認します。

ONTAP 9.9.1以降

使用することができます `network interface check cluster-connectivity`クラスター接続のアクセシビリティ チェックを開始し、詳細を表示するコマンド:

network interface check cluster-connectivity start`そして `network interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start

注意: 実行する前に数秒待ってください `show`詳細を表示するコマンド。

cluster1::*> network interface check cluster-connectivity show
                                  Source           Destination      Packet
Node   Date                       LIF              LIF              Loss
------ -------------------------- ---------------- ---------------- -----------
node1
       3/5/2022 19:21:18 -06:00   node1_clus2      node2-clus1      none
       3/5/2022 19:21:20 -06:00   node1_clus2      node2_clus2      none
node2
       3/5/2022 19:21:18 -06:00   node2_clus2      node1_clus1      none
       3/5/2022 19:21:20 -06:00   node2_clus2      node1_clus2      none
ONTAPのすべてのリリース

すべてのONTAPリリースでは、 `cluster ping-cluster -node <name>`接続を確認するコマンド:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local

Host is node2
Getting addresses from network interface table...
Cluster node1_clus1 169.254.209.69 node1 e0a
Cluster node1_clus2 169.254.49.125 node1 e0b
Cluster node2_clus1 169.254.47.194 node2 e0a
Cluster node2_clus2 169.254.19.183 node2 e0b
Local = 169.254.47.194 169.254.19.183
Remote = 169.254.209.69 169.254.49.125
Cluster Vserver Id = 4294967293
Ping status:

Basic connectivity succeeds on 4 path(s)
Basic connectivity fails on 0 path(s)

Detected 9000 byte MTU on 4 path(s):
Local 169.254.47.194 to Remote 169.254.209.69
Local 169.254.47.194 to Remote 169.254.49.125
Local 169.254.19.183 to Remote 169.254.209.69
Local 169.254.19.183 to Remote 169.254.49.125
Larger than PMTU communication succeeds on 4 path(s)
RPC status:
2 paths up, 0 paths down (tcp check)
2 paths up, 0 paths down (udp check)
  1. 自動ケース作成を抑制した場合は、 AutoSupportメッセージを呼び出して再度有効にします。

    system node autosupport invoke -node * -type all -message MAINT=END

    例を表示
    cluster1::*> system node autosupport invoke -node * -type all -message MAINT=END
  2. 権限レベルを管理者に戻します。

    set -privilege admin