Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

更換Cisco Nexus 3132Q-V 集群交換機

貢獻者 netapp-yvonneo netapp-jolieg

請依照下列步驟更換叢集網路中發生故障的Cisco Nexus 3132Q-V 交換器。更換過程屬於非中斷性過程(NDO)。

審查要求

開始之前
  • 現有叢集和網路配置如下:

    • Nexus 3132Q-V 叢集基礎設施是冗餘的,並且在兩台交換器上都能完全正常運作。

      "Cisco乙太網路交換機"擁有適用於交換器的最新 RCF 和 NX-OS 版本。

    • 所有集群連接埠都在 `up`狀態。

    • 兩台交換器都具備管理連線功能。

    • 所有集群邏輯介面(LIF)都在 `up`狀態並已遷移。

  • 更換 Nexus 3132Q-V 的開關時,請確保:

    • 替換交換器的管理網路連線功能正常。

    • 已具備對替換開關的控制台存取權限。

    • 將所需的 RCF 和 NX-OS 作業系統映像交換器載入到交換器上。

    • 交換器的初始定制已完成。

  • "Hardware Universe"

啟用控制台日誌記錄

NetApp強烈建議您在使用的裝置上啟用控制台日誌記錄,並在更換交換器時執行以下操作:

更換開關

此程式將第二個 Nexus 3132Q-V 叢集交換器 CL2 替換為新的 3132Q-V 交換器 C2。

關於範例

本流程中的範例使用以下開關和節點命名規則:

  • n1_clus1 是連接到節點 n1 的叢集交換器 C1 的第一個叢集邏輯介面 (LIF)。

  • n1_clus2 是連接到叢集交換器 CL2 或 C2 的第一個叢集 LIF,用於節點 n1。

  • n1_clus3 是連接到叢集交換器 C2 的第二個 LIF,用於節點 n1。

  • n1_clus4 是連接到叢集交換器 CL1 的第二個 LIF,用於節點 n1。

  • 10 GbE 和 40 GbE 連接埠的數量在參考設定檔 (RCF) 中定義,這些檔案可在以下位置取得:"Cisco叢集網路交換器參考設定檔下載"

  • 這些節點分別是 n1、n2、n3 和 n4。 - 本流程中的範例使用了四個節點:兩個節點使用四個 10 GB 叢集互連連接埠:e0a、e0b、e0c 和 e0d。另外兩個節點使用兩個 40 GB 叢集互連連接埠:e4a 和 e4e。參見"Hardware Universe"用於您平台上的實際集群連接埠。

關於此任務

本流程涵蓋以下情況:

  • 叢集由四個節點組成,這些節點連接到兩個 Nexus 3132Q-V 叢集交換器 CL1 和 CL2。

  • 集群開關 CL2 將由 C2 取代。

    • 在每個節點上,連接到 CL2 的叢集 LIF 遷移到連接到 CL1 的叢集連接埠上。

    • 斷開 CL2 上所有連接埠的電纜連接,然後將電纜重新連接到替換交換器 C2 上的相同連接埠。

    • 在每個節點上,其遷移的叢集 LIF 將被還原。

