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

升級 NX-OS - Cisco Nexus 9364D-GX2A

貢獻者 netapp-lisa

您可以升級 Cisco Nexus 9364D-GX2A 交換器上的 NX-OS,以支援新硬體或 AFX 1K 或 AFX 2K 系統上的新 ONTAP 版本。

開始之前
  • 請確保您已備份最新的交換器組態。

  • 確認您的叢集功能完全正常,即日誌中沒有錯誤或類似問題。

關於此任務
  • 如有需要,您可以參考 "Cisco Nexus 9000 系列 NX-OS 軟體升級與降級指南" 以取得更多資訊。

  • 如有需要,您可以參考 "Cisco Nexus 9000 和 3000 升級和 ISSU 矩陣",其中提供了基於您目前版本和目標版本的 Cisco Nexus 9000 系列交換器的線上軟體升級 (ISSU) 資訊。

    在頁面上,選擇“中斷式升級”,然後從下拉清單中選擇目前版本和目標版本。

  • AFX 系統上執行的 ONTAP 版本決定了交換器支援的 NX-OS 版本。

    • 對於 AFX 1K 系統中的交換器,執行任何受支援的 ONTAP 版本,均支援 NX-OS 10.4.2 及更新版本。

    • 對於執行 ONTAP 9.19.1GA 或更新版本的 AFX 2K 系統中的交換器,支援 NX-OS 10.6 及更新版本。

      有關目前支援的 NX-OS 版本列表,請參閱"NetApp Cisco 乙太網路交換器"頁面。

    註 請勿將 NX-OS 版本升級或降級至不支援的版本。
  • 由於此程序需要使用 ONTAP 指令和 Cisco Nexus 9000 系列交換器指令,因此步驟中會說明您正在使用哪個 CLI 來輸入指令。

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

    • 這兩個Cisco交換器的名稱分別是 cs1 和 cs2。

    • 節點名稱為node1-01、node1-02、node1-03和node1-04。

    • 集群 LIF 名稱為:

      • node1-01 的 node1-01_clus1 和 node1-01_clus2

      • node1-02 的 node1-02_clus1 和 node1-02_clus2

      • node1-03 的 node1-03_clus1 和 node1-03_clus2

      • node1-04 的 node1-04_clus1 和 node1-04_clus2

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

  • 本流程中的範例適用於執行 RCF 10.0 的交換器的 AFX 1K 系統。如果您使用的是 AFX 2K 系統,則輸入和輸出可能會有所不同。

步驟 1:準備升級 NX-OS

準備升級 NX-OS,請確保每個交換器都已連接管理網路,下載 NX-OS 版本,檢查叢集上的連接埠狀態,並停用叢集 LIF 上的自動還原功能。

