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

2ノードスイッチクラスタに移行する

共同作成者

既存の2ノードスイッチレスクラスタ環境を使用している場合は、Cisco Nexus 9336C-FX2スイッチを使用して2ノードスイッチクラスタ環境に移行できます。

クラスタネットワークポートにオンボードの10Gb BASE-T RJ45ポートが搭載されている場合は、移行プロセスは光ポートまたはTwinaxポートを使用するすべてのノードで機能しますが、このスイッチではサポートされません。

要件を確認

必要なもの
  • 2ノードスイッチレス構成の場合:

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

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

    • すべてのクラスタLIF(論理インターフェイス)の状態が* up *になっていて、ホームポートにあることを確認してください。

    • を参照してください "Hardware Universe" サポートされているすべてのONTAP バージョン。

  • Cisco Nexus 9336C-FX2スイッチの構成の場合:

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

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

    • Nexus 9336C-FX2ノード間スイッチおよびスイッチ間接続には、Twinaxケーブルまたはファイバケーブルを使用します。

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

  • スイッチ間リンク(ISL)ケーブルは、9336C-FX2スイッチのポート1/35および1/36に接続されています。

  • 9336C-FX2スイッチの初期カスタマイズは、次のように完了しています。

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

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

例について

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

  • 9336C-FX2 スイッチの名前は cs1 と cs2 です。

  • クラスタ SVM の名前は node1 と node2 になります。

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

  • 「 cluster1 :: * > 」プロンプトは、クラスタの名前を示します。

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

を参照してください "Hardware Universe" を参照してください。

スイッチを移行します

手順1:移行の準備

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

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

    x は、メンテナンス時間の長さ(時間単位)です。

    メモ AutoSupport メッセージはテクニカルサポートにこのメンテナンスタスクについて通知し、メンテナンス時間中はケースの自動作成が停止されます。
  2. 権限レベルを advanced に変更します。続行するかどうかを尋ねられたら、「 y 」と入力します。

    「 advanced 」の権限が必要です

    詳細プロンプト (`*>') が表示されます

手順2:ポートとケーブルを設定する

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

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

    例を示します

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

    cs1# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs1(config)# interface e1/1/1-4, e1/2/1-4, e1/3/1-4, e1/4/1-4, e1/5/1-4, e1/6/1-4, e1/7-34
    cs1(config-if-range)# shutdown
  2. 2つの9336C-FX2スイッチcs1とcs2間のISLでISLポートと物理ポートがポート1/35と1/36で動作していることを確認します。

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

    例を示します

    次の例は、スイッチ 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/35(P)   Eth1/36(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/35(P)   Eth1/36(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                Eth1/35        175    R S I s     N9K-C9336C    Eth1/35
    cs2                Eth1/36        175    R S I s     N9K-C9336C    Eth1/36
    
    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                Eth1/35        177    R S I s     N9K-C9336C    Eth1/35
    cs1                Eth1/36        177    R S I s     N9K-C9336C    Eth1/36
    
    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が表示されます true の場合 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 からケーブルを外し、 9336C-FX2 スイッチでサポートされている適切なケーブル接続を使用して、クラスタスイッチ cs1 のポート 1 に e0a を接続します。

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

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

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

    例を示します

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

    cs1# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs1(config)# interface e1/1/1-4, e1/2/1-4, e1/3/1-4, e1/4/1-4, e1/5/1-4, e1/6/1-4, e1/7-34
    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 からケーブルを外し、 9336C-FX2 スイッチでサポートされている適切なケーブル接続を使用して、クラスタスイッチ cs2 のポート 1 に e0b を接続します。

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

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

    例を示します

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

    cs2# config
    Enter configuration commands, one per line. End with CNTL/Z.
    cs2(config)# interface e1/1/1-4, e1/2/1-4, e1/3/1-4, e1/4/1-4, e1/5/1-4, e1/6/1-4, e1/7-34
    cs2(config-if-range)# no shutdown
  15. すべてのクラスタポートが動作していることを確認します。

    「 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.

手順3:構成を確認します

  1. すべてのインターフェイスに 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.
  2. 両方のノードのそれぞれで、各スイッチに 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                Eth1/35        175    R S I s     N9K-C9336C    Eth1/35
    cs2                Eth1/36        175    R S I s     N9K-C9336C    Eth1/36
    
    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                Eth1/35        175    R S I s     N9K-C9336C    Eth1/35
    cs1                Eth1/36        175    R S I s     N9K-C9336C    Eth1/36
    
    Total entries displayed: 4
  3. クラスタ内で検出されたネットワークデバイスに関する情報を表示します。

    「 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-C9336C
                e0b    cs2                       0/2               N9K-C9336C
    node1      /cdp
                e0a    cs1                       0/1               N9K-C9336C
                e0b    cs2                       0/1               N9K-C9336C
    
    4 entries were displayed.
  4. 設定が無効になっていることを確認します。

    network options switchless-cluster show

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

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

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

    「 cluster show 」を参照してください

    例を示します

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

    cluster1::*> cluster show
    
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  --------
    node1                true    true          false
    node2                true    true          false
  6. クラスタネットワークが完全に接続されていることを確認します。

    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)
  7. 権限レベルを admin に戻します。

    「特権管理者」

  8. ONTAP 9.8 以降の場合は、次のコマンドを使用して、イーサネットスイッチヘルスモニタのログ収集機能を有効にして、スイッチ関連のログファイルを収集します。

    'system switch ethernet log setup-password 'および'system switch ethernet log enable-colion

    例を示します
    cluster1::*> system switch ethernet log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system switch ethernet 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 switch ethernet 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 switch ethernet 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::*>
    メモ これらのコマンドのいずれかでエラーが返される場合は、ネットアップサポートにお問い合わせください。
  9. ONTAP リリース 9.5P16 、 9.6P12 、および 9.7P10 以降のパッチリリースでは、次のコマンドを使用して、スイッチ関連のログファイルを収集するためのイーサネットスイッチヘルスモニタログ収集機能を有効にします。

    '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::*>
    メモ これらのコマンドのいずれかでエラーが返される場合は、ネットアップサポートにお問い合わせください。
  10. ケースの自動作成を抑制した場合は、 AutoSupport メッセージを呼び出して作成を再度有効にします。

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