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

從NetApp CN1610 叢集交換器遷移到Cisco 9336C-FX2 和 9336C-FX2-T 叢集交換機

貢獻者 netapp-yvonneo

您可以將ONTAP叢集的NetApp CN1610 叢集交換器移轉到Cisco 9336C-FX2 和 9336C-FX2-T 叢集交換器。這是一個非破壞性的過程。

審查要求

使用Cisco 9336C-FX2 和 9336C-FX2-T 叢集交換器取代NetApp CN1610 叢集交換器時,必須了解某些設定資訊、連接埠連線和佈線要求。您還必須驗證交換器序號以確保遷移了正確的交換器。

支援的交換機

支援以下集群交換器:

  • NetApp CN1610

  • Cisco9336C-FX2

  • Cisco9336C-FX2-T

有關支援的連接埠及其配置的詳細信息,請參閱 "Hardware Universe"

你需要什麼

請確認您的配置符合以下要求:

  • 現有叢集已正確設定並正常運作。

  • 為確保運作不中斷,所有叢集連接埠均處於*開啟*狀態。

  • Cisco 9336C-FX2 和 9336C-FX2-T 叢集交換器在安裝並套用參考設定檔 (RCF) 的正確版本的 NX-OS 下設定和運作。

  • 現有叢集網路配置如下:

    • 使用NetApp CN1610 交換器的冗餘且功能齊全的NetApp叢集。

    • 對NetApp CN1610 交換器和新交換器的管理連線和控制台存取。

    • 所有處於啟動狀態的叢集 LIF 都位於其主連接埠上。

  • 一些連接埠在Cisco 9336C-FX2 和 9336C-FX2-T 交換器上配置為以 40GbE 或 100GbE 運作。

  • 您已經規劃、遷移並記錄了從節點到Cisco 9336C-FX2 和 9336C-FX2-T 叢集交換器的 40GbE 和 100GbE 連線。

遷移交換機

關於範例

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

  • 現有的 CN1610 叢集交換器為 C1C2

  • 新的 9336C-FX2 叢集交換器型號為 cs1cs2

  • 節點分別為 node1node2

  • 節點 1 上的叢集 LIF 分別為 node1_clus1node1_clus2,節點 2 上的叢集 LIF 分別為 node2_clus1node2_clus2

  • 這 `cluster1::*>`prompt 指示叢集名稱。

  • 此過程中使用的叢集連接埠為 e3ae3b

關於此任務

本流程涵蓋以下情況:

  • 首先將交換器 C2 替換為交換器 cs2。

    • 關閉叢集節點的連接埠。為避免叢集不穩定,所有連接埠必須同時關閉。

      • 所有群集 LIF 故障轉移到新交換器 cs2。

    • 然後斷開節點與 C2 之間的電纜與 C2 的連接,並重新連接到 cs2。

  • 交換器 C1 被交換器 cs1 取代。

    • 關閉叢集節點的連接埠。為避免叢集不穩定,所有連接埠必須同時關閉。

      • 所有群集 LIF 故障轉移到新交換器 cs1。

    • 然後斷開節點與 C1 之間的電纜與 C1 的連接,並重新連接到 cs1。

註 在此過程中不需要任何可操作的交換器間連結 (ISL)。這是設計使然,因為 RCF 版本的變更可能會暫時影響 ISL 連線。為確保叢集運作不會中斷,以下步驟會在目標交換器上執行步驟的同時,將所有叢集 LIF 故障轉移到運作夥伴交換器。

步驟 1:準備遷移

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

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

    其中 x 為維護視窗的持續時間(小時)。

  2. 將權限級別變更為高級,並在提示繼續時輸入 y

    set -privilege advanced

    出現高階提示符號(*>)。

  3. 停用群集 LIF 的自動回滾功能。

    停用此程序的自動復原功能後,叢集 LIF 將不會自動移回其主連接埠。只要該港口繼續正常運營,他們就會繼續使用該港口。

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

