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

在 Cisco Nexus 3232C 叢集交換器上安裝 RCF

貢獻者 netapp-yvonneo netapp-jsnyder

完成初始設定後,在 Cisco Nexus 3232C 叢集交換器上安裝參考組態檔案 (RCF)。RCF 定義了叢集運作所需的連接埠分配和網路設定。

開始之前

請核實以下安裝和連接:

  • 交換器配置的目前備份。

  • 一個功能齊全的群集(日誌中沒有錯誤或類似問題)。

  • 當前的RCF。

  • 安裝 RCF 時需要將主控台連線至交換器。

關於此任務

流程需要同時使用 ONTAP 命令和 Cisco Nexus 3000 系列交換器命令;除非另有說明,否則使用 ONTAP 命令。

此程序中無需建立運作中的交換器間連結 (ISL)。這是刻意設計的,因為 RCF 版本變更可能會暫時影響 ISL 連線。為了實現叢集的不中斷營運,以下程序會在目標交換器上執行步驟的同時,將所有叢集 LIF 移轉至運作中的合作夥伴交換器。

請務必完成 "準備安裝 NX-OS 和 RCF" 中的程序,然後依照下列步驟操作。

步驟 1:在交換器上安裝 RCF

  1. 使用 SSH 或透過序列主控台登入交換器 cs2。

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

    顯示範例

    此範例展示如何使用 TFTP 將 RCF 複製到交換器 cs2 的 bootflash 上:

    cs2# copy tftp: bootflash: vrf management
    Enter source filename: Nexus_3232C_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)...
  3. 將先前下載的 RCF 檔案套用到啟動快閃記憶體。

    有關 Cisco 命令的更多資訊,請參閱 "Cisco Nexus 3000 系列 NX-OS 命令參考" 中的適當指南

    顯示範例

    此範例顯示在交換器 cs2 上安裝 RCF 檔案 Nexus_3232C_RCF_v1.6-Cluster-HA-Breakout.txt

    cs2# copy Nexus_3232C_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
    註

    請務必仔細閱讀 RCF 的 安裝說明重要說明橫幅 部分。您必須閱讀並遵循這些說明以確保交換器的正確配置和操作。

  4. 檢查來自 show banner motd 命令的橫幅輸出。您必須讀取並遵循「重要提示」下的說明,以確保交換器的組態和運作正確。

  5. 請確認 RCF 檔案是否為最新版本:

    show running-config

    檢查輸出結果以驗證是否擁有正確的 RCF 時,請確保以下資訊正確:

    • RCF橫幅

    • 節點和連接埠設置

    • 客製化

      輸出結果會根據您的網站配置而有所不同。檢查連接埠設置,並參考發行說明,以了解您安裝的 RCF 版本是否有任何特定變更。

  6. 將先前對交換器組態所做的任何自訂設定重新套用。如需任何進一步變更的詳細資訊,請參閱 "審查佈線和配置注意事項"

  7. 儲存基本配置詳細信息 `write_erase.cfg`啟動閃存上的檔案。

    註

    請務必設定以下內容:* 使用者名稱和密碼 * 管理 IP 位址 * 預設閘道 * 交換器名稱

    cs2# show run | section "switchname" > bootflash:write_erase.cfg

    cs2# show run | section "hostname" >> bootflash:write_erase.cfg

    cs2# show run | i "username admin password" >> bootflash:write_erase.cfg

    cs2# show run | section "vrf context management" >> bootflash:write_erase.cfg

    cs2# show run | section "interface mgmt0" >> bootflash:write_erase.cfg

  8. 安裝 RCF 1.12 及更高版本時,請執行以下命令:

    cs2# echo "hardware access-list tcam region racl-lite 512" >> bootflash:write_erase.cfg

    cs2# echo "hardware access-list tcam region qos 256" >> bootflash:write_erase.cfg

    如需更多詳細資料,請參閱知識庫文章 "如何在保持遠端連線的情況下清除Cisco互連交換器上的配置"

  9. 確認 `write_erase.cfg`文件已如預期填入:

    show file bootflash:write_erase.cfg

  10. 問題 `write erase`清除目前已儲存配置的命令:

    cs2# write erase

    Warning: This command will erase the startup-configuration.

    Do you wish to proceed anyway? (y/n) [n] y

  11. 將先前儲存的基本配置複製到啟動配置中。

    cs2# copy bootflash:write_erase.cfg startup-config

  12. 重新啟動交換器 cs2:

    cs2# reload

    This command will reboot the system. (y/n)? [n] y

  13. 在交換器 cs1 上重複步驟 1 至 12。

  14. 將ONTAP叢集中所有節點的叢集連接埠連接到交換器 cs1 和 cs2。

步驟 2:檢查交換器連接

  1. 確認連接到叢集連接埠的交換器連接埠已啟用。

    show interface brief | grep up

    顯示範例
    cs1# show interface brief | grep up
    .
    .
    Eth1/1/1      1       eth  access up      none                    10G(D) --
    Eth1/1/2      1       eth  access up      none                    10G(D) --
    Eth1/7        1       eth  trunk  up      none                   100G(D) --
    Eth1/8        1       eth  trunk  up      none                   100G(D) --
    .
    .
  2. 驗證 cs1 和 cs2 之間的 ISL 連線是否正常:

    show 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/31(P)   Eth1/32(P)
    cs1#
  3. 確認叢集 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
                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         e0b     true
                cluster1-03_clus2  up/up      169.254.1.1/23     cluster1-03         e0b     true
                cluster1-04_clus1  up/up      169.254.1.6/23     cluster1-04         e0b     true
                cluster1-04_clus2  up/up      169.254.1.7/23     cluster1-04         e0b     true
    8 entries were displayed.
    cluster1::*>

    如果任何叢集 LIF 尚未返回其主連接埠,請手動回復: network interface revert -vserver <vserver_name> -lif <lif_name>

  4. 驗證叢集是否運作正常:

    cluster show

    顯示範例
    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::*>

步驟 3:設定您的 ONTAP 叢集

NetApp建議您使用系統管理員來設定新的叢集。

System Manager 為叢集設定和組態提供了簡單易用的工作流程,包括指派節點管理 IP 位址、初始化叢集、建立本機分層、設定協定和佈建初始儲存設備。

請參閱 "使用 System Manager 在新叢集上設定ONTAP"以取得設定說明。

下一步是什麼?

安裝 RCF 後,您可以… "驗證 SSH 配置"