第一步:準備更換

  1. 如果此叢集上啟用了AutoSupport ,則透過呼叫AutoSupport訊息來抑制自動建立案例:

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

    x 是維護視窗的持續時間,單位為小時。

    註

    AutoSupport訊息會通知技術支援此維護任務,以便在維護視窗期間抑制自動建立案例。

  2. 顯示配置中設備的資訊:

    network device-discovery show

    顯示範例
    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface         Platform
    ----------- ------ ------------------- ----------------  ----------------
    n1         /cdp
                e0a    CL1                 Ethernet1/1/1    N3K-C3132Q-V
                e0b    CL2                 Ethernet1/1/1    N3K-C3132Q-V
                e0c    CL2                 Ethernet1/1/2    N3K-C3132Q-V
                e0d    CL1                 Ethernet1/1/2    N3K-C3132Q-V
    n2         /cdp
                e0a    CL1                 Ethernet1/1/3    N3K-C3132Q-V
                e0b    CL2                 Ethernet1/1/3    N3K-C3132Q-V
                e0c    CL2                 Ethernet1/1/4    N3K-C3132Q-V
                e0d    CL1                 Ethernet1/1/4    N3K-C3132Q-V
    n3         /cdp
                e4a    CL1                 Ethernet1/7      N3K-C3132Q-V
                e4e    CL2                 Ethernet1/7      N3K-C3132Q-V
    n4         /cdp
                e4a    CL1                 Ethernet1/8      N3K-C3132Q-V
                e4e    CL2                 Ethernet1/8      N3K-C3132Q-V
    
    12 entries were displayed
  3. 確定每個叢集介面的管理或運作狀態:

    1. 顯示網路連接埠屬性:

      network port show

      顯示範例
      cluster::*> network port show -role cluster
             (network port show)
      
      Node: n1
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000 auto/10000  -        -
      e0b       Cluster      Cluster          up   9000 auto/10000  -        -
      e0c       Cluster      Cluster          up   9000 auto/10000  -        -
      e0d       Cluster      Cluster          up   9000 auto/10000  -        -
      
      Node: n2
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 -        -
      e0b       Cluster      Cluster          up   9000  auto/10000 -        -
      e0c       Cluster      Cluster          up   9000  auto/10000 -        -
      e0d       Cluster      Cluster          up   9000  auto/10000 -        -
      
      Node: n3
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e4a       Cluster      Cluster          up   9000 auto/40000  -        -
      e4e       Cluster      Cluster          up   9000 auto/40000  -        -
      
      Node: n4
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e4a       Cluster      Cluster          up   9000 auto/40000  -        -
      e4e       Cluster      Cluster          up   9000 auto/40000  -        -
      12 entries were displayed.
    2. 顯示邏輯介面資訊:

      network interface show

      顯示範例
      cluster::*> network interface show -role cluster
             (network interface show)
      
                   Logical    Status     Network            Current       Current Is
      Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
      ----------- ---------- ---------- ------------------ ------------- ------- ----
      Cluster
                  n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                  n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                  n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                  n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                  n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                  n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                  n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                  n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                  n3_clus1   up/up      10.10.0.9/24       n3            e0a     true
                  n3_clus2   up/up      10.10.0.10/24      n3            e0e     true
                  n4_clus1   up/up      10.10.0.11/24      n4            e0a     true
                  n4_clus2   up/up      10.10.0.12/24      n4            e0e     true
      
      12 entries were displayed.
    3. 顯示已發現的群集交換器的相關資訊:

      system cluster-switch show

    顯示範例
    cluster::> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                          cluster-network   10.10.1.101      NX3132V
         Serial Number: FOX000001
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    CL2                          cluster-network   10.10.1.102      NX3132V
         Serial Number: FOX000002
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    2 entries were displayed.
  4. 確認新的 Nexus 3132Q-V 交換器上已根據您的要求安裝了相應的 RCF 和映像,並進行任何必要的網站自訂。

    現在必須準備好替換開關。如果需要升級 RCF 和鏡像,必須按照以下步驟操作:

    1. 在NetApp支援網站上,請參閱"Cisco乙太網路交換機"

    2. 請記下您交換器的型號以及該頁表格中所需的軟體版本。

    3. 下載相應版本的RCF。

    4. 在“描述”頁面上點擊“繼續”,接受許可協議,然後按照“下載”頁面上的說明下載 RCF。

    5. 下載對應版本的影像處理軟體。

  5. 遷移與連接到交換器 C2 的叢集連接埠關聯的 LIF:

    network interface migrate

    顯示範例

    此範例表示 LIF 遷移已在所有節點上完成:

    cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -source-node n1 –destination-node n1 -destination-port e0a
    cluster::*> network interface migrate -vserver Cluster -lif n1_clus3 -source-node n1 –destination-node n1 -destination-port e0d
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -source-node n2 –destination-node n2 -destination-port e0a
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus3 -source-node n2 –destination-node n2 -destination-port e0d
    cluster::*> network interface migrate -vserver Cluster -lif n3_clus2 -source-node n3 –destination-node n3 -destination-port e4a
    cluster::*> network interface migrate -vserver Cluster -lif n4_clus2 -source-node n4 –destination-node n4 -destination-port e4a
  6. 驗證集群健康狀況:

    network interface show

    顯示範例
    cluster::*> network interface show -role cluster
           (network interface show)
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0a     false
                n1_clus3   up/up      10.10.0.3/24       n1            e0d     false
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0a     false
                n2_clus3   up/up      10.10.0.7/24       n2            e0d     false
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                n3_clus2   up/up      10.10.0.10/24      n3            e4a     false
                n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                n4_clus2   up/up      10.10.0.12/24      n4            e4a     false
    12 entries were displayed.
  7. 關閉與交換器 CL2 實體連線的叢集互連連接埠:

    network port modify

    顯示範例

    此範例顯示如何關閉所有節點上的指定連接埠:

    cluster::*> network port modify -node n1 -port e0b -up-admin false
    cluster::*> network port modify -node n1 -port e0c -up-admin false
    cluster::*> network port modify -node n2 -port e0b -up-admin false
    cluster::*> network port modify -node n2 -port e0c -up-admin false
    cluster::*> network port modify -node n3 -port e4e -up-admin false
    cluster::*> network port modify -node n4 -port e4e -up-admin false
  8. 驗證遠端集群介面的連接性:

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
------ -------------------------- ---------- ------------- -----------
n1
       3/5/2022 19:21:18 -06:00   n1_clus2   n2_clus1      none
       3/5/2022 19:21:20 -06:00   n1_clus2   n2_clus2      none