步驟
  1. 將每台交換器連接到管理網路。

  2. 使用交換器 CLI,驗證與託管 NX-OS 的伺服器的連線。

    ping <IP address>

    顯示範例

    此範例驗證交換器可以存取 IP 位址為 172.19.2.1 的伺服器:

    cs1# ping 172.19.2.1
    Pinging 172.19.2.1 with 0 bytes of data:
    
    Reply From 172.19.2.1: icmp_seq = 0. time= 5910 usec.
  3. "Cisco軟體下載"頁面將正確版本的 NX-OS 下載至交換器。

  4. 使用 ONTAP CLI,顯示連接到叢集交換器的每個節點上的叢集連接埠:

    network device-discovery show
    顯示範例
    cluster1::*> network device-discovery show
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID) Interface         Platform
    ----------- ------ ------------------------ ----------------  ----------------
    node1-01/cdp
                e10a   cs1(FLMXXXXXXXX)         Ethernet1/16/3    N9K-C9364D-GX2A
                e10b   cs2(FDOXXXXXXXX)         Ethernet1/13/3    N9K-C9364D-GX2A
                e11a   cs1(FLMXXXXXXXX)         Ethernet1/16/4    N9K-C9364D-GX2A
                e11b   cs2(FDOXXXXXXXX)         Ethernet1/13/4    N9K-C9364D-GX2A
                e1a    cs1(FLMXXXXXXXX)         Ethernet1/16/1    N9K-C9364D-GX2A
                e1b    cs2(FDOXXXXXXXX)         Ethernet1/13/1    N9K-C9364D-GX2A
                .
                .
                .
    
                e7a    cs1(FLMXXXXXXXX)         Ethernet1/16/2    N9K-C9364D-GX2A
                e7b    cs2(FDOXXXXXXXX)         Ethernet1/13/2    N9K-C9364D-GX2A
    
    node1-01/lldp
                e10a   cs1 (c8:60:8f:xx:xx:xx)  Ethernet1/16/3    -
                e10b   cs2 (04:e3:87:xx:xx:xx)  Ethernet1/13/3    -
                e11a   cs1 (c8:60:8f:xx:xx:xx)  Ethernet1/16/4    -
                e11b   cs2 (04:e3:87:xx:xx:xx)  Ethernet1/13/4    -
                e1a    cs1 (c8:60:8f:xx:xx:xx)  Ethernet1/16/1    -
                e1b    cs2 (04:e3:87:xx:xx:xx)  Ethernet1/13/1    -
                .
                .
                .
                e7a    cs1 (c8:60:8f:xx:xx:xx)  Ethernet1/16/2    -
                e7b    cs2 (04:e3:87:xx:xx:xx)  Ethernet1/13/2    -
    .
    .
    .
  5. 使用 ONTAP CLI 檢查每個連接埠的管理和運作狀態:

    1. 集群連接埠

      1. 確認叢集所有連接埠均已啟動且狀態正常:

        network port show -ipspace Cluster
        顯示範例
        cluster1::*> network port show -ipspace Cluster
        
        Node: node1-01
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/100000 healthy false
        e7b       Cluster      Cluster          up   9000  auto/100000 healthy false
        
        Node: node1-02
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/100000 healthy false
        e7b       Cluster      Cluster          up   9000  auto/100000 healthy false
        
        Node: node1-03
        
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/10000 healthy  false
        e7b       Cluster      Cluster          up   9000  auto/10000 healthy  false
        
        Node: node1-04
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/10000 healthy  false
        e7b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      2. 確認所有叢集介面(LIF)都位於主連接埠上:

        network interface show -role cluster
        顯示範例
        cluster1::*> network interface show -role cluster
        
                    Logical         Status     Network            Current   Current Is
        Vserver     Interface       Admin/Oper Address/Mask       Node      Port    Home
        ----------- --------------- ---------- ------------------ --------- ------- ----
        Cluster
                    node1-01_clus1  up/up      169.254.36.44/16   node1-01  e7a     true
                    node1-01_clus2  up/up      169.254.7.5/16     node1-01  e7b     true
                    node1-02_clus1  up/up      169.254.197.206/16 node1-02  e7a     true
                    node1-02_clus2  up/up      169.254.195.186/16 node1-02  e7b     true
                    node1-03_clus1  up/up      169.254.192.49/16  node1-03  e7a     true
                    node1-03_clus2  up/up      169.254.182.76/16  node1-03  e7b     true
                    node1-04_clus1  up/up      169.254.59.49/16   node1-04  e7a     true
                    node1-04_clus2  up/up      169.254.62.244/16  node1-04  e7b     true
        
        8 entries were displayed.
      3. 確認集群顯示兩個集群交換器的資訊:

        system cluster-switch show -is-monitoring-enabled-operational true
        顯示範例
        cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
        
        Switch                      Type               Address          Model
        --------------------------- ------------------ ---------------- ---------------
        cs2(FDOXXXXXXXX)            cluster-network    10.228.137.233   N9K-C9364D-GX2A
             Serial Number: FDOXXXXXXXX
              Is Monitored: true
                    Reason: None
          Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                            10.4(2)
            Version Source: CDP/ISDP
        
        
        cs1(FLMXXXXXXXX)             cluster-network   10.228.137.253   N9K-C9364D-GX2A
             Serial Number: FLMXXXXXXXX
              Is Monitored: true
                    Reason: None
          Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                            10.4(2)
            Version Source: CDP/ISDP
        
        2 entries were displayed.
    2. HA 連接埠

      1. 驗證所有 HA 連接埠是否處於正常運作狀態:

        ha interconnect status show -node <node-name>
        顯示範例
        cluster1::*> ha interconnect status show -node node1-01
          (system ha interconnect status show)
        
                               Node: node1-01
                      Link 0 Status: up
                      Link 1 Status: up
                   Is Link 0 Active: true
                   Is Link 1 Active: true
                 IC RDMA Connection: up
                               Slot: 0
                     Debug Firmware: no
        
        
        Interconnect Port 0 :
                          Port Name: e1a-17
                                MTU: 4096
                   Link Information: ACTIVE
        
        
        Interconnect Port 1 :
                          Port Name: e1b-18
                                MTU: 4096
                   Link Information: ACTIVE
        
        cluster1::*> ha interconnect status show -node node1-02
          (system ha interconnect status show)
        
                               Node: node1-02
                      Link 0 Status: up
                      Link 1 Status: up
                   Is Link 0 Active: true
                   Is Link 1 Active: true
                 IC RDMA Connection: up
                               Slot: 0
                     Debug Firmware: no
        
        
        Interconnect Port 0 :
                          Port Name: e1a-17
                                MTU: 4096
                   Link Information: ACTIVE
        
        
        Interconnect Port 1 :
                          Port Name: e1b-18
                                MTU: 4096
                   Link Information: ACTIVE
        .
        .
        .
    3. 儲存連接埠

      1. 驗證所有儲存連接埠均處於正常狀態:

        storage port show -port-type ENET
        顯示範例
        cluster1::*> storage port show -port-type ENET
        
                                              Speed
        Node               Port Type  Mode    (Gb/s) State    Status
        ------------------ ---- ----- ------- ------ -------- -----------
        node1-01
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        node1-02
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        node1-03
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
        node1-04
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        16 entries were displayed.
    4. 儲存架連接埠

      1. 驗證所有儲存架連接埠是否處於正常狀態:

        storage shelf port show
        顯示範例
        cluster1::*> storage shelf port show
        
        Shelf ID Module State        Internal?
        ----- -- ------ ------------ ---------
        1.1
               0 A      connected    false
               1 A      connected    false
               2 A      connected    false
               3 A      connected    false
               4 A      connected    false
               5 A      connected    false
               6 A      connected    false
               7 A      connected    false
               8 B      connected    false
               9 B      connected    false
              10 B      connected    false
              11 B      connected    false
              12 B      connected    false
              13 B      connected    false
              14 B      connected    false
              15 B      connected    false
        
        16 entries were displayed.
      2. 驗證所有儲存架連接埠的連線狀態:

        storage shelf port show -fields remote-device,remote-port,connector-state
        顯示範例
        cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state
        
        shelf id connector-state remote-port    remote-device
        ----- -- --------------- -------------- -----------------
        1.1   0  connected       Ethernet1/17/1 CX9332D-cs1
        1.1   1  connected       Ethernet1/15/1 CX9364D-cs1
        1.1   2  connected       Ethernet1/17/2 CX9332D-cs1
        1.1   3  connected       Ethernet1/15/2 CX9364D-cs1
        1.1   4  connected       Ethernet1/17/3 CX9332D-cs1
        1.1   5  connected       Ethernet1/15/3 CX9364D-cs1
        1.1   6  connected       Ethernet1/17/4 CX9332D-cs1
        1.1   7  connected       Ethernet1/15/4 CX9364D-cs1
        1.1   8  connected       Ethernet1/19/1 CX9332D-cs1
        1.1   9  connected       Ethernet1/17/1 CX9364D-cs1
        1.1   10 connected       Ethernet1/19/2 CX9332D-cs1
        1.1   11 connected       Ethernet1/17/2 CX9364D-cs1
        1.1   12 connected       Ethernet1/19/3 CX9332D-cs1
        1.1   13 connected       Ethernet1/17/3 CX9364D-cs1
        1.1   14 connected       Ethernet1/19/4 CX9332D-cs1
        1.1   15 connected       Ethernet1/17/4 CX9364D-cs1
        
        16 entries were displayed.
  6. 使用 ONTAP CLI,停用叢集 LIF 的自動還原功能。叢集 LIF 將容錯移轉至合作夥伴叢集交換器,並在您對目標交換器執行此程序時保持在該交換器上:

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

