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

安裝NX-OS軟體和RCT

貢獻者

在Cisco Nexus 9336C-FX2交換器上安裝NX-OS軟體和RCF

Cisco NX-OS軟體與參考組態檔(RCF)必須安裝在Cisco Nexus 9336C-FX2叢集交換器上。

在叢集交換器上安裝NX-OS軟體和RCF之前、必須符合下列條件:

  • 叢集必須完全正常運作(記錄中不應有錯誤或類似問題)。

  • 如果您只安裝NX-OS並保留目前的RCF版本、則必須在RCF中檢查或設定所需的開機組態、以反映所需的開機映像。

  • 如果您需要變更開機組態以反映目前的開機映像、則必須在重新套用RCF之前執行此動作、以便在未來重新開機時產生正確的版本。

  • 安裝RCF時、您必須有與交換器的主控台連線。

  • 您必須查閱Cisco乙太網路交換器頁面上的交換器相容性表、以取得支援ONTAP 的版本、包括支援的版本、作業系統和RCF。請參閱 "Cisco乙太網路交換器" 以取得更多資訊。

  • RCF中的命令語法與NX-OS版本中的命令語法之間可能存在相依性。

  • 您必須參閱Cisco網站上提供的適當軟體與升級指南、以取得Cisco Nexus 9000系列交換器上Cisco交換器升級與降級程序的完整文件。請參閱 "Cisco Nexus 9000系列交換器" 以取得更多資訊。

  • 您必須擁有目前的RCF。

本程序中的範例使用兩個節點。這些節點使用兩個100GbE叢集互連連接埠e3a和e3b、如同A400控制器。請參閱 "Hardware Universe" 驗證平台上的叢集連接埠是否正確。

附註 命令輸出可能會因ONTAP 不同版本的不相同而有所差異。

本程序中的範例使用下列交換器和節點命名法:

  • 這兩個Cisco交換器的名稱為_CS1_和_CS2_。

  • 節點名稱為_cluster1-01_和_cluster1-02_。

  • 叢集LIF的名稱為_cluster1-01_clus1_、而叢集1-01_clus2_則為叢集1-01和叢集1-02_clus1_、叢集1-02_clus2_則為叢集1-02。

  • cluster1::*>提示會指出叢集的名稱。

附註
  • 此程序需要同時使用ONTAP 支援指令和Cisco Nexus 9000系列交換器的指令;ONTAP 除非另有說明、否則會使用支援指令。

  • 執行此程序之前、請先確定您目前已備份交換器組態。

步驟
  1. 如果AutoSupport 此叢集啟用了Section,則會叫用AutoSupport 下列訊息來抑制自動案例建立:「System nodeeseInvoke AutoSupport -Node *-type all -most mn=x h」

    其中x是維護時段的持續時間(以小時為單位)。

  2. 將權限層級變更為進階、並在系統提示您繼續時輸入y:「et -priv榮幸advanced'(設定-權限進階)」

    出現進階提示(*>)。

  3. 顯示每個叢集互連交換器的每個節點已設定多少個叢集互連介面:「network device-dDiscovery show -protocol cup」

    cluster1:: network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------- --------
    cluster1-02/cdp
                e3a    cs1                       Eth1/2            N9K-C9336C
                e3b    cs2                       Eth1/2            N9K-C9336C
    cluster1-01/cdp
                e3a    cs1                       Eth1/1            N9K-C9336C
                e3b    cs2                       Eth1/1            N9K-C9336C
    4 entries were displayed.
  4. 檢查每個叢集介面的管理或作業狀態:

    1. 顯示網路連接埠屬性:「network port show–IPSpace Cluster(網路連接埠顯示–IPSpace叢集)」

      cluster1::*> network port show -ipspace Cluster
      Node: cluster1-02
                                                        Speed(Mbps)  Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper   Status
      --------- ------------ ---------------- ---- ---- ------------ ------
      e3a       Cluster      Cluster          up   9000  auto/100000 healthy
      e3b       Cluster      Cluster          up   9000  auto/100000 healthy
      
      Node: cluster1-01
                                                        Speed(Mbps)  Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper   Status
      --------- ------------ ---------------- ---- ---- ------------ ------
      e3a       Cluster      Cluster          up   9000  auto/100000 healthy
      e3b       Cluster      Cluster          up   9000  auto/100000 healthy
      4 entries were displayed.
    2. 顯示有關生命的資訊:「網路介面show - vserver叢集」

      cluster1::*> network interface show -vserver Cluster
              Logical            Status     Network            Current    Current Is
      Vserver Interface          Admin/Oper Address/Mask       Node        Port   Home
      ------- ------------------ ---------- ------------------ ----------- ------ ----
      Cluster
              cluster1-01_clus1  up/up      169.254.209.69/16  cluster1-01  e3a   true
              cluster1-01_clus2  up/up      169.254.49.125/16  cluster1-01  e3b   true
              cluster1-02_clus1  up/up      169.254.47.194/16  cluster1-02  e3a   true
              cluster1-02_clus2  up/up      169.254.19.183/16  cluster1-02  e3b   true
      4 entries were displayed.
  5. Ping遠端叢集lifs:「叢集ping叢集節點節點名稱」

    cluster1::*> cluster ping-cluster -node cluster1-02
    Host is cluster1-02
    Getting addresses from network interface table...
    Cluster cluster1-01_clus1 169.254.209.69 cluster1-01     e3a
    Cluster cluster1-01_clus2 169.254.49.125 cluster1-01     e3b
    Cluster cluster1-02_clus1 169.254.47.194 cluster1-02     e3a
    Cluster cluster1-02_clus2 169.254.19.183 cluster1-02     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)
  6. 確認所有叢集lifs上都已啟用自動還原命令:「network interface show - vserver cluster -Fields autosf還原」(網路介面show - vserver叢集-Fields自動還原)

    cluster1::*> network interface show -vserver Cluster -fields auto-revert
              Logical
    Vserver   Interface            Auto-revert
    --------- ––––––-------------- ------------
    Cluster
              cluster1-01_clus1    true
              cluster1-01_clus2    true
              cluster1-02_clus1    true
              cluster1-02_clus2    true
    4 entries were displayed.
  7. 使用下列命令、啟用乙太網路交換器健全狀況監視器記錄收集功能、以收集交換器相關的記錄檔:

    • 「系統交換器乙太網路記錄設定密碼」

    • 「系統交換器乙太網路記錄啟用收集」

      cluster1::*> system switch ethernet log setup password
      Enter the switch name: <return>
      The switch name entered is not recognized.
      Choose from the following list:
      cs1
      cs2
      cluster1::*> system switch ethernet log setup-password
      Enter the switch name: cs1
      RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc
      Do you want to continue? {y|n}::[n] y
      Enter the password: <enter switch password>
      Enter the password again: <enter switch password>
      cluster1::*> system switch ethernet log setup-password
      Enter the switch name: cs2
      RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1
      Do you want to continue? {y|n}:: [n] y
      Enter the password: <enter switch password>
      Enter the password again: <enter switch password>
      cluster1::*> system  switch ethernet log enable-collection
      Do you want to enable cluster log collection for all nodes in the cluster? {y|n}: [n] y
      Enabling cluster switch log collection.
      cluster1::*>
附註 如果這些命令中有任何一個出現錯誤、請聯絡NetApp支援部門。

在Cisco Nexus 9336C-FX2叢集交換器上安裝NX-OS軟體

您可以使用此程序、在Cisco Nexus 9336C-FX2叢集交換器上安裝NX-OS軟體。

步驟
  1. 將叢集交換器連線至管理網路。

  2. 使用「ping」命令來驗證與裝載NX-OS軟體和RCF之伺服器的連線。

    此範例可驗證交換器是否能以IP位址「172.19.2.1(IP位址:

    cs2# 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. [[step3]將NX-OS軟體和EPLD映像複製到Nexus 9336C-FX2交換器。

    cs2# copy sftp: bootflash: vrf management
    Enter source filename: /code/nxos.9.3.5.bin
    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/nxos.9.3.5.bin  /bootflash/nxos.9.3.5.bin
    /code/nxos.9.3.5.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.9.3.5.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.9.3.5.img  /bootflash/n9000-epld.9.3.5.img
    /code/n9000-epld.9.3.5.img  100%  161MB   9.5MB/s   00:16
    sftp> exit
    Copy complete, now saving to disk (please wait)...
    Copy complete.
  4. [[step4]驗證NX-OS軟體的執行版本:「How version」(顯示版本)

    cs2# show version
    Cisco Nexus Operating System (NX-OS) Software
    TAC support: http://www.cisco.com/tac
    Copyright (C) 2002-2020, 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 08.38
      NXOS: version 9.3(4)
      BIOS compile time:  05/29/2020
      NXOS image file is: bootflash:///nxos.9.3.4.bin
      NXOS compile time:  4/28/2020 21:00:00 [04/29/2020 02:28:31]
    Hardware
      cisco Nexus9000 C9336C-FX2 Chassis
      Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory.
      Processor Board ID FOC20291J6K
      Device name: cs2
      bootflash:   53298520 kB
    Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s)
    Last reset at 157524 usecs after Mon Nov  2 18:32:06 2020
      Reason: Reset Requested by CLI command reload
      System version: 9.3(4)
      Service:
    plugin
      Core Plugin, Ethernet Plugin
    Active Package(s):
    
    cs2#
  5. [[step5]安裝NX-OS映像。

    附註 安裝映像檔會在每次重新開機時載入映像檔。
    cs2# install all nxos bootflash:nxos.9.3.5.bin
    Installer will perform compatibility check first. Please wait.
    Installer is forced disruptive
    Verifying image bootflash:/nxos.9.3.5.bin for boot variable "nxos".
    [] 100% -- SUCCESS
    Verifying image type.
    [] 100% -- SUCCESS
    Preparing "nxos" version info using image bootflash:/nxos.9.3.5.bin.
    [] 100% -- SUCCESS
    Preparing "bios" version info using image bootflash:/nxos.9.3.5.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     9.3(4)                                 9.3(5)              yes
      1      bios     v08.37(01/28/2020):v08.23(09/23/2015)  v08.38(05/29/2020)  yes
    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.
  6. [[step6]切換器重新開機後、請驗證新版NX-OS軟體:「How version」(顯示版本)

    cs2# show version
    Cisco Nexus Operating System (NX-OS) Software
    TAC support: http://www.cisco.com/tac
    Copyright (C) 2002-2020, 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 05.33
      NXOS: version 9.3(5)
      BIOS compile time:  09/08/2018
      NXOS image file is: bootflash:///nxos.9.3.5.bin
      NXOS compile time:  11/4/2018 21:00:00 [11/05/2018 06:11:06]
    Hardware
      cisco Nexus9000 C9336C-FX2 Chassis
      Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory.
      Processor Board ID FOC20291J6K
      Device name: cs2
      bootflash:   53298520 kB
    Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s)
    Last reset at 277524 usecs after Mon Nov  2 22:45:12 2020
      Reason: Reset due to upgrade
      System version: 9.3(4)
      Service:
    plugin
      Core Plugin, Ethernet Plugin
    Active Package(s):
  7. [[step7]升級EPLD映像、然後重新啟動交換器。

    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.9.3.5.img module 1
    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.
  8. [[step8]交換器重新開機後、請再次登入、並確認新版的EPLD已成功載入。

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

在Cisco Nexus 9336C-FX2叢集交換器上安裝RCF

您可以在初次設定Nexus 9336C-FX2叢集交換器之後安裝RCF。您也可以使用此程序來升級叢集交換器上的RCF版本。

本程序中的範例使用下列交換器和節點命名法:

  • 兩個Cisco交換器的名稱分別為「CS1」和「CS2」。

  • 節點名稱包括"cluster1-01"、"cluster1-02"、"cluster1-03"和"cluster1-04"。

  • 叢集LIF名稱為「cluster1-01_clus1」、「cluster1-01_clus2」、「cluster1-02_clus1」、「cluster1-02_clus2」、「cluster1-03_clus1」、 "cluster1-03_clus2"、"cluster1-04_clus1"和"cluster1-04_clus2"。

  • cluster1::*>提示會指出叢集的名稱。

附註
  • 此程序需要同時使用ONTAP 支援指令和Cisco Nexus 9000系列交換器的指令;ONTAP 除非另有說明、否則會使用支援指令。

  • 執行此程序之前、請先確定您目前已備份交換器組態。

步驟
  1. 顯示連接至叢集交換器的每個節點上的叢集連接埠:「網路裝置探索秀」

    cluster1::*> network device-discovery show
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  --------
    cluster1-01/cdp
                e3a    cs1                       Ethernet1/7       N9K-C9336C
                e0d    cs2                       Ethernet1/7       N9K-C9336C
    cluster1-02/cdp
                e3a    cs1                       Ethernet1/8       N9K-C9336C
                e0d    cs2                       Ethernet1/8       N9K-C9336C
    cluster1-03/cdp
                e3a    cs1                       Ethernet1/1/1     N9K-C9336C
                e3b    cs2                       Ethernet1/1/1     N9K-C9336C
    cluster1-04/cdp
                e3a    cs1                       Ethernet1/1/2     N9K-C9336C
                e3b    cs2                       Ethernet1/1/2     N9K-C9336C
    cluster1::*>
  2. 檢查每個叢集連接埠的管理和作業狀態。

  3. 確認所有叢集連接埠都處於正常狀態:「網路連接埠顯示–角色叢集」

    cluster1::*> network port show -role cluster
    Node: cluster1-01
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e3a       Cluster      Cluster          up   9000  auto/100000 healthy false
    e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
    Node: cluster1-02
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e3a       Cluster      Cluster          up   9000  auto/100000 healthy false
    e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
    8 entries were displayed.
    Node: cluster1-03
    
                                                                            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: cluster1-04
                                                                            Ignore
                                                      Speed(Mbps)  Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper   Status   Status
    --------- ------------ ---------------- ---- ---- ------------ -------- ------
    e0a       Cluster      Cluster          up   9000  auto/100000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/100000 healthy  false
    cluster1::*>
  4. 確認所有叢集介面(lifs)都位於主連接埠:「網路介面show -role cluster」(網路介面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
            cluster1-01_clus1  up/up     169.254.3.4/23   cluster1-01  e3a     true
            cluster1-01_clus2  up/up     169.254.3.5/23   cluster1-01  e0d     true
            cluster1-02_clus1  up/up     169.254.3.8/23   cluster1-02  e3a     true
            cluster1-02_clus2  up/up     169.254.3.9/23   cluster1-02  e0d     true
            cluster1-03_clus1  up/up     169.254.1.3/23   cluster1-03  e3a     true
            cluster1-03_clus2  up/up     169.254.1.1/23   cluster1-03  e3b     true
            cluster1-04_clus1  up/up     169.254.1.6/23   cluster1-04  e3a     true
            cluster1-04_clus2  up/up     169.254.1.7/23   cluster1-04  e3b     true
    8 entries were displayed.
    cluster1::*>
  5. [[step5]驗證叢集是否顯示兩個叢集交換器的資訊:「系統叢集交換器show -is監控啟用運作的true」

    cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- -----
    cs1                         cluster-network    10.233.205.90    N9K-C9336C
         Serial Number: FOCXXXXXXGD
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        9.3(5)
        Version Source: CDP
    cs2                         cluster-network    10.233.205.91    N9K-C9336C
         Serial Number: FOCXXXXXXGS
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        9.3(5)
        Version Source: CDP
    cluster1::*>
  6. 停用叢集生命體上的自動還原功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert false
  7. [[step7]在叢集交換器CS2上、關閉連接至節點叢集連接埠的連接埠。

    cs2(config)# interface eth1/1/1-2,eth1/7-8
    cs2(config-if-range)# shutdown
  8. 確認叢集LIF已移轉至叢集交換器CS1上裝載的連接埠。這可能需要幾秒鐘的時間:「網路介面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
            cluster1-01_clus1 up/up     169.254.3.4/23   cluster1-01   e3a     true
            cluster1-01_clus2 up/up     169.254.3.5/23   cluster1-01   e3a     false
            cluster1-02_clus1 up/up     169.254.3.8/23   cluster1-02   e3a     true
            cluster1-02_clus2 up/up     169.254.3.9/23   cluster1-02   e3a     false
            cluster1-03_clus1 up/up     169.254.1.3/23   cluster1-03   e3a     true
            cluster1-03_clus2 up/up     169.254.1.1/23   cluster1-03   e3a     false
            cluster1-04_clus1 up/up     169.254.1.6/23   cluster1-04   e3a     true
            cluster1-04_clus2 up/up     169.254.1.7/23   cluster1-04   e3a     false
    8 entries were displayed.
    cluster1::*>
  9. [[step9]驗證叢集是否正常:「叢集顯示」

    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
    4 entries were displayed.
    cluster1::*>
  10. [[step10]如果您尚未這麼做、請將下列命令的輸出複製到記錄檔、以儲存目前的交換器組態:

    show running-config
  11. [[step11]清除交換器CS2上的組態、然後執行基本設定。

    1. 清除組態。此步驟需要主控台連線至交換器。

      cs2# write erase
      Warning: This command will erase the startup-configuration.
      Do you wish to proceed anyway? (y/n)  [n] y
      cs2# reload
      This command will reboot the system. (y/n)?  [n] y
      cs2#
    2. 執行交換器的基本設定。

  12. [[step12]使用下列傳輸協定之一、將RCF複製到交換器CS2的bootflash:FTP、TFTP、SFTP或scp。如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    此範例顯示使用TFTP將RCF複製到交換器CS2上的bootflash。

    cs2# copy tftp: bootflash: vrf management
    Enter source filename: Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt
    Enter hostname for the tftp server: 172.22.201.50
    Trying to connect to tftp server......Connection to Server Established.
    TFTP get operation was successful
    Copy complete, now saving to disk (please wait)...
  13. [[step13]套用先前下載至bootflash的RCF。如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    此範例顯示在交換器CS2上安裝的RCF檔案「Nexus _9336C_RCF-v1.6-Cluster-HA-Breakout.txt"。

    cs2# copy Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
  14. [[step14]檢查「show banner motd」命令的橫幅輸出。您必須閱讀並遵循這些指示、以確保交換器的組態和操作正確無誤。

    cs2# show banner motd
    ***************************************************************************
    * NetApp Reference Configuration File (RCF)
    *
    * Switch   : Nexus N9K-C9336C-FX2
    * Filename : Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt
    * Date     : 10-23-2020
    * Version  : v1.6
    *
    * Port Usage:
    * Ports  1- 3: Breakout mode (4x10G) Intra-Cluster Ports, int e1/1/1-4,
    * e1/2/1-4, e1/3/1-4
    * Ports  4- 6: Breakout mode (4x25G) Intra-Cluster/HA Ports, int e1/4/1-4,
    * e1/5/1-4, e1/6/1-4
    * Ports  7-34: 40/100GbE Intra-Cluster/HA Ports, int e1/7-34
    * Ports 35-36: Intra-Cluster ISL Ports, int e1/35-36
    *
    * Dynamic breakout commands:
    * 10G: interface breakout module 1 port <range> map 10g-4x
    * 25G: interface breakout module 1 port <range> map 25g-4x
    *
    * Undo breakout commands and return interfaces to 40/100G configuration in
    * config mode:
    * no interface breakout module 1 port <range> map 10g-4x
    * no interface breakout module 1 port <range> map 25g-4x
    * interface Ethernet <interfaces taken out of breakout mode>
    * inherit port-profile 40-100G
    * priority-flow-control mode auto
    * service-policy input HA
    * exit
    *
    ***************************************************************************
  15. [[step15]確認RCF檔案為正確的更新版本:「How running-config」

    當您檢查輸出以確認您擁有正確的RCF時、請確定下列資訊正確無誤:

    • RCF橫幅

    • 節點和連接埠設定

    • 自訂

      輸出會因站台組態而異。請檢查連接埠設定、並參閱版本說明、以瞭解您安裝的RCF的任何特定變更。

  16. 驗證RCF版本和交換器設定是否正確之後、請將執行組態檔複製到啟動組態檔。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    cs2# copy running-config startup-config [] 100% Copy complete
  17. [[step17]重新開機交換器CS2。您可以在交換器重新開機時忽略節點上報告的「叢集連接埠當機」事件。

    cs2# reload
    This command will reboot the system. (y/n)?  [n] y
  18. [[step18]套用相同的RCF、並再次儲存執行中的組態。

    cs2# copy Nexus_9336C_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
    cs2# copy running-config startup-config [] 100% Copy complete
  19. [[step19]驗證叢集上叢集連接埠的健全狀況。

    1. 驗證叢集中所有節點的e0d連接埠是否正常運作:「network port show -role cluster」(網路連接埠show -role叢集)

      cluster1::*> network port show -role cluster
      Node: cluster1-01
                                                                         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: cluster1-02
                                                                         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: cluster1-03
                                                                         Ignore
                                                    Speed(Mbps) Health   Health
      Port   IPspace    Broadcast Domain Link MTU   Admin/Oper  Status   Status
      ------ ---------- ---------------- ---- ----- ----------- -------- ------
      e3a    Cluster    Cluster          up   9000  auto/100000 healthy  false
      e0d    Cluster    Cluster          up   9000  auto/100000 healthy  false
      
      Node: cluster1-04
                                                                         Ignore
                                                    Speed(Mbps) Health   Health
      Port   IPspace    Broadcast Domain Link MTU   Admin/Oper  Status   Status
      ------ ---------- ---------------- ---- ----- ----------- -------- ------
      e3a    Cluster      Cluster        up   9000  auto/100000 healthy  false
      e0d    Cluster      Cluster        up   9000  auto/100000 healthy  false
      8 entries were displayed.
    2. 驗證叢集的交換器健全狀況(這可能不會顯示交換器CS2、因為LIF不是位於e0d上)。

      cluster1::*> network device-discovery show -protocol cdp
      Node/       Local  Discovered
      Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
      ----------- ------ ------------------------- ----------------- --------
      cluster1-01/cdp
                  e3a    cs1                       Ethernet1/7       N9K-C9336C
                  e0d    cs2                       Ethernet1/7       N9K-C9336C
      cluster01-2/cdp
                  e3a    cs1                       Ethernet1/8       N9K-C9336C
                  e0d    cs2                       Ethernet1/8       N9K-C9336C
      cluster01-3/cdp
                  e3a    cs1                       Ethernet1/1/1     N9K-C9336C
                  e3b    cs2                       Ethernet1/1/1     N9K-C9336C
      cluster1-04/cdp
                  e3a    cs1                       Ethernet1/1/2     N9K-C9336C
                  e3b    cs2                       Ethernet1/1/2     N9K-C9336C
      cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
      Switch                      Type               Address          Model
      --------------------------- ------------------ ---------------- -----
      cs1                         cluster-network    10.233.205.90    NX9-C9336C
           Serial Number: FOCXXXXXXGD
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(5)
          Version Source: CDP
      cs2                         cluster-network    10.233.205.91    NX9-C9336C
           Serial Number: FOCXXXXXXGS
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(5)
          Version Source: CDP
      2 entries were displayed.
      附註 您可能會在CS1交換器主控台觀察下列輸出、視先前載入交換器的RCF版本而定。
    2020 Nov 17 16:07:18 cs1 %$ VDC-1 %$ %STP-2-UNBLOCK_CONSIST_PORT: Unblocking port port-channel1 on VLAN0092. Port consistency restored.
    2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_PEER: Blocking port-channel1 on VLAN0001. Inconsistent peer vlan.
    2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_LOCAL: Blocking port-channel1 on VLAN0092. Inconsistent local vlan.
  20. [[step20]在叢集交換器CS1上、關閉連接至節點叢集連接埠的連接埠。下列範例使用步驟1的介面輸出範例:

    cs1(config)# interface eth1/1/1-2,eth1/7-8
    cs1(config-if-range)# shutdown
  21. [[step2a]確認叢集LIF已移轉至交換器CS2上裝載的連接埠。這可能需要幾秒鐘的時間:「網路介面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
            cluster1-01_clus1  up/up       169.254.3.4/23   cluster1-01   e0d  false
            cluster1-01_clus2  up/up       169.254.3.5/23   cluster1-01   e0d   true
            cluster1-02_clus1  up/up       169.254.3.8/23   cluster1-02   e0d  false
            cluster1-02_clus2  up/up       169.254.3.9/23   cluster1-02   e0d   true
            cluster1-03_clus1  up/up       169.254.1.3/23   cluster1-03   e3b  false
            cluster1-03_clus2  up/up       169.254.1.1/23   cluster1-03   e3b   true
            cluster1-04_clus1  up/up       169.254.1.6/23   cluster1-04   e3b  false
            cluster1-04_clus2  up/up       169.254.1.7/23   cluster1-04   e3b   true
    8 entries were displayed.
    cluster1::*>
  22. [[step22]驗證叢集是否正常:「叢集顯示」

    cluster1::*> cluster show
    Node                 Health   Eligibility   Epsilon
    -------------------- -------- ------------- -------
    cluster1-01          true     true          false
    cluster1-02          true     true          false
    cluster1-03          true     true          true
    cluster1-04          true     true          false
    4 entries were displayed.
    cluster1::*>
  23. [[step23]重複交換器CS1上的步驟7至14。

  24. 在叢集生命體上啟用自動還原。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert True
  25. [[step25]重新開機交換器CS1。您可以這樣做、觸發叢集生命期以恢復到其主連接埠。您可以在交換器重新開機時忽略節點上報告的「叢集連接埠當機」事件。

    cs1# reload
    This command will reboot the system. (y/n)?  [n] y
  26. [[step26]驗證連接至叢集連接埠的交換器連接埠是否正常運作。

    cs1# show interface brief | grep up
    .
    .
    Eth1/1/1      1       eth  access up      none                   100G(D) --
    Eth1/1/2      1       eth  access up      none                   100G(D) --
    Eth1/7        1       eth  trunk  up      none                   100G(D) --
    Eth1/8        1       eth  trunk  up      none                   100G(D) --
    .
    .
  27. [[step27]確認CS1與CS2之間的ISL是否正常運作:「How port-channel Summary」(顯示連接埠通道摘要)

    cs1# show port-channel summary
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            b - BFD Session Wait
            S - Switched    R - Routed
            U - Up (port-channel)
            p - Up in delay-lacp mode (member)
            M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports      Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/35(P)        Eth1/36(P)
    cs1#
  28. [[step28]驗證叢集lifs是否已還原至其主連接埠:「網路介面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
            cluster1-01_clus1  up/up      169.254.3.4/23    cluster1-01  e0d   true
            cluster1-01_clus2  up/up      169.254.3.5/23    cluster1-01  e0d   true
            cluster1-02_clus1  up/up      169.254.3.8/23    cluster1-02  e0d   true
            cluster1-02_clus2  up/up      169.254.3.9/23    cluster1-02  e0d   true
            cluster1-03_clus1  up/up      169.254.1.3/23    cluster1-03  e3b   true
            cluster1-03_clus2  up/up      169.254.1.1/23    cluster1-03  e3b   true
            cluster1-04_clus1  up/up      169.254.1.6/23    cluster1-04  e3b   true
            cluster1-04_clus2  up/up      169.254.1.7/23    cluster1-04  e3b   true
    8 entries were displayed.
    cluster1::*>
  29. [[step29]驗證叢集是否正常:「叢集顯示」

    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------- -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
    4 entries were displayed.
    cluster1::*>
  30. [[step30] Ping遠端叢集介面以驗證連線能力:「叢集ping叢集節點local」

    cluster1::*> cluster ping-cluster -node local
    Host is cluster1-03
    Getting addresses from network interface table...
    Cluster cluster1-03_clus1 169.254.1.3 cluster1-03 e3a
    Cluster cluster1-03_clus2 169.254.1.1 cluster1-03 e3b
    Cluster cluster1-04_clus1 169.254.1.6 cluster1-04 e3a
    Cluster cluster1-04_clus2 169.254.1.7 cluster1-04 e3b
    Cluster cluster1-01_clus1 169.254.3.4 cluster1-01 e3a
    Cluster cluster1-01_clus2 169.254.3.5 cluster1-01 e0d
    Cluster cluster1-02_clus1 169.254.3.8 cluster1-02 e3a
    Cluster cluster1-02_clus2 169.254.3.9 cluster1-02 e0d
    Local = 169.254.1.3 169.254.1.1
    Remote = 169.254.1.6 169.254.1.7 169.254.3.4 169.254.3.5 169.254.3.8 169.254.3.9
    Cluster Vserver Id = 4294967293
    Ping status:
    ............
    Basic connectivity succeeds on 12 path(s)
    Basic connectivity fails on 0 path(s)
    ................................................
    Detected 9000 byte MTU on 12 path(s):
        Local 169.254.1.3 to Remote 169.254.1.6
        Local 169.254.1.3 to Remote 169.254.1.7
        Local 169.254.1.3 to Remote 169.254.3.4
        Local 169.254.1.3 to Remote 169.254.3.5
        Local 169.254.1.3 to Remote 169.254.3.8
        Local 169.254.1.3 to Remote 169.254.3.9
        Local 169.254.1.1 to Remote 169.254.1.6
        Local 169.254.1.1 to Remote 169.254.1.7
        Local 169.254.1.1 to Remote 169.254.3.4
        Local 169.254.1.1 to Remote 169.254.3.5
        Local 169.254.1.1 to Remote 169.254.3.8
        Local 169.254.1.1 to Remote 169.254.3.9
    Larger than PMTU communication succeeds on 12 path(s)
    RPC status:
    6 paths up, 0 paths down (tcp check)
    6 paths up, 0 paths down (udp check)

在Cisco Nexus 9336C-FX2儲存交換器上安裝RCF

參考組態檔(RCF)可在Cisco Nexus 9336C-FX2儲存交換器上升級。

在升級儲存交換器上的RCF之前、必須符合下列條件:

  • 交換器必須完全正常運作(記錄中不應有錯誤或類似問題)。

  • 如果您只安裝NX-OS並保留目前的RCF版本、則必須在RCF中檢查或設定所需的開機變數、以反映所需的開機映像。

  • 如果您需要變更開機變數以反映目前的開機映像、則必須在重新套用RCF之前執行此動作、以便在未來重新開機時產生正確的版本。

  • 您必須參閱Cisco網站上提供的適當軟體與升級指南、以取得Cisco儲存設備升級與降級程序的完整文件。請參閱 "Cisco Nexus 9000系列交換器" 以取得更多資訊。

  • 100個GbE連接埠的數量是在上可用的參考組態檔(RCT)中定義 "Cisco乙太網路交換器" 頁面。

程序摘要
  1. 檢查交換器和連接埠的健全狀況(步驟1-4)

  2. 將NX-OS映像下載至Cisco交換器ST2並重新開機(步驟5至8)

  3. 將RCF複製到Cisco交換器ST2(步驟9-12)

  4. 重新檢查交換器和連接埠的健全狀況(步驟13-15)

  5. 對Cisco交換器ST1重複步驟1-15。

附註 命令輸出可能會因ONTAP 不同版本的不相同而有所差異。

本程序中的範例使用下列交換器和節點命名法:

  • 兩個儲存交換器的名稱為_ST1_和_ST2_。

  • 節點是_node1_和_node2_。

附註
  • 此程序需要同時使用ONTAP 支援指令和Cisco Nexus 9000系列交換器的指令;ONTAP 除非另有說明、否則會使用支援指令。

  • 執行此程序之前、請先確定您目前已備份交換器組態。

步驟
  1. 如果AutoSupport 此叢集啟用了「支援功能」、請叫用AutoSupport 下列訊息來抑制自動建立案例:「System Node AutoSupport 支援功能叫用節點*-type all - Message MAn=xh」

    其中x是維護時段的持續時間(以小時為單位)。

  2. 檢查儲存交換器是否可用:「System switches Ethernet show」

    storage::*> system switch ethernet show
    Switch                    Type               Address          Model
    ------------------------- ------------------ ---------------- ---------------
    st1
                              storage-network    172.17.227.5     NX9-C9336C
          Serial Number: FOC221206C2
           Is Monitored: true
                 Reason: None
       Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                         9.3(5)
         Version Source: CDP
    st2
                              storage-network    172.17.227.6     NX9-C9336C
          Serial Number: FOC220443LZ
           Is Monitored: true
                 Reason: None
       Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                         9.3(5)
         Version Source: CDP
    2 entries were displayed.
    storage::*>
  3. [[step3]驗證節點連接埠是否正常運作:「torage port show -port-type ENET」

    storage::*> storage port show -port-type ENET
                                       Speed                            VLAN
    Node     Port   Type    Mode       (Gb/s)     State     Status        ID
    ------- ------- ------- ---------- ---------- --------- ----------- -----
    node1
            e3a     ENET    storage    100        enabled   online         30
            e3b     ENET    storage      0        enabled   offline        30
            e7a     ENET    storage      0        enabled   offline        30
            e7b     ENET    storage    100        enabled   online         30
    node2
            e3a     ENET    storage    100        enabled   online         30
            e3b     ENET    storage      0        enabled   offline        30
            e7a     ENET    storage      0        enabled   offline        30
            e7b     ENET    storage    100        enabled   online         30
  4. 檢查叢集是否有儲存交換器或纜線問題:「System health alerting show -instance」(系統健全狀況警示顯示-instance)

    storage::*> system health alert show -instance
    There are no entries matching your query.
  5. [[step5]下載NX-OS映像以切換ST2。

  6. 安裝系統映像、以便下次重新啟動交換器ST2時載入新版本。交換器會在10秒內重新開機、並顯示新映像、如下面的輸出所示:

    st2# install all nxos bootflash:nxos.9.3. 5.bin
    Installer will perform compatibility check first. Please wait.
    Installer is forced disruptive
    Verifying image bootflash:/nxos.9.3.4.bin for boot variable "nxos".
    [] 100% -- SUCCESS
    Verifying image type.
    [[] 100% -- SUCCESS
    Preparing "nxos" version info using image bootflash:/nxos.9.3.4.bin.
    [] 100% -- SUCCESS
    Preparing "bios" version info using image bootflash:/nxos.9.3.4.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                                     9.3(3)          9.3(4)       yes
     1     bios      v08.37(01/28/2020):v08.23(09/23/2015)   v08.38(05/29/2020)   no
    Switch will be reloaded for disruptive upgrade.
    Do you want to continue with the installation (y/n)? [n] y
    input string too long
    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.
    st2#
  7. [[step7]儲存組態。

    系統會提示您重新開機、如下例所示:

    st2# copy running-config startup-config
    [] 100% Copy complete.
    st2# reload
    This command will reboot the system. (y/n)? [n] y
  8. [[step8]確認交換器上有新的NX-OS版本號碼。

    st2# show version
    Cisco Nexus Operating System (NX-OS) Software
    TAC support: http://www.cisco.com/tac
    Upgrading a Cisco Nexus 9336C Storage Switch 6
    Upgrading a Cisco Nexus 9336C storage switch
    Copyright (C) 2002-2020, 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
    .
    Software
     BIOS: version 08.38
     NXOS: version 9.3(5)
     BIOS compile time: 05/29/2020
     NXOS image file is: bootflash:///nxos.9.3. 5.bin
     NXOS compile time: 4/28/2020 21:00:00 [04/29/2020 02:28:31]
    Hardware
     cisco Nexus9000 C9336C Chassis (Nexus 9000 Series)
     Intel(R) Xeon(R) CPU E5-2403 v2 @ 1.80GHz with 8154432 kB of memory.
     Processor Board ID FOC20291J6K
     Device name: S2
     bootflash: 53298520 kB
    Kernel uptime is 0 day(s), 0 hour(s), 3 minute(s), 42 second(s)
    Last reset at 157524 usecs after Mon Nov 2 18:32:06 2020
               Reason: Reset due to upgrade
       System version: 9.3(5)
       Service:
    plugin
       Core Plugin, Ethernet Plugin
       Active Package(s):
    st2#
  9. 使用下列傳輸協定之一、將交換器ST2上的RCF複製到交換器bootflash:FTP、HTTP、TFTP、SFTP或scp。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    以下範例顯示HTTP用於將RCF複製到交換器ST2上的bootflash:

    st2# copy http://172.16.10.1//cfg/Nexus_9336C_RCF_v1.6-Storage.txt bootflash: vrf management
    % Total % Received % Xferd   Average   Speed  Time   Time   Time
    Current
       Dload     Upload  Total Spent   Left
    Speed
     100    3254          100     3254      0       0     8175    0 --:--:-- --:--:-- --:--:–
    8301
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    st2#
  10. [[step10]套用先前下載至bootflash的RCF:「copy bootflash」。

    以下範例顯示在交換器ST2上安裝的RCF檔案「Nexus _9336C_RCF-v1.6-Storage.txt」:

    st2# copy Nexus_9336C_RCF_v1.6-Storage.txt running-config echo-commands
  11. [[step11]確認RCF檔案為正確的更新版本:「How running-config」

    當您檢查輸出以確認您擁有正確的RCF時、請確定下列資訊正確無誤:

    • RCF橫幅

    • 節點和連接埠設定

    • 自訂

      輸出會因站台組態而異。請檢查連接埠設定、並參閱版本說明、以瞭解您安裝的RCF的任何特定變更。

      *重要事項:*在「show banner motd」命令的橫幅輸出中、您必須閱讀並遵循*重要事項*一節中的指示、以確保交換器的組態和操作正確無誤。

    st2# show banner motd
    ******************************************************************************
    *NetApp Reference Configuration File (RCF)
    *
    *Switch : Nexus N9K-C9336C-FX2
    *Filename : Nexus_9336C_RCF_v1.6-Storage.txt
    * Date : 10-23-2020
    *Version  : v1.6
    *
    *Port Usage: Storage configuration
    *Ports 1-36: 100GbE Controller and Shelf Storage Ports
    *
    *IMPORTANT NOTES*
    *- This RCF utilizes QoS and requires TCAM re-configuration, requiring RCF
    *to be loaded twice with the Storage Switch rebooted in between.
    *
    *- Perform the following 4 steps to ensure proper RCF installation:
    *
    *(1) Apply RCF first time, expect following messages:
    *- Please save config and reload the system...
    *- Edge port type (portfast) should only be enabled on ports...
    *- TCAM region is not configured for feature QoS class IPv4 ingress...
    *
    *(2) Save running-configuration and reboot Cluster Switch
    *
    *(3) After reboot, apply same RCF second time and expect following messages:
    *- % Invalid command at '^' marker
    *- Syntax error while parsing...
    *
    *(4) Save running-configuration again
    ******************************************************************************
    st2#
  12. [[step12]驗證軟體版本和交換器設定是否正確之後、請將執行組態檔複製到交換器ST2上的啟動組態檔。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    以下範例顯示「執行組態」檔案已成功複製到「儲存組態」檔案:

    st2# copy running-config startup-config
    [] 100% Copy complete.
  13. [[step13]重新檢查儲存交換器在重新開機後是否可用:「System switches Ethernet show」

    storage::*> system switch ethernet show
    Switch                       Type               Address          Model
    ---------------------------- ------------------ ---------------- ---------------
    st1
                                storage-network     172.17.227.5     NX9-C9336C
         Serial Number: FOC221206C2
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        9.3(5)
        Version Source: CDP
    st2
                                storage-network      172.17.227.6    NX9-C9336C
         Serial Number: FOC220443LZ
          Is Monitored: true
                Reason: None
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        9.3(5)
        Version Source: CDP
    2 entries were displayed.
    storage::*
  14. [[step14]重新開機後、請確認交換器連接埠正常運作:「torage port show -port-type ENET」

    storage::*> storage port show -port-type ENET
                                       Speed                            VLAN
    Node    Port    Type    Mode       (Gb/s)      State     Status       ID
    ------- ------- ------- ---------- ----------- --------- --------- -----
    node1
            e3a     ENET    storage           100   enabled   online       30
            e3b     ENET    storage             0   enabled   offline      30
            e7a     ENET    storage             0   enabled   offline      30
            e7b     ENET    storage           100   enabled   online       30
    node2
            e3a     ENET    storage           100   enabled   online       30
            e3b     ENET    storage             0   enabled   offline      30
            e7a     ENET    storage             0   enabled   offline      30
            e7b     ENET    storage           100   enabled   online       30
  15. 重新檢查叢集沒有儲存交換器或纜線問題:「系統健全狀況警示顯示-instance」

    storage::*> system health alert show -instance
    There are no entries matching your query.
  16. [[step16]重複此程序、即可在交換器ST1上使用RCF。

  17. 如果您禁止自動建立個案、請叫用AutoSupport 下列訊息重新啟用此功能:「System Node AutoSupport 現象叫用節點*-type all -most MAn=end」

在Cisco Nexus 9336C-FX2共享交換器上安裝RCF

從S299.1開始ONTAP 、您可以使用Cisco Nexus 9336C-FX2交換器、將儲存設備和叢集功能結合到共享交換器情境中。

開始之前
  • 叢集交換器必須完全正常運作(記錄中不應有錯誤或類似問題)。

  • 儲存交換器必須完全正常運作(記錄中不應有錯誤或類似問題)。

  • 這兩個儲存交換器的名稱為_SH1_和_sh2_。

  • 此處使用的範例將共用RCF載入新交換器。

步驟
  1. 使用下列傳輸傳輸協定之一、將交換器sh2上的RCF複製到交換器bootflash:FTP、HTTP、TFTP、SFTP或scp。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    下列範例顯示HTTP正用於將RCF複製到交換器sh2上的bootflash:

    sh2# copy http://172.16.10.1//cfg/Nexus_9336C_RCF_v1.7-Cluster-Ha-Storage.txt bootflash: vrf management
    % Total % Received % Xferd   Average   Speed  Time   Time   Time
    Current
       Dload     Upload  Total Spent   Left
    Speed
     100    5143          100     5143      0       0     11300    0 --:--:-- --:--:-- --:--:–
    11300
    Copy complete, now saving to disk (please wait)...
    Copy complete.
    sh2#
  2. 套用先前下載至bootflash的RCF:「copy bootflash」。

    以下範例顯示在交換器sh2上安裝的RCF檔案「Nexus_9336C_RCF_v1.7-Cluster-HA-Storage.txt」:

    sh2# copy Nexus_9336C_RCF_v1.7-Cluster-HA-Storage.txt running-config echo-commands
  3. 確認RCF檔案為正確的更新版本:「How running-config」

    當您檢查輸出以確認您擁有正確的RCF時、請確定下列資訊正確無誤:

    • RCF橫幅

    • 節點和連接埠設定

    • 自訂

      輸出會因站台組態而異。請檢查連接埠設定、並參閱版本說明、以瞭解您安裝的RCF的任何特定變更。

      *重要事項:*在「show banner motd」命令的橫幅輸出中、您必須閱讀並遵循*重要事項*一節中的指示、以確保交換器的組態和操作正確無誤。

    sh2# show banner motd
    ******************************************************************************
    *NetApp Reference Configuration File (RCF)
    *
    *Switch : Nexus N9K-C9336C-FX2
    *Filename : Nexus_9336C_RCF_v1.7-Cluster-HA-Storage.txt
    * Date :  Jan-08-2021
    *Version  : v1.7
    *
    *Port Usage:
    *Ports  1-8: 40/100GbE Intra-Cluster/HA Ports, int e1/1-8
    *Port     9: 10GbE breakout Intra-Cluster Ports, int e1/9/1-4
    *Port    10: 25GbE breakout Intra-Cluster/HA Ports, int e1/10/1-4
    *Ports 11-22: First HA-pair Controller and Shelf Storage Ports, int e1/11-22
    *Ports 23-34: Second HA-pair Controller and Shelf Storage Ports, int e1/23-34
    *Ports 35-36: Intra-Cluster ISL Ports, int e1/35-36
    *
    * Undo breakout commands and return interfaces to 40/100G configuration in
    * config mode:
    * no interface breakout module 1 port 9 map 10g-4x
    * no interface breakout module 1 port 10 map 25g-4x
    * interface Ethernet 1/9-10
    * inherit port-profile CLUSTER_HA
    * priority-flow-control mode auto
    * service-policy type qos input HA_POLICY
    * exit
    *
    *IMPORTANT NOTES*
    * In certain conditions, N9K-C9336C-FX2 may not be able to auto-negotiate port
    * speed correctly, and port speed must be manually set, in config mode, e.g.
    * int e1/1
    * speed 40000
    * int e1/3
    * speed 100000
    *
    ******************************************************************************
    sh2#
  4. 驗證軟體版本和交換器設定是否正確之後、請將「執行組態」檔案複製到交換器sh2上的啟動組態檔。

    如需Cisco命令的詳細資訊、請參閱中的適當指南 "Cisco Nexus 9000系列NX-OS命令參考指南"

    以下範例顯示「執行組態」檔案已成功複製到「儲存組態」檔案:

    sh2# copy running-config startup-config
    [] 100% Copy complete.
  5. 重複此程序、即可在交換器SH1上使用RCF。