n2
       3/5/2022 19:21:18 -06:00   n2_clus2   n1_clus1      none
       3/5/2022 19:21:20 -06:00   n2_clus2   n1_clus2      none
n3
...
...
n4
...
...
所有ONTAP版本

對於所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`檢查連接性的命令:

cluster ping-cluster -node <name>

cluster::*> cluster ping-cluster -node n1
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1		e0a	10.10.0.1
Cluster n1_clus2 n1		e0b	10.10.0.2
Cluster n1_clus3 n1		e0c	10.10.0.3
Cluster n1_clus4 n1		e0d	10.10.0.4
Cluster n2_clus1 n2		e0a	10.10.0.5
Cluster n2_clus2 n2		e0b	10.10.0.6
Cluster n2_clus3 n2		e0c	10.10.0.7
Cluster n2_clus4 n2		e0d	10.10.0.8
Cluster n3_clus1 n4		e0a	10.10.0.9
Cluster n3_clus2 n3		e0e	10.10.0.10
Cluster n4_clus1 n4		e0a	10.10.0.11
Cluster n4_clus2 n4		e0e	10.10.0.12

Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8 10.10.0.9 10.10.0.10 10.10.0.11 10.10.0.12
Cluster Vserver Id = 4294967293
Ping status:
....
Basic connectivity succeeds on 32 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 1500 byte MTU on 32 path(s):
    Local 10.10.0.1 to Remote 10.10.0.5
    Local 10.10.0.1 to Remote 10.10.0.6
    Local 10.10.0.1 to Remote 10.10.0.7
    Local 10.10.0.1 to Remote 10.10.0.8
    Local 10.10.0.1 to Remote 10.10.0.9
    Local 10.10.0.1 to Remote 10.10.0.10
    Local 10.10.0.1 to Remote 10.10.0.11
    Local 10.10.0.1 to Remote 10.10.0.12
    Local 10.10.0.2 to Remote 10.10.0.5
    Local 10.10.0.2 to Remote 10.10.0.6
    Local 10.10.0.2 to Remote 10.10.0.7
    Local 10.10.0.2 to Remote 10.10.0.8
    Local 10.10.0.2 to Remote 10.10.0.9
    Local 10.10.0.2 to Remote 10.10.0.10
    Local 10.10.0.2 to Remote 10.10.0.11
    Local 10.10.0.2 to Remote 10.10.0.12
    Local 10.10.0.3 to Remote 10.10.0.5
    Local 10.10.0.3 to Remote 10.10.0.6
    Local 10.10.0.3 to Remote 10.10.0.7
    Local 10.10.0.3 to Remote 10.10.0.8
    Local 10.10.0.3 to Remote 10.10.0.9
    Local 10.10.0.3 to Remote 10.10.0.10
    Local 10.10.0.3 to Remote 10.10.0.11
    Local 10.10.0.3 to Remote 10.10.0.12
    Local 10.10.0.4 to Remote 10.10.0.5
    Local 10.10.0.4 to Remote 10.10.0.6
    Local 10.10.0.4 to Remote 10.10.0.7
    Local 10.10.0.4 to Remote 10.10.0.8
    Local 10.10.0.4 to Remote 10.10.0.9
    Local 10.10.0.4 to Remote 10.10.0.10
    Local 10.10.0.4 to Remote 10.10.0.11
    Local 10.10.0.4 to Remote 10.10.0.12

Larger than PMTU communication succeeds on 32 path(s)
RPC status:
8 paths up, 0 paths down (tcp check)
8 paths up, 0 paths down (udp check)
  1. 關閉 CL1 上的連接埠 1/31 和 1/32,以及活動的 Nexus 3132Q-V 交換器:

    shutdown

    顯示範例

    此範例顯示交換器 CL1 上的 ISL 連接埠 1/31 和 1/32 已關閉:

    (CL1)# configure
    (CL1)(Config)# interface e1/31-32
    (CL1)(config-if-range)# shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#

步驟 2:設定埠

  1. 拆下連接到 Nexus 3132Q-V 交換器 CL2 的所有電纜,並將它們重新連接到所有節點上的替換交換器 C2。

  2. 從 CL2 上的 e1/31 和 e1/32 連接埠拆下 ISL 電纜,然後將它們重新連接到替換交換器 C2 上的相同連接埠。

  3. 在 Nexus 3132Q-V 交換器 CL1 上啟用 ISL 連接埠 1/31 和 1/32:

    (CL1)# configure
    (CL1)(Config)# interface e1/31-32
    (CL1)(config-if-range)# no shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  4. 確認 CL1 上的 ISL 是否已啟動:

    show port-channel

    連接埠 Eth1/31 和 Eth1/32 應指示 `(P)`這表示 ISL 連接埠已在連接埠通道中啟動。

    顯示範例
    CL1# 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
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member 						Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/31(P)   Eth1/32(P)
  5. 請確認C2上的ISL連線是否已建立:

    show port-channel summary

    連接埠 Eth1/31 和 Eth1/32 應指示 `(P)`這意味著兩個 ISL 連接埠都在連接埠通道中運作。

    顯示範例
    C2# 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
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/31(P)   Eth1/32(P)
  6. 在所有節點上,啟動連接到 Nexus 3132Q-V 交換器 C2 的所有叢集互連連接埠:

    network port modify

    顯示範例
    cluster::*> network port modify -node n1 -port e0b -up-admin true
    cluster::*> network port modify -node n1 -port e0c -up-admin true
    cluster::*> network port modify -node n2 -port e0b -up-admin true
    cluster::*> network port modify -node n2 -port e0c -up-admin true
    cluster::*> network port modify -node n3 -port e4e -up-admin true
    cluster::*> network port modify -node n4 -port e4e -up-admin true
  7. 對於所有節點,還原所有已遷移的叢集互連 LIF:

    network interface revert

    顯示範例
    cluster::*> network interface revert -vserver Cluster -lif n1_clus2
    cluster::*> network interface revert -vserver Cluster -lif n1_clus3
    cluster::*> network interface revert -vserver Cluster -lif n2_clus2
    cluster::*> network interface revert -vserver Cluster -lif n2_clus3
    cluster::*> network interface revert -vserver Cluster -lif n3_clus2
    cluster::*> network interface revert -vserver Cluster -lif n4_clus2
  8. 請確認叢集互連連接埠已恢復至其原始設定:

    network interface show

    顯示範例

    此範例表示所有 LIF 都已成功還原,因為列出的連接埠位於 `Current Port`列具有以下狀態 `true`在 `Is Home`柱子。如果 `Is Home`列值為 `false`LIF尚未被撤銷。

    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                n3_clus2   up/up      10.10.0.10/24      n3            e4e     true
                n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                n4_clus2   up/up      10.10.0.12/24      n4            e4e     true
    12 entries were displayed.
  9. 請確認叢集連接埠已連線:

    network port show

    顯示範例
    cluster::*> network port show -role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    
    Node: n3
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    
    Node: n4
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    12 entries were displayed.
  10. 驗證遠端集群介面的連接性:

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
------ -------------------------- ---------- ------------- -----------
n1
       3/5/2022 19:21:18 -06:00   n1_clus2   n2_clus1      none
       3/5/2022 19:21:20 -06:00   n1_clus2   n2_clus2      none

n2
       3/5/2022 19:21:18 -06:00   n2_clus2   n1_clus1      none
       3/5/2022 19:21:20 -06:00   n2_clus2   n1_clus2      none
n3
...
...
n4
...
...
所有ONTAP版本

對於所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`檢查連接性的命令:

