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

古いCiscoスイッチからCisco Nexus 9336C-FX2クラスタスイッチへの移行

共同作成者

古いCiscoクラスタスイッチからCisco Nexus 9336C-FX2クラスタネットワークスイッチへの無停止での移行を実行できます。

要件を確認

次の点を確認します

  • Nexus 9336C-FX2スイッチの一部のポートは、10GbEまたは40GbEで動作するように設定されています。

  • ノードからNexus 9336C-FX2クラスタスイッチへの10GbEおよび40GbE接続については、計画、移行、文書化が完了しています。

  • クラスタは完全に機能しています(ログにエラーがないか、または同様の問題が発生していない必要があります)。

  • Cisco Nexus 9336C-FX2スイッチの初期カスタマイズは完了しています。これにより、次のことが可能になります。

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

    • リファレンス構成ファイル(RCF)がスイッチに適用されている場合。

    • DNS、NTP、SMTP、SNMPなどのサイトのカスタマイズSSHは新しいスイッチに設定します。

  • のスイッチ互換性の表を参照できるようにしておきます "Cisco イーサネットスイッチ" サポートされている ONTAP 、 NX-OS 、および RCF のバージョンに対応したページです。

  • Ciscoスイッチのアップグレードおよびダウングレード手順については、CiscoのWebサイトで入手可能な、適切なソフトウェアおよびアップグレードガイドを確認しておく必要があります "Cisco Nexus 9000 シリーズスイッチのサポート" ページ

メモ AFF A800またはAFF C800システムでクラスタポートe0aおよびe1aのポート速度を変更すると、速度変換後に不正な形式のパケットを受信することがあります。を参照してください "バグ1570339" およびナレッジベースの記事 "40GbEから100GbEへの変換後のT6ポートのCRCエラー" を参照してください。

スイッチを移行します

例について

この手順の例では、 2 つのノードを使用します。これらのノードは、 2 つの 10GbE クラスタインターコネクトポート e0a と e0b を使用します。を参照してください "Hardware Universe" をクリックして、プラットフォームのクラスタポートが正しいことを確認します。

メモ コマンド出力は、ONTAP のリリースによって異なる場合があります。

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

  • 既存の2つのCiscoスイッチの名前は、* cs1 cs2 *です

  • 新しいNexus 9336C-FX2クラスタスイッチは、* CS1-NEW および CS2-NEW *です。

  • ノード名は* node1 および node2 *です。

  • クラスタLIFの名前は、ノード1の場合は* node1_clus1 node1_clus2 、ノード2の場合は node2_clus1 node2_clus2 *です。

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

この手順 では、次の例を参照してください。

スイッチの初期セットアップ
このタスクについて

手順 では、ONTAP コマンドとの両方を使用する必要があります "Nexus 9000シリーズスイッチ" コマンド。特に指定がないかぎり、ONTAP コマンドが使用されます。

この手順では、次のシナリオについて説明します。

  • スイッチcs2をスイッチcs2-newに置き換えます。

    • クラスタノードのポートをシャットダウンします。クラスタが不安定にならないように、すべてのポートを同時にシャットダウンする必要があります。

    • 次に、ノードとcs2間のケーブルをcs2から切断し、cs2-newに再接続します。

  • スイッチcs1はスイッチcs1-newに置き換えられます。

    • クラスタノードのポートをシャットダウンします。クラスタが不安定にならないように、すべてのポートを同時にシャットダウンする必要があります。

    • 次に、ノードとcs1間のケーブルをcs1から切断し、cs1-newに再接続します。

メモ この手順 では、動作可能なInter-Switch Link(ISL;スイッチ間リンク)は必要ありません。RCFのバージョンを変更するとISL接続に一時的に影響する可能性があるため、これは設計上の変更です。クラスタのノンストップオペレーションを実現するために、次の手順 は、ターゲットスイッチでの手順の実行中に、すべてのクラスタLIFを動作しているパートナースイッチに移行します。