步驟二:設定埠和線纜

  1. 確定每個叢集介面的管理或運作狀態。

    每個連接埠都應該顯示出來。 Link`和 `healthy`為了 `Health Status

    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
      --------- ---------- ---------------- ---- ----- ------------ -------- ------
      e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
      e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
      
      Node: node2
                                                                             Ignore
                                                       Speed(Mbps)  Health   Health
      Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
      --------- ---------- ---------------- ---- ----- ------------ -------- ------
      e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
      e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    2. 顯示有​​關 LIF 及其指定歸屬節點的資訊:

      network interface show -vserver Cluster

      每個 LIF 都應顯示 up/up`為了 `Status Admin/Oper`和 `true`為了 `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       e3a     true
                node1_clus2  up/up      169.254.49.125/16  node1       e3b     true
                node2_clus1  up/up      169.254.47.194/16  node2       e3a     true
                node2_clus2  up/up      169.254.19.183/16  node2       e3b     true
  2. 從節點的角度來看,每個節點上的叢集連接埠透過以下命令以下列方式連接到現有的叢集交換器:

    network device-discovery show -protocol

    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e3a    C1 (6a:ad:4f:98:3b:3f)    0/1               -
                e3b    C2 (6a:ad:4f:98:4c:a4)    0/1               -
    node2      /cdp
                e3a    C1 (6a:ad:4f:98:3b:3f)    0/2               -
                e3b    C2 (6a:ad:4f:98:4c:a4)    0/2               -
  3. 叢集連接埠和交換器透過以下命令連接(從交換器的角度來看):

    show cdp neighbors

    顯示範例
    C1# 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        124    H           AFF-A400         e3a
    node2                 Eth1/2        124    H           AFF-A400         e3a
    C2                    0/13          179    S I s       CN1610           0/13
    C2                    0/14          175    S I s       CN1610           0/14
    C2                    0/15          179    S I s       CN1610           0/15
    C2                    0/16          175    S I s       CN1610           0/16
    
    C2# 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        124    H           AFF-A400         e3b
    node2                 Eth1/2        124    H           AFF-A400         e3b
    C1                    0/13          175    S I s       CN1610           0/13
    C1                    0/14          175    S I s       CN1610           0/14
    C1                    0/15          175    S I s       CN1610           0/15
    C1                    0/16          175    S I s       CN1610           0/16
  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 local
Host is node2
Getting addresses from network interface table...
Cluster node1_clus1 169.254.209.69 node1     e3a
Cluster node1_clus2 169.254.49.125 node1     e3b
Cluster node2_clus1 169.254.47.194 node2     e3a
Cluster node2_clus2 169.254.19.183 node2     e3b
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. 在交換器 C2 上,關閉連接到節點集群端口的端口,以便集群 LIF 進行故障轉移。

    警告 不要嘗試手動遷移叢集 LIF。
    (C2)# configure
    (C2)(Config)# interface 0/1-0/12
    (C2)(Interface 0/1-0/12)# shutdown
    (C2)(Interface 0/1-0/12)# exit
    (C2)(Config)# exit
  2. 使用Cisco 9336C-FX2 和 9336C-FX2-T 支援的適當電纜將節點叢集連接埠從舊交換器 C2 移至新交換器 cs2。

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

    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
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    
    Node: node2
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
  4. 從節點的角度來看,每個節點上的叢集連接埠現在會以以下方式連接到叢集交換器:

    network device-discovery show -protocol

    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e3a    C1  (6a:ad:4f:98:3b:3f)   0/1               CN1610
                e3b    cs2 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1     N9K-C9336C-FX2
    node2      /cdp
                e3a    C1  (6a:ad:4f:98:3b:3f)   0/2               CN1610
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2     N9K-C9336C-FX2
  5. 在交換器 cs2 上,確認所有節點叢集連接埠均已啟動:

    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
  6. 在交換器 C1 上,關閉連接到節點叢集連接埠的端口,以便叢集 LIF 進行故障轉移。

    (C1)# configure
    (C1)(Config)# interface 0/1-0/12
    (C1)(Interface 0/1-0/12)# shutdown
    (C1)(Interface 0/1-0/12)# exit
    (C1)(Config)# exit
  7. 使用Cisco 9336C-FX2 和 9336C-FX2-T 支援的適當電纜將節點叢集連接埠從舊交換器 C1 移至新交換器 cs1。

  8. 驗證叢集的最終配置:

    network port show -ipspace Cluster

    每個連接埠應顯示 up`為了 `Link`和 `healthy`為了 `Health Status

    顯示範例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    
    Node: node2
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
  9. 從節點的角度來看,每個節點上的叢集連接埠現在會以以下方式連接到叢集交換器:

    network device-discovery show -protocol

    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface       Platform
    ----------- ------ ------------------------- --------------  ----------------
    node1      /cdp
                e3a    cs1 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1   N9K-C9336C-FX2
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
    node2      /cdp
                e3a    cs1 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1   N9K-C9336C-FX2
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
  10. 在交換器 cs1 和 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
  11. 確認兩個節點都分別與每個交換器建立了一個連線:

    network device-discovery show -protocol

    顯示範例

    以下範例顯示了兩種開關的正確結果:

    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface       Platform
    ----------- ------ ------------------------- --------------  --------------
    node1      /cdp
                e0a    cs1 (b8:ce:f6:19:1b:42)   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
    
    node2      /cdp
                e0a    cs1 (b8:ce:f6:19:1b:42)   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2

步驟 3:驗證配置

  1. 啟用叢集 LIF 的自動回滾功能:

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert true

  2. 確認所有叢集網路 LIF 都已恢復到其原始連接埠:

    network interface show

    顯示範例
    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         e3a     true
                node1_clus2  up/up    169.254.49.125/16  node1         e3b     true
                node2_clus1  up/up    169.254.47.194/16  node2         e3a     true
                node2_clus2  up/up    169.254.19.183/16  node2         e3b     true
  3. 將權限等級改回管理員:

    set -privilege admin

  4. 如果您已停用自動建立案例功能,請透過呼叫AutoSupport訊息重新啟用該功能:

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

下一步是什麼?

交換器遷移完成後,您可以… "配置交換器健康監控"