cluster ping-cluster -node <name>

cluster::*> cluster ping-cluster -node n1
Host is n1
Getting addresses from network interface table...
Cluster n1_clus1 n1		e0a	10.10.0.1
Cluster n1_clus2 n1		e0b	10.10.0.2
Cluster n2_clus1 n2		e0a	10.10.0.5
Cluster n2_clus2 n2		e0b	10.10.0.6
Cluster n2_clus3 n2		e0c	10.10.0.7
Cluster n2_clus4 n2		e0d	10.10.0.8
Cluster n3_clus1 n3		e0a	10.10.0.9
Cluster n3_clus2 n3		e0e	10.10.0.10
Cluster n4_clus1 n4		e0a	10.10.0.11
Cluster n4_clus2 n4		e0e	10.10.0.12

Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8 10.10.0.9 10.10.0.10 10.10.0.11 10.10.0.12
Cluster Vserver Id = 4294967293
Ping status:
....
Basic connectivity succeeds on 32 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 1500 byte MTU on 32 path(s):
    Local 10.10.0.1 to Remote 10.10.0.5
    Local 10.10.0.1 to Remote 10.10.0.6
    Local 10.10.0.1 to Remote 10.10.0.7
    Local 10.10.0.1 to Remote 10.10.0.8
    Local 10.10.0.1 to Remote 10.10.0.9
    Local 10.10.0.1 to Remote 10.10.0.10
    Local 10.10.0.1 to Remote 10.10.0.11
    Local 10.10.0.1 to Remote 10.10.0.12
    Local 10.10.0.2 to Remote 10.10.0.5
    Local 10.10.0.2 to Remote 10.10.0.6
    Local 10.10.0.2 to Remote 10.10.0.7
    Local 10.10.0.2 to Remote 10.10.0.8
    Local 10.10.0.2 to Remote 10.10.0.9
    Local 10.10.0.2 to Remote 10.10.0.10
    Local 10.10.0.2 to Remote 10.10.0.11
    Local 10.10.0.2 to Remote 10.10.0.12
    Local 10.10.0.3 to Remote 10.10.0.5
    Local 10.10.0.3 to Remote 10.10.0.6
    Local 10.10.0.3 to Remote 10.10.0.7
    Local 10.10.0.3 to Remote 10.10.0.8
    Local 10.10.0.3 to Remote 10.10.0.9
    Local 10.10.0.3 to Remote 10.10.0.10
    Local 10.10.0.3 to Remote 10.10.0.11
    Local 10.10.0.3 to Remote 10.10.0.12
    Local 10.10.0.4 to Remote 10.10.0.5
    Local 10.10.0.4 to Remote 10.10.0.6
    Local 10.10.0.4 to Remote 10.10.0.7
    Local 10.10.0.4 to Remote 10.10.0.8
    Local 10.10.0.4 to Remote 10.10.0.9
    Local 10.10.0.4 to Remote 10.10.0.10
    Local 10.10.0.4 to Remote 10.10.0.11
    Local 10.10.0.4 to Remote 10.10.0.12