手順1:移行の準備

  1. このクラスタで AutoSupport が有効になっている場合は、 AutoSupport メッセージを呼び出してケースの自動作成を抑制します。「 system node AutoSupport invoke -node * -type all -message MAINT= xh

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

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

    「 advanced 」の権限が必要です

    advanced のプロンプト( * > )が表示されます。

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

  1. 新しいスイッチで、ISLがケーブル接続され、スイッチcs1 -新規とcs2 -新規で正常に動作していることを確認します。

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

    例を示します
    cs1-new# 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-new# 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)
  2. 既存のクラスタスイッチに接続されている各ノードのクラスタポートを表示します。

    「 network device-discovery show 」のように表示されます

    例を示します
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e0a    cs1                       Ethernet1/1        N5K-C5596UP
                e0b    cs2                       Ethernet1/2        N5K-C5596UP
    node2      /cdp
                e0a    cs1                       Ethernet1/1        N5K-C5596UP
                e0b    cs2                       Ethernet1/2        N5K-C5596UP
  3. 各クラスタポートの管理ステータスまたは動作ステータスを確認します。

    1. すべてのクラスタポートが正常な状態であることを確認します。

      「 network port show -ipspace cluster 」のように表示されます

      例を示します
      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
    2. すべてのクラスタインターフェイス(LIF)がそれぞれのホームポートにあることを確認します。

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

      例を示します
      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
    3. クラスタが両方のクラスタスイッチの情報を表示していることを確認します。

      system cluster-switch show -is-monitoring enabled-operational true を使用します

    例を示します
    cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    cs1                         cluster-network    10.233.205.92    N5K-C5596UP
          Serial Number: FOXXXXXXXGS
           Is Monitored: true
                 Reason: None
       Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                         9.3(4)
         Version Source: CDP
    
    cs2                         cluster-network     10.233.205.93   N5K-C5596UP
          Serial Number: FOXXXXXXXGD
           Is Monitored: true
                 Reason: None
       Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                         9.3(4)
         Version Source: CDP
  4. クラスタ LIF で自動リバートを無効にします。

    network interface modify -vserver Cluster -lif *-auto-revert false

    メモ 自動リバートを無効にすると、あとでスイッチポートがシャットダウンされた場合にのみ、ONTAPがクラスタLIFをフェイルオーバーします。
  5. クラスタスイッチcs2で、クラスタLIFをフェイルオーバーするために、*すべての*ノードのクラスタポートに接続されているポートをシャットダウンします。

    cs2(config)# interface eth1/1-1/2
    cs2(config-if-range)# shutdown
  6. クラスタスイッチcs1でホストされているポートにクラスタLIFがフェイルオーバーされたことを確認します。これには数秒かかることがあります。

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

    例を示します
    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.3.4/16     node1      e0a     true
                node1_clus2   up/up      169.254.3.5/16     node1      e0a     false
                node2_clus1   up/up      169.254.3.8/16     node2      e0a     true
                node2_clus2   up/up      169.254.3.9/16     node2      e0a     false
  7. クラスタが正常であることを確認します。

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

    例を示します
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  8. すべてのクラスタノード接続ケーブルを古いcs2スイッチから新しいcs2-newスイッチに移動します。

    クラスタノード接続ケーブルをcs2-newスイッチに移動

    クラスタノードの接続ケーブルをcs2-newスイッチに移動しました
  9. ネットワーク接続のヘルスがcs2に移動されたことを確認します。

    「 network port show -ipspace cluster 」のように表示されます

    例を示します
    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

    移動されたすべてのクラスタポートが稼働している必要があります。

  10. クラスタポートのネイバー情報を確認します。

    「 network device-discovery show -protocol cdp 」と入力します

    例を示します
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface      Platform
    ----------- ------ ------------------------- -------------  --------------
    node1      /cdp
                e0a    cs1                       Ethernet1/1    N5K-C5596UP
                e0b    cs2-new                   Ethernet1/1/1  N9K-C9336C-FX2
    
    node2      /cdp
                e0a    cs1                       Ethernet1/2    N5K-C5596UP
                e0b    cs2-new                   Ethernet1/1/2  N9K-C9336C-FX2

    移動したクラスタポートがcs2新しいスイッチをネイバーとして認識していることを確認します。

  11. スイッチcs2-newから見たスイッチポート接続を確認します。

    cs2-new# show interface brief
    cs2-new# show cdp neighbors
  12. クラスタスイッチcs1で、クラスタLIFをフェイルオーバーするために、*すべての*ノードのクラスタポートに接続されているポートをシャットダウンします。

    cs1(config)# interface eth1/1-1/2
    cs1(config-if-range)# shutdown

    すべてのクラスタLIFがcs2-newスイッチにフェイルオーバーされます。

  13. スイッチcs2-newでホストされているポートにクラスタLIFがフェイルオーバーしたことを確認します。この処理には数秒かかることがあります。

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

    例を示します
    cluster1::*> network interface show -vserver Cluster
                Logical      Status     Network            Current     Current Is
    Vserver     Interfac     Admin/Oper Address/Mask       Node        Port    Home
    ----------- ------------ ---------- ------------------ ----------- ------- ----
    Cluster
                node1_clus1  up/up      169.254.3.4/16     node1       e0b     false
                node1_clus2  up/up      169.254.3.5/16     node1       e0b     true
                node2_clus1  up/up      169.254.3.8/16     node2       e0b     false
                node2_clus2  up/up      169.254.3.9/16     node2       e0b     true
  14. クラスタが正常であることを確認します。

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

    例を示します
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  15. クラスタノード接続ケーブルをcs1から新しいcs1-newスイッチに移動します。

    クラスタノード接続ケーブルをcs1-newスイッチに移動

    クラスタノードの接続ケーブルをcs1-newスイッチに移動しました
  16. ネットワーク接続のヘルスがcs1に移動されていることを確認します。NEW:

    「 network port show -ipspace cluster 」のように表示されます

    例を示します
    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

    移動されたすべてのクラスタポートが稼働している必要があります。

  17. クラスタポートのネイバー情報を確認します。

    「 network device-discovery show 」のように表示されます

    例を示します
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface       Platform
    ----------- ------ ------------------------- --------------  --------------
    node1      /cdp
                e0a    cs1-new                   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2-new                   Ethernet1/1/2   N9K-C9336C-FX2
    
    node2      /cdp
                e0a    cs1-new                   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2-new                   Ethernet1/1/2   N9K-C9336C-FX2

    移動したクラスタポートがcs1新しいスイッチをネイバーとして認識していることを確認します。

  18. スイッチcs1-newから見たスイッチポート接続を確認します。

    cs1-new# show interface brief
    cs1-new# show cdp neighbors
  19. cs1 -新規とcs2 -新規の間のISLがまだ動作していることを確認します。

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

    例を示します
    cs1-new# 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-new# 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:構成を確認します

  1. クラスタ LIF で自動リバートを有効にします。

    network interface modify -vserver Cluster -lif *-auto-revert trueを指定します

  2. クラスタLIFがホームポートにリバートされたことを確認します(数分かかる場合があります)。

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

    クラスタLIFがホームポートにリバートされていない場合は、手動でリバートします。

    network interface revert -vserver Cluster -lif *

  3. クラスタが正常であることを確認します。

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

  4. リモートクラスタインターフェイスの接続を確認します。

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 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.19.183 to Remote 169.254.209.69
    Local 169.254.19.183 to Remote 169.254.49.125
    Local 169.254.47.194 to Remote 169.254.209.69
    Local 169.254.47.194 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. スイッチに関連するログファイルを収集するために、イーサネットスイッチヘルスモニタログ収集機能をイネーブルにします。

ONTAP 9.8 以降

次の2つのコマンドを使用して'スイッチ関連のログ・ファイルを収集するためのEthernetスイッチのヘルス・モニタ・ログ収集機能を有効にしますsystem switch ethernet log setup-passwordと'system switch ethernet log enable-colion

注: admin *ユーザのスイッチパスワードが必要です。

「 system switch ethernet log setup -password 」と入力します

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-new
cs2-new

cluster1::*> system switch ethernet log setup-password

Enter the switch name: cs1-new
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: <password of switch's admin user>
Enter the password again: <password of switch's admin user>

cluster1::*> system switch ethernet log setup-password

Enter the switch name: cs2-new
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: <password of switch's admin user>
Enter the password again: <password of switch's admin user>

次に 'system switch ethernet log enable-colion' を実行します

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::*>

*注:*これらのコマンドのいずれかがエラーを返した場合は、ネットアップサポートにお問い合わせください。

ONTAP リリース9.5P16、9.6P12、および9.7P10以降のパッチリリース

スイッチに関連するログファイルを収集するためのEthernetスイッチのヘルスモニタログ収集機能を有効にしますこれには'system cluster-switch log setup-password'およびsystem cluster-switch log enable-collection'コマンドを使用します

注: admin *ユーザのスイッチパスワードが必要です。

「 system cluster-switch log setup -password 」と入力します

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-new
cs2-new

cluster1::*> system cluster-switch log setup-password

Enter the switch name: cs1-new
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: <password of switch's admin user>
Enter the password again: <password of switch's admin user>

cluster1::*> system cluster-switch log setup-password

Enter the switch name: cs2-new
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: <password of switch's admin user>
Enter the password again: <password of switch's admin user>

次に 'system cluster-switch log enable-collection' を指定します

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::*>

*注:*これらのコマンドのいずれかがエラーを返した場合は、ネットアップサポートにお問い合わせください。

  1. ケースの自動作成を抑制した場合は、AutoSupport メッセージを呼び出して再度有効にします。 system node autosupport invoke -node * -type all -message MAINT=END