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

準備從 Nexus 5596 交換器遷移到 Nexus 3132Q-V 交換機

貢獻者 netapp-yvonneo

請依照下列步驟準備將Cisco Nexus 5596 交換器遷移到Cisco Nexus 3132Q-V 交換器。

步驟
  1. 如果此叢集上啟用了AutoSupport ,則透過呼叫AutoSupport訊息來抑制自動建立案例: system node autosupport invoke -node * -type all -message MAINT=xh

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

    註 此訊息通知技術支援部門此維護任務,以便在維護期間禁止自動建立案例。
  2. 顯示配置中設備的資訊:

    network device-discovery show

    顯示範例

    以下範例顯示了每個節點上每個叢集互連交換器配置的叢集互連連接口數量:

    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e0a    CL1                 Ethernet1/1      N5K-C5596UP
                e0b    CL2                 Ethernet1/1      N5K-C5596UP
                e0c    CL2                 Ethernet1/2      N5K-C5596UP
                e0d    CL1                 Ethernet1/2      N5K-C5596UP
    n2         /cdp
                e0a    CL1                 Ethernet1/3      N5K-C5596UP
                e0b    CL2                 Ethernet1/3      N5K-C5596UP
                e0c    CL2                 Ethernet1/4      N5K-C5596UP
                e0d    CL1                 Ethernet1/4      N5K-C5596UP
    8 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 -        -
    8 entries were displayed.
    1. 顯示邏輯介面資訊:+ network interface show

      顯示範例

      以下範例顯示系統中所有 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
      8 entries were displayed.
    2. 顯示已發現的群集交換器的相關資訊:+ system cluster-switch show

      顯示範例

      以下範例顯示了叢集已知的叢集交換器及其管理 IP 位址:

      cluster::*> system cluster-switch show
      
      Switch                        Type               Address         Model
      ----------------------------- ------------------ --------------- ---------------
      CL1                           cluster-network    10.10.1.101     NX5596
           Serial Number: 01234567
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      CL2                           cluster-network    10.10.1.102     NX5596
           Serial Number: 01234568
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      
      2 entries were displayed.
  4. 設定 `-auto-revert`參數 `false`在兩個節點上的叢集 LIF clus1 和 clus2 上:

    network interface modify

    顯示範例
    cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert false
    cluster::*> network interface modify -vserver node1 -lif clus2 -auto-revert false
    cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert false
    cluster::*> network interface modify -vserver node2 -lif clus2 -auto-revert false
  5. 確認已根據您的要求在新 3132Q-V 交換器上安裝了相應的 RCF 和映像,並進行必要的網站自訂,例如使用者和密碼、網路位址等。

    此時您必須準備好這兩個開關。如果需要升級 RCF 和鏡像,請依照下列步驟操作:

    1. 前往"Cisco乙太網路交換機"在NetApp支援網站上。

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

    3. 下載相應版本的RCF。

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

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

      請參閱「ONTAP 8.x 或更高版本叢集和管理網路交換器參考設定檔下載」頁面,然後選擇對應的版本。

    若要尋找正確的版本,請參閱_ONTAP 8.x 或更高版本叢集網路交換器下載頁面_。

  6. 遷移與待替換的第二台 Nexus 5596 交換器相關的 LIF:

    network interface migrate

    顯示範例

    以下範例顯示了 n1 和 n2,但 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
  7. 驗證集群健康狀況:

    network interface show

    顯示範例

    以下範例展示了前一個結果。 `network interface migrate`命令:

    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
    8 entries were displayed.
  8. 關閉與交換器 CL2 實體連線的叢集互連連接埠:

    network port modify

    顯示範例

    以下命令關閉 n1 和 n2 上的指定端口,但必須關閉所有節點上的端口:

    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
  9. 驗證遠端集群介面的連接性:

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
所有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

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
Cluster Vserver Id = 4294967293
Ping status:....
Basic connectivity succeeds on 16 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 1500 byte MTU on 16 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.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.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.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
Larger than PMTU communication succeeds on 16 path(s)
RPC status:
4 paths up, 0 paths down (tcp check)
4 paths up, 0 paths down (udp check)
  1. 關閉活動 Nexus 5596 交換器 CL1 上的 ISL 連接埠 41 至 48:

    顯示範例

    以下範例展示如何關閉 Nexus 5596 交換器 CL1 上的 ISL 連接埠 41 至 48:

    (CL1)# configure
    (CL1)(Config)# interface e1/41-48
    (CL1)(config-if-range)# shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#

    如果您要更換 Nexus 5010 或 5020,請指定 ISL 的對應連接埠號碼。

  2. 在 CL1 和 C2 之間建立臨時 ISL。

    顯示範例

    以下範例展示如何在 CL1 和 C2 之間建立臨時 ISL:

    C2# configure
    C2(config)# interface port-channel 2
    C2(config-if)# switchport mode trunk
    C2(config-if)# spanning-tree port type network
    C2(config-if)# mtu 9216
    C2(config-if)# interface breakout module 1 port 24 map 10g-4x
    C2(config)# interface e1/24/1-4
    C2(config-if-range)# switchport mode trunk
    C2(config-if-range)# mtu 9216
    C2(config-if-range)# channel-group 2 mode active
    C2(config-if-range)# exit
    C2(config-if)# exit
下一步是什麼?

做好交換器遷移準備後,您可以…"配置您的連接埠"