Larger than PMTU communication succeeds on 32 path(s)
RPC status:
8 paths up, 0 paths down (tcp check)
8 paths up, 0 paths down (udp check)

步驟 3:驗證配置

  1. 顯示配置中設備的資訊:

    • network device-discovery show

    • network port show -role cluster

    • network interface show -role cluster

    • system cluster-switch show

    顯示範例
    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e0a    C1                 Ethernet1/1/1    N3K-C3132Q-V
                e0b    C2                 Ethernet1/1/1    N3K-C3132Q-V
                e0c    C2                 Ethernet1/1/2    N3K-C3132Q-V
                e0d    C1                 Ethernet1/1/2    N3K-C3132Q-V
    n2         /cdp
                e0a    C1                 Ethernet1/1/3    N3K-C3132Q-V
                e0b    C2                 Ethernet1/1/3    N3K-C3132Q-V
                e0c    C2                 Ethernet1/1/4    N3K-C3132Q-V
                e0d    C1                 Ethernet1/1/4    N3K-C3132Q-V
    n3         /cdp
                e4a    C1                 Ethernet1/7      N3K-C3132Q-V
                e4e    C2                 Ethernet1/7      N3K-C3132Q-V
    n4         /cdp
                e4a    C1                 Ethernet1/8      N3K-C3132Q-V
                e4e    C2                 Ethernet1/8      N3K-C3132Q-V
    12 entries were displayed.
    cluster::*> network port show –role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    
    Node: n3
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    
    Node: n4
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e4a       Cluster      Cluster          up   9000 auto/40000  -        -
    e4e       Cluster      Cluster          up   9000 auto/40000  -        -
    12 entries were displayed.
    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                n3_clus2   up/up      10.10.0.10/24      n3            e4e     true
                n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                n4_clus2   up/up      10.10.0.12/24      n4            e4e     true
    12 entries were displayed.
    cluster::*> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                          cluster-network   10.10.1.101      NX3132V
         Serial Number: FOX000001
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    CL2                          cluster-network   10.10.1.102      NX3132V
         Serial Number: FOX000002
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    C2                          cluster-network    10.10.1.103      NX3132V
         Serial Number: FOX000003
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    3 entries were displayed.
  2. 如果更換後的 Nexus 3132Q-V 開關尚未自動移除,請將其移除:

    system cluster-switch delete

    cluster::*> system cluster-switch delete –device CL2
  3. 確認已對正確的群集交換器進行監控:

    system cluster-switch show

    顯示範例
    cluster::> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                          cluster-network    10.10.1.101      NX3132V
         Serial Number: FOX000001
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    C2                          cluster-network     10.10.1.103      NX3132V
         Serial Number: FOX000002
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    2 entries were displayed.
  4. 如果您已停用自動建立案例功能,請透過呼叫AutoSupport訊息重新啟用該功能:

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

下一步是什麼?

更換開關後,您可以"配置交換器健康監控"