步驟 2:安裝 NX-OS

在第一個交換器 (cs1) 上安裝 NX-OS,方法是安裝並驗證 NX-OS 和 EPLD 的新版本,驗證叢集上所有連接埠的運作狀況,然後在第二個交換器 (cs2) 上重複這些步驟。

  1. 使用交換器 CLI,將 NX-OS 和 EPLD 映像複製到交換器。

    您需要使用此指令兩次:第一次是複製 NX-OS 版本,第二次是複製 EPLD 版本。

    copy <protocol>: bootflash: vrf management

    顯示範例

    此範例使用 sftp。

    cs2# copy sftp: bootflash: vrf management
    Enter source filename: /code/nxos.10.4.2.bin
    Enter hostname for the sftp server: 172.19.2.1
    Enter username: root
    
    Outbound-ReKey for 172.19.2.1:22
    Inbound-ReKey for 172.19.2.1:22
    root@172.19.2.1's password:
    sftp> progress
    Progress meter enabled
    sftp> get   /code/nxos.10.4.2.bin  /bootflash/nxos.10.4.2.bin
    /code/nxos.10.4.2.bin  100% 1261MB   9.3MB/s   02:15
    sftp> exit
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    
    cs2# copy sftp: bootflash: vrf management
    Enter source filename: /code/n9000-epld.10.4.2.F.img
    Enter hostname for the sftp server: 172.19.2.1
    Enter username: user1
    
    Outbound-ReKey for 172.19.2.1:22
    Inbound-ReKey for 172.19.2.1:22
    user1@172.19.2.1's password:
    sftp> progress
    Progress meter enabled
    sftp> get   /code/n9000-epld.10.4.2.F.img  /bootflash/n9000-epld.10.4.2.F.img
    /code/n9000-epld.10.4.2.F.img  100%  161MB   9.5MB/s   00:16
    sftp> exit
    Copy complete, now saving to disk (please wait)...
    Copy complete.
  2. 使用交換器 CLI,驗證 NX-OS 的運作版本:

    show version

    顯示範例
    cs2# show version
    Cisco Nexus Operating System (NX-OS) Software
    TAC support: http://www.cisco.com/tac
    Copyright (C) 2002-2025, Cisco and/or its affiliates.
    All rights reserved.
    The copyrights to certain works contained in this software are
    owned by other third parties and used and distributed under their own
    licenses, such as open source.  This software is provided "as is," and unless
    otherwise stated, there is no warranty, express or implied, including but not
    limited to warranties of merchantability and fitness for a particular purpose.
    Certain components of this software are licensed under
    the GNU General Public License (GPL) version 2.0 or
    GNU General Public License (GPL) version 3.0  or the GNU
    Lesser General Public License (LGPL) Version 2.1 or
    Lesser General Public License (LGPL) Version 2.0.
    A copy of each such license is available at
    http://www.opensource.org/licenses/gpl-2.0.php and
    http://opensource.org/licenses/gpl-3.0.html and
    http://www.opensource.org/licenses/lgpl-2.1.php and
    http://www.gnu.org/licenses/old-licenses/library.txt.
    
    
    Software
      BIOS: version 01.14
      NXOS: version 10.4(1) [Feature Release]
      Host NXOS: version 10.4(1)
      BIOS compile time:  11/25/2024
      NXOS image file is: bootflash:///nxos64-cs.10.4.1.F.bin
      NXOS compile time:  11/30/2023 12:00:00 [12/14/2023 05:25:50]
      NXOS boot mode: LXC
    
    
    Hardware
      cisco Nexus9000 C9332D-GX2B Chassis
      Intel(R) Xeon(R) CPU D-1633N @ 2.50GHz with 32802156 kB of memory.
      Processor Board ID FLMXXXXXXXX
      Device name: cs2
      bootflash:  115802886 kB
    
    
    Kernel uptime is 5 day(s), 2 hour(s), 13 minute(s), 21 second(s)
    
    
    Last reset at 3580 usecs after Thu Jun  5 15:55:08 2025
      Reason: Reset Requested by CLI command reload
      System version: 10.4(1)
      Service:
    
    
    plugin
      Core Plugin, Ethernet Plugin
    
    
    Active Package(s):
    
    cs2#
  3. 使用交換器 CLI 安裝 NX-OS 映像。

    安裝鏡像檔案後,每次交換器重新啟動時都會載入該檔案。

    install all nxos bootflash:nxos.<version number>.bin

    顯示範例

    此範例使用 NX-OS 版本 10.4.2。

    cs2# install all nxos bootflash:nxos.10.4.2.bin
    
    Installer will perform compatibility check first. Please wait.
    Installer is forced disruptive
    
    Verifying image bootflash:/nxos.10.4.2.bin for boot variable "nxos".
    [] 100% -- SUCCESS
    
    Verifying image type.
    [] 100% -- SUCCESS
    
    Preparing "nxos" version info using image bootflash:/nxos.10.4.2.bin.
    [] 100% -- SUCCESS
    
    Preparing "bios" version info using image bootflash:/nxos.10.4.2.bin.
    [] 100% -- SUCCESS
    
    Performing module support checks.
    [] 100% -- SUCCESS
    
    Notifying services about system upgrade.
    [] 100% -- SUCCESS
    
    
    Compatibility check is done:
    Module  Bootable  Impact          Install-type  Reason
    ------  --------  --------------- ------------  ---------
      1     yes       Disruptive      Reset         Default upgrade is not hitless
    
    
    
    Images will be upgraded according to following table:
    
    Module   Image    Running-Version(pri:alt)                 New-Version         Upg-Required
    ------- --------- ---------------------------------------- ------------------- ------------
      1      nxos     10.4(1)                                  10.4(2)             Yes
      1      bios     xx.xx.:xx.xx                             xxx                 No
    
    
    Switch will be reloaded for disruptive upgrade.
    
    Do you want to continue with the installation (y/n)? [n] y
    
    Install is in progress, please wait.
    
    Performing runtime checks.
    [] 100% -- SUCCESS
    
    Setting boot variables.
    [] 100% -- SUCCESS
    
    Performing configuration copy.
    [] 100% -- SUCCESS
    
    Module 1: Refreshing compact flash and upgrading bios/loader/bootrom.
    Warning: please do not remove or power off the module at this time.
    [] 100% -- SUCCESS
    
    Finishing the upgrade, switch will reboot in 10 seconds.
  4. 交換器重新啟動後,使用交換器 CLI 驗證 NX-OS 的新版本:

    show version

    顯示範例
    cs2# show version
    Cisco Nexus Operating System (NX-OS) Software
    TAC support: http://www.cisco.com/tac
    Copyright (C) 2002-2025, Cisco and/or its affiliates.
    All rights reserved.
    The copyrights to certain works contained in this software are
    owned by other third parties and used and distributed under their own
    licenses, such as open source.  This software is provided "as is," and unless
    otherwise stated, there is no warranty, express or implied, including but not
    limited to warranties of merchantability and fitness for a particular purpose.
    Certain components of this software are licensed under
    the GNU General Public License (GPL) version 2.0 or
    GNU General Public License (GPL) version 3.0  or the GNU
    Lesser General Public License (LGPL) Version 2.1 or
    Lesser General Public License (LGPL) Version 2.0.
    A copy of each such license is available at
    http://www.opensource.org/licenses/gpl-2.0.php and
    http://opensource.org/licenses/gpl-3.0.html and
    http://www.opensource.org/licenses/lgpl-2.1.php and
    http://www.gnu.org/licenses/old-licenses/library.txt.
    
    
    Software
      BIOS: version 01.14
      NXOS: version 10.4(2) [Feature Release]
      Host NXOS: version 10.4(2)
      BIOS compile time:  11/25/2024
      NXOS image file is: bootflash:///nxos64-cs.10.4.2.F.bin
      NXOS compile time:  11/30/2023 12:00:00 [12/14/2023 05:25:50]
      NXOS boot mode: LXC
    
    
    Hardware
      cisco Nexus9000 C9332D-GX2B Chassis
      Intel(R) Xeon(R) CPU D-1633N @ 2.50GHz with 32802156 kB of memory.
      Processor Board ID FLMXXXXXXXX
      Device name: cs2
      bootflash:  115802886 kB
    
    
    Kernel uptime is 5 day(s), 2 hour(s), 13 minute(s), 21 second(s)
    
    
    Last reset at 3580 usecs after Thu Jun  5 15:55:08 2025
      Reason: Reset Requested by CLI command reload
      System version: 10.4(2)
      Service:
    
    
    plugin
      Core Plugin, Ethernet Plugin
    
    
    Active Package(s):
    
    cs2#
  5. 使用交換器 CLI,透過以下指令升級 EPLD 映像:

    show version module 1 epld

    install epld bootflash:n9000-epld.<version>.img module all

    最後一條指令執行完畢後,交換器將重新啟動。

    顯示範例

    此範例使用 EPLD 版本 10.4.2.F

    cs2# show version module 1 epld
    
    EPLD Device                     Version
    ---------------------------------------
    MI   FPGA                        0x7
    IO   FPGA                        0x17
    MI   FPGA2                       0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
    
    cs2# install epld bootflash:n9000-epld.10.4.2.F.img module all
    Compatibility check:
    Module        Type         Upgradable        Impact    Reason
    ------  ------------------ ----------------- --------- -----------
         1         SUP         Yes       disruptive  Module Upgradable
    
    Retrieving EPLD versions.... Please wait.
    Images will be upgraded according to following table:
    Module  Type   EPLD              Running-Version   New-Version  Upg-Required
    ------- ------ ----------------- ----------------- ------------ ------------
         1  SUP    MI FPGA           0x07              0x07         No
         1  SUP    IO FPGA           0x17              0x19         Yes
         1  SUP    MI FPGA2          0x02              0x02         No
    The above modules require upgrade.
    The switch will be reloaded at the end of the upgrade
    Do you want to continue (y/n) ?  [n] y
    
    Proceeding to upgrade Modules.
    
    Starting Module 1 EPLD Upgrade
    
    Module 1 : IO FPGA [Programming] : 100.00% (     64 of      64 sectors)
    Module 1 EPLD upgrade is successful.
    Module   Type  Upgrade-Result
    -------- ----- --------------
         1   SUP   Success
    
    EPLDs upgraded.
    
    Module 1 EPLD upgrade is successful.
  6. 交換器重新啟動後,使用交換器 CLI 登入並驗證新版本的 EPLD 是否已成功載入。

    show version module 1 epld

    顯示範例
    cs1# show version module 1 epld
    
    EPLD Device                     Version
    ---------------------------------------
    MI   FPGA                        0x7
    IO   FPGA                        0x19
    MI   FPGA2                       0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
    GEM  FPGA                        0x2
  7. 使用 ONTAP CLI 驗證叢集上所有連接埠的運作狀況。

    1. 集群連接埠

      1. 確認叢集中所有節點的叢集連接埠均已啟動且運作狀況良好:

        network port show -ipspace Cluster
        顯示範例
        cluster1::*> network port show -ipspace Cluster
        
        Node: node1-01
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/10000 healthy  false
        e7b       Cluster      Cluster          up   9000  auto/10000 healthy  false
        
        Node: node1-02
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/10000 healthy  false
        e7b       Cluster      Cluster          up   9000  auto/10000 healthy  false
        
        Node: node1-03
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/100000 healthy false
        e7b       Cluster      Cluster          up   9000  auto/100000 healthy false
        
        Node: node1-04
                                                                               Ignore
                                                          Speed(Mbps) Health   Health
        Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
        --------- ------------ ---------------- ---- ---- ----------- -------- ------
        e7a       Cluster      Cluster          up   9000  auto/100000 healthy false
        e7b       Cluster      Cluster          up   9000  auto/100000 healthy false
      2. 從叢集驗證交換器運作狀況:

        network device-discovery show -protocol cdp
        system cluster-switch show -is-monitoring-enabled-operational true
        顯示範例
        cluster1::*> network device-discovery show -protocol cdp
        
        node1-01/cdp
                    e10a   cs1(FLMXXXXXXXX)         Ethernet1/16/3    N9K-C9364D-GX2A
                    e10b   cs2(FDOXXXXXXXX)         Ethernet1/13/3    N9K-C9364D-GX2A
                    e11a   cs1(FLMXXXXXXXX)         Ethernet1/16/4    N9K-C9364D-GX2A
                    e11b   cs2(FDOXXXXXXXX)         Ethernet1/13/4    N9K-C9364D-GX2A
                    e1a    cs1(FLMXXXXXXXX)         Ethernet1/16/1    N9K-C9364D-GX2A
                    e1b    cs2(FDOXXXXXXXX)         Ethernet1/13/1    N9K-C9364D-GX2A
                    .
                    .
                    .
                    e7a    cs1(FLMXXXXXXXX)         Ethernet1/16/2    N9K-C9364D-GX2A
                    e7b    cs2(FDOXXXXXXXX)         Ethernet1/13/2    N9K-C9364D-GX2A
        
        node1-02/cdp
                    e10a   cs1(FLMXXXXXXXX)         Ethernet1/16/3    N9K-C9364D-GX2A
                    e10b   cs2(FDOXXXXXXXX)         Ethernet1/13/3    N9K-C9364D-GX2A
                    e11a   cs1(FLMXXXXXXXX)         Ethernet1/16/4    N9K-C9364D-GX2A
                    e11b   cs2(FDOXXXXXXXX)         Ethernet1/13/4    N9K-C9364D-GX2A
                    e1a    cs1(FLMXXXXXXXX)         Ethernet1/16/1    N9K-C9364D-GX2A
                    e1b    cs2(FDOXXXXXXXX)         Ethernet1/13/1    N9K-C9364D-GX2A
                    .
                    .
                    .
                    e7a    cs1(FLMXXXXXXXX)         Ethernet1/16/2    N9K-C9364D-GX2A
                    e7b    cs2(FDOXXXXXXXX)         Ethernet1/13/2    N9K-C9364D-GX2A
        .
        .
        .
        
        cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
        Switch                      Type               Address          Model
        --------------------------- ------------------ ---------------- ---------------
        cs2(FDOXXXXXXXX)            cluster-network    10.228.137.233   N9K-C9364D-GX2A
             Serial Number: FDOXXXXXXXX
              Is Monitored: true
                    Reason: None
          Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                            10.4(2)
            Version Source: CDP/ISDP
        
        
        cs1(FLMXXXXXXXX)             cluster-network   10.228.137.253   N9K-C9364D-GX2A
             Serial Number: FLMXXXXXXXX
              Is Monitored: true
                    Reason: None
          Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                            10.4(2)
            Version Source: CDP/ISDP
    2. HA 連接埠

      1. 驗證所有 HA 連接埠是否處於正常運作狀態:

        ha interconnect status show -node <node-name>
        顯示範例
        cluster1::*> ha interconnect status show -node node1-01
          (system ha interconnect status show)
        
                               Node: node1-01
                      Link 0 Status: up
                      Link 1 Status: up
                   Is Link 0 Active: true
                   Is Link 1 Active: true
                 IC RDMA Connection: up
                               Slot: 0
                     Debug Firmware: no
        
        
        Interconnect Port 0 :
                          Port Name: e1a-17
                                MTU: 4096
                   Link Information: ACTIVE
        
        
        Interconnect Port 1 :
                          Port Name: e1b-18
                                MTU: 4096
                   Link Information: ACTIVE
        
        cluster1::*> ha interconnect status show -node node1-02
          (system ha interconnect status show)
        
                               Node: node1-02
                      Link 0 Status: up
                      Link 1 Status: up
                   Is Link 0 Active: true
                   Is Link 1 Active: true
                 IC RDMA Connection: up
                               Slot: 0
                     Debug Firmware: no
        
        
        Interconnect Port 0 :
                          Port Name: e1a-17
                                MTU: 4096
                   Link Information: ACTIVE
        
        
        Interconnect Port 1 :
                          Port Name: e1b-18
                                MTU: 4096
                   Link Information: ACTIVE
        .
        .
        .
    3. 儲存連接埠

      1. 驗證所有儲存連接埠均處於正常狀態:

        storage port show -port-type ENET
        顯示範例
        cluster1::*> storage port show -port-type ENET
        
                                              Speed
        Node               Port Type  Mode    (Gb/s) State    Status
        ------------------ ---- ----- ------- ------ -------- -----------
        node1-01
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        node1-02
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        node1-03
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
        node1-04
                           e10a ENET  -          100 enabled  online
                           e10b ENET  -          100 enabled  online
                           e11a ENET  -          100 enabled  online
                           e11b ENET  -          100 enabled  online
        16 entries were displayed.
    4. 儲存架連接埠

      1. 驗證所有儲存架連接埠是否處於正常狀態:

        storage shelf port show
        顯示範例
        cluster1::*> storage shelf port show
        
        Shelf ID Module State        Internal?
        ----- -- ------ ------------ ---------
        1.1
               0 A      connected    false
               1 A      connected    false
               2 A      connected    false
               3 A      connected    false
               4 A      connected    false
               5 A      connected    false
               6 A      connected    false
               7 A      connected    false
               8 B      connected    false
               9 B      connected    false
              10 B      connected    false
              11 B      connected    false
              12 B      connected    false
              13 B      connected    false
              14 B      connected    false
              15 B      connected    false
        
        16 entries were displayed.
      2. 驗證所有儲存架連接埠的連線狀態:

        storage shelf port show -fields remote-device,remote-port,connector-state
        顯示範例
        cluster1::*> storage shelf port show -fields remote-device,remote-port,connector-state
        
        shelf id connector-state remote-port    remote-device
        ----- -- --------------- -------------- -----------------
        1.1   0  connected       Ethernet1/17/1 CX9332D-cs1
        1.1   1  connected       Ethernet1/15/1 CX9364D-cs1
        1.1   2  connected       Ethernet1/17/2 CX9332D-cs1
        1.1   3  connected       Ethernet1/15/2 CX9364D-cs1
        1.1   4  connected       Ethernet1/17/3 CX9332D-cs1
        1.1   5  connected       Ethernet1/15/3 CX9364D-cs1
        1.1   6  connected       Ethernet1/17/4 CX9332D-cs1
        1.1   7  connected       Ethernet1/15/4 CX9364D-cs1
        1.1   8  connected       Ethernet1/19/1 CX9332D-cs1
        1.1   9  connected       Ethernet1/17/1 CX9364D-cs1
        1.1   10 connected       Ethernet1/19/2 CX9332D-cs1
        1.1   11 connected       Ethernet1/17/2 CX9364D-cs1
        1.1   12 connected       Ethernet1/19/3 CX9332D-cs1
        1.1   13 connected       Ethernet1/17/3 CX9364D-cs1
        1.1   14 connected       Ethernet1/19/4 CX9332D-cs1
        1.1   15 connected       Ethernet1/17/4 CX9364D-cs1
        
        16 entries were displayed.
  8. 使用 ONTAP CLI 驗證叢集是否運作正常:

    cluster show
    顯示範例
    cluster1::*> cluster show
    
    
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  ------------
    node1-01             true    true          false
    node1-02             true    true          false
    node1-03             true    true          false
    node1-04             true    true          true
    
    4 entries were displayed.
  9. 重複這些步驟,在交換器 cs2 上安裝 NX-OS 和 EPLD 映像。

步驟 3:完成 NX-OS 升級

使用 ONTAP CLI,重新啟用叢集 LIF 上的自動還原功能,並驗證叢集 LIF 是否已還原至其主連接埠,從而完成 NX-OS 升級。

  1. 重新啟用叢集 LIF 的自動回復功能。

    network interface modify -vserver Cluster -lif * -auto-revert true
  2. 確認叢集 LIF 已恢復到其原始連接埠:

    network interface show -role cluster
    顯示範例
    cluster1::*> network interface show -role cluster
    
                Logical         Status     Network            Current     Current Is
    Vserver     Interface       Admin/Oper Address/Mask       Node        Port    Home
    ----------- --------------- ---------- ------------------ ----------- ------- ----
    Cluster
                node1-01_clus1  up/up      169.254.36.44/16   node1-01    e7a     true
                node1-01_clus2  up/up      169.254.7.5/16     node1-01    e7b     true
                node1-02_clus1  up/up      169.254.197.206/16 node1-02    e7a     true
                node1-02_clus2  up/up      169.254.195.186/16 node1-02    e7b     true
                node1-03_clus1  up/up      169.254.192.49/16  node1-03    e7a     true
                node1-03_clus2  up/up      169.254.182.76/16  node1-03    e7b     true
                node1-04_clus1  up/up      169.254.59.49/16   node1-04    e7a     true
                node1-04_clus2  up/up      169.254.62.244/16  node1-04    e7b     true

    如果任何叢集 LIF 尚未返回其來源端口,請從本機節點手動將其還原:

    network interface revert -vserver Cluster -lif <lif-name>
下一步是什麼?

在交換器上升級 NX-OS 之後,您需要從 "安裝或升級 RCF 概述" 開始升級 RCF。