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

Cisco Nexus 92300YCスイッチを使用して2ノードスイッチクラスタに移行する

共同作成者

既存の2ノードスイッチレスクラスタ環境を使用している場合は、Cisco Nexus 92300YCスイッチを使用して2ノードスイッチクラスタ環境に移行し、3ノード以上にクラスタを拡張できます。

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

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

メモ 移行が完了したあと、 92300YC クラスタスイッチのクラスタスイッチヘルスモニタ( CSHM )をサポートするために必要な構成ファイルのインストールが必要になる場合があります。を参照してください"クラスタスイッチヘルスモニタ(CSHM)のインストール"

要件を確認

必要なもの

2ノードスイッチレス構成の場合は、次の点を確認します。

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

  • ノードでONTAP 9.6以降が実行されている。

  • すべてのクラスタポートが「稼働」状態です。

  • すべてのクラスタ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. 権限レベルを advanced に変更します。続行するかどうかを尋ねられたら、「 y 」と入力します。

    「 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 で up になっていることを確認します。

    「ポートチャネルの概要」

    例を示します

    次の例は、スイッチ cs1 上の ISL ポートが up になっていることを示しています。

    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ポートがupになっていることを示しています。

    [+]

    (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. 隣接デバイスのリストを表示します。

    'How 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 」には true が、「 TStatus Admin/Oper 」には up/up と表示されるはずです

    例を示します
    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 に接続します。

    "Hardware Universe スイッチ _" ケーブル接続の詳細については、を参照してください。

  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 が up であり、運用可能であり、 Is Home に true と表示されていることを確認します。

    「 network interface show -vserver Cluster 」のように表示されます

    例を示します

    次の例では、すべての LIF がノード 1 とノード 2 で up になっていて、 Is Home の結果が true であることを示します。

    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 のすべてのクラスタポートが up になっていることを示しています。

    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. すべてのインターフェイスに Is Home に true が表示されていることを確認します。

    「 network interface show -vserver Cluster 」のように表示されます

    メモ この処理が完了するまでに数分かかることがあります。
    例を示します

    次の例では、すべての LIF がノード 1 とノード 2 で up になっていて、 Is Home の結果が true であることを示します。

    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 つの接続があることを確認します。

    'How 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 分間の有効期間が終了することを通知するアナウンスが表示されるまで待ちます。
    例を示します

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

    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. クラスタネットワークが完全に接続されていることを確認します。

    cluster ping-cluster -node node-name

    例を示します
    cluster1::> cluster ping-cluster -node node2
    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)
  8. ケースの自動作成を抑制した場合は、 AutoSupport メッセージを呼び出して作成を再度有効にします。

    「 system node AutoSupport invoke -node * -type all -message MAINT= end 」というメッセージが表示されます

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

    「特権管理者」

  10. ONTAP 9.4 以降の場合は、コマンドを使用して、クラスタスイッチヘルスモニタのログ収集機能を有効にしてスイッチ関連のログファイルを収集します。

    'system cluster-switch log setup-password ' および 'system cluster-switch log enable-collection

    例を示します
    cluster1::*> system cluster-switch log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system cluster-switch log setup-password
    
    Enter the switch name: cs1
    RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc
    Do you want to continue? {y|n}::[n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log setup-password
    
    Enter the switch name: cs2
    RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1
    Do you want to continue? {y|n}:: [n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system cluster-switch log enable-collection
    
    Do you want to enable cluster log collection for all nodes in the cluster?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster1::*>
    メモ これらのコマンドのいずれかでエラーが返される場合は、ネットアップサポートにお問い合わせください。