安裝適用於ONTAP 8.3.1 及更高版本的 FASTPATH 軟體和 RCF。
請依照以下步驟為ONTAP 8.3.1 及更高版本安裝 FASTPATH 軟體和 RCF。
對於運行ONTAP 8.3.1 或更高版本的NetApp CN1601 管理交換器和 CN1610 叢集交換機,安裝步驟相同。然而,這兩種模型需要不同的軟體和 RCF。
審查要求
請確保您擁有以下物品:
-
交換器配置的目前備份。
-
一個功能齊全的叢集(日誌中沒有錯誤,叢集網路介面卡(NIC)也沒有缺陷或類似問題)。
-
集群交換器上的連接埠連線功能齊全。
-
所有群集連接埠均已設定。
-
所有群集邏輯介面(LIF)均已設定(必須尚未遷移)。
-
一條成功的溝通路徑: ONTAP (權限:進階) `cluster ping-cluster -node node1`命令必須表明 `larger than PMTU communication`在所有路徑上都取得了成功。
-
支援的 FASTPATH、RCF 和ONTAP版本。
請務必查閱交換器相容性表格。 "NetApp CN1601 和 CN1610 交換機"此頁面列出了支援的 FASTPATH、RCF 和ONTAP版本。
安裝 FASTPATH 軟體
下列程序使用叢集式Data ONTAP 8.2 語法。因此,叢集 Vserver、LIF 名稱和 CLI 輸出與Data ONTAP 8.3 中的不同。
RCF 和 FASTPATH 版本中的指令語法可能存在指令依賴關係。
|
|
由於安全性問題,RCF 版本 1.2 中已明確停用對 Telnet 的支援。為避免安裝 RCF 1.2 時出現連線問題,請確認安全殼層 (SSH) 已啟用。這 "NetApp CN1610 交換器管理員指南"包含更多關於 SSH 的資訊。 |
本流程中的範例使用以下開關和節點命名規則:
-
這兩個NetApp交換器的名稱分別是 cs1 和 cs2。
-
叢集邏輯介面 (LIF) 名稱對於節點 1 為 node1_clus1 和 node1_clus2,對於節點 2 為 node2_clus1 和 node2_clus2。 (一個叢集最多可以包含 24 個節點。)
-
儲存虛擬機器(SVM)名稱為叢集。
-
這 `cluster1::*>`prompt 指示叢集名稱。
-
每個節點上的叢集連接埠分別命名為 e0a 和 e0b。
"Hardware Universe"包含有關您的平台支援的實際集群連接埠的更多資訊。
-
支援的交換器間連結 (ISL) 為連接埠 0/13 至 0/16。
-
支援的節點連接為連接埠 0/1 至 0/12。
步驟 1:遷移集群
-
顯示叢集上的網路連接埠資訊:
network port show -ipspace cluster顯示範例
以下範例顯示了該命令的輸出類型:
cluster1::> network port show -ipspace cluster Speed (Mbps) Node Port IPspace Broadcast Domain Link MTU Admin/Oper ------ --------- ------------ ---------------- ----- ------- ------------ node1 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster up 9000 auto/10000 node2 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster up 9000 auto/10000 4 entries were displayed. -
顯示集群上 LIF 的相關資訊:
network interface show -role cluster顯示範例
以下範例展示了叢集上的邏輯介面。在這個例子中, `-role`此參數顯示與叢集連接埠關聯的 LIF 的相關資訊:
cluster1::> network interface show -role cluster (network interface show) Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ---- Cluster node1_clus1 up/up 10.254.66.82/16 node1 e0a true node1_clus2 up/up 10.254.206.128/16 node1 e0b true node2_clus1 up/up 10.254.48.152/16 node2 e0a true node2_clus2 up/up 10.254.42.74/16 node2 e0b true 4 entries were displayed. -
在每個節點上,使用節點管理 LIF,將 node1_clus2 遷移到 node1 上的 e0a,將 node2_clus2 遷移到 node2 上的 e0a:
network interface migrate您必須在擁有對應群集 LIF 的控制器控制台上輸入指令。
顯示範例
cluster1::> network interface migrate -vserver Cluster -lif node1_clus2 -destination-node node1 -destination-port e0a cluster1::> network interface migrate -vserver Cluster -lif node2_clus2 -destination-node node2 -destination-port e0a
對於此命令,叢集名稱區分大小寫,並且該命令應在每個節點上運行。無法在通用叢集 LIF 中執行此命令。 -
使用以下方法驗證遷移是否已完成: `network interface show`在節點上執行命令。
顯示範例
以下範例顯示 clus2 已遷移到節點 node1 和 node2 上的 e0a 連接埠:
cluster1::> **network interface show -role cluster** Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ---- Cluster node1_clus1 up/up 10.254.66.82/16 node1 e0a true node1_clus2 up/up 10.254.206.128/16 node1 e0a false node2_clus1 up/up 10.254.48.152/16 node2 e0a true node2_clus2 up/up 10.254.42.74/16 node2 e0a false 4 entries were displayed. -
將權限級別變更為高級,並在提示繼續時輸入 y:
set -privilege advanced出現高階提示符號(*>)。
-
關閉兩個節點上的叢集連接埠 e0b:
network port modify -node node_name -port port_name -up-admin false您必須在擁有對應群集 LIF 的控制器控制台上輸入指令。
顯示範例
以下範例展示了關閉所有節點上 e0b 連接埠的命令:
cluster1::*> network port modify -node node1 -port e0b -up-admin false cluster1::*> network port modify -node node2 -port e0b -up-admin false
-
請確認兩個節點上的 e0b 連接埠都已關閉:
network port show顯示範例
cluster1::*> network port show -role cluster Speed (Mbps) Node Port IPspace Broadcast Domain Link MTU Admin/Oper ------ --------- ------------ ---------------- ----- ------- ------------ node1 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster down 9000 auto/10000 node2 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster down 9000 auto/10000 4 entries were displayed. -
關閉 cs1 上的交換器間連結 (ISL) 連接埠。
顯示範例
(cs1) #configure (cs1) (Config)#interface 0/13-0/16 (cs1) (Interface 0/13-0/16)#shutdown (cs1) (Interface 0/13-0/16)#exit (cs1) (Config)#exit
-
備份 CS2 上目前活動的影像。
顯示範例
(cs2) # show bootvar Image Descriptions active : backup : Images currently available on Flash -------------------------------------------------------------------- unit active backup current-active next-active -------------------------------------------------------------------- 1 1.1.0.5 1.1.0.3 1.1.0.5 1.1.0.5 (cs2) # copy active backup Copying active to backup Copy operation successful
步驟 2:安裝 FASTPATH 軟體和 RCF
-
請確認FASTPATH軟體的運作版本。
顯示範例
(cs2) # show version Switch: 1 System Description............................. NetApp CN1610, 1.1.0.5, Linux 2.6.21.7 Machine Type................................... NetApp CN1610 Machine Model.................................. CN1610 Serial Number.................................. 20211200106 Burned In MAC Address.......................... 00:A0:98:21:83:69 Software Version............................... 1.1.0.5 Operating System............................... Linux 2.6.21.7 Network Processing Device...................... BCM56820_B0 Part Number.................................... 111-00893 --More-- or (q)uit Additional Packages............................ FASTPATH QOS FASTPATH IPv6 Management -
將鏡像檔下載到交換器。
將鏡像檔案複製到活動鏡像意味著,當您重新啟動時,該鏡像將建立正在運行的 FASTPATH 版本。之前的鏡像檔案仍可作為備份使用。
顯示範例
(cs2) #copy sftp://root@10.22.201.50//tftpboot/NetApp_CN1610_1.2.0.7.stk active Remote Password:******** Mode........................................... SFTP Set Server IP.................................. 10.22.201.50 Path........................................... /tftpboot/ Filename....................................... NetApp_CN1610_1.2.0.7.stk Data Type...................................... Code Destination Filename........................... active Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) y SFTP Code transfer starting... File transfer operation completed successfully.
-
確認目前和下一個活動的啟動映像版本:
show bootvar顯示範例
(cs2) #show bootvar Image Descriptions active : backup : Images currently available on Flash -------------------------------------------------------------------- unit active backup current-active next-active -------------------------------------------------------------------- 1 1.1.0.8 1.1.0.8 1.1.0.8 1.2.0.7 -
將與新鏡像版本相容的 RCF 安裝到交換器上。
如果 RCF 版本已正確,則啟動 ISL 連接埠。
顯示範例
(cs2) #copy tftp://10.22.201.50//CN1610_CS_RCF_v1.2.txt nvram:script CN1610_CS_RCF_v1.2.scr Mode........................................... TFTP Set Server IP.................................. 10.22.201.50 Path........................................... / Filename....................................... CN1610_CS_RCF_v1.2.txt Data Type...................................... Config Script Destination Filename........................... CN1610_CS_RCF_v1.2.scr File with same name already exists. WARNING:Continuing with this command will overwrite the existing file. Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) y Validating configuration script... [the script is now displayed line by line] Configuration script validated. File transfer operation completed successfully.
這 `.scr`在呼叫腳本之前,必須將檔案副檔名設定為檔案名稱的一部分。此擴充功能適用於 FASTPATH 作業系統。 交換器在腳本下載到交換器時會自動驗證。輸出結果會顯示在控制台上。
-
請確認腳本已下載並儲存為您指定的檔案名稱。
顯示範例
(cs2) #script list Configuration Script Name Size(Bytes) -------------------------------- ----------- CN1610_CS_RCF_v1.2.scr 2191 1 configuration script(s) found. 2541 Kbytes free.
-
將腳本應用到交換器上。
顯示範例
(cs2) #script apply CN1610_CS_RCF_v1.2.scr Are you sure you want to apply the configuration script? (y/n) y [the script is now displayed line by line]... Configuration script 'CN1610_CS_RCF_v1.2.scr' applied.
-
確認變更已套用至交換機,然後儲存:
show running-config顯示範例
(cs2) #show running-config
-
儲存運作配置,使其在交換器重新啟動時成為啟動配置。
顯示範例
(cs2) #write memory This operation may take a few minutes. Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y Config file 'startup-config' created successfully. Configuration Saved!
-
重啟交換器。
顯示範例
(cs2) #reload The system has unsaved changes. Would you like to save them now? (y/n) y Config file 'startup-config' created successfully. Configuration Saved! System will now restart!
步驟 3:驗證安裝
-
再次登錄,然後驗證交換器是否正在執行新版本的 FASTPATH 軟體。
顯示範例
(cs2) #show version Switch: 1 System Description............................. NetApp CN1610, 1.2.0.7,Linux 3.8.13-4ce360e8 Machine Type................................... NetApp CN1610 Machine Model.................................. CN1610 Serial Number.................................. 20211200106 Burned In MAC Address.......................... 00:A0:98:21:83:69 Software Version............................... 1.2.0.7 Operating System............................... Linux 3.8.13-4ce360e8 Network Processing Device...................... BCM56820_B0 Part Number.................................... 111-00893 CPLD version................................... 0x5 Additional Packages............................ FASTPATH QOS FASTPATH IPv6 Management重新啟動完成後,您必須登入以驗證映像版本,查看執行配置,並在介面 3/64 上尋找描述,這是 RCF 的版本標籤。
-
在活動交換器 cs1 上啟用 ISL 連接埠。
顯示範例
(cs1) #configure (cs1) (Config) #interface 0/13-0/16 (cs1) (Interface 0/13-0/16) #no shutdown (cs1) (Interface 0/13-0/16) #exit (cs1) (Config) #exit
-
確認ISL是否正常運作:
show port-channel 3/1“鏈路狀態”欄位應指示
Up。顯示範例
(cs1) #show port-channel 3/1 Local Interface................................ 3/1 Channel Name................................... ISL-LAG Link State..................................... Up Admin Mode..................................... Enabled Type........................................... Static Load Balance Option............................ 7 (Enhanced hashing mode) Mbr Device/ Port Port Ports Timeout Speed Active ------ ------------- --------- ------- 0/13 actor/long 10G Full True partner/long 0/14 actor/long 10G Full True partner/long 0/15 actor/long 10G Full False partner/long 0/16 actor/long 10G Full True partner/long -
在所有節點上啟用叢集連接埠 e0b:
network port modify您必須在擁有對應群集 LIF 的控制器控制台上輸入指令。
顯示範例
以下範例展示如何在節點 1 和節點 2 上啟動連接埠 e0b:
cluster1::*> network port modify -node node1 -port e0b -up-admin true cluster1::*> network port modify -node node2 -port e0b -up-admin true
-
請確認所有節點上的 e0b 連接埠均已啟用:
network port show -ipspace cluster顯示範例
cluster1::*> network port show -ipspace cluster Speed (Mbps) Node Port IPspace Broadcast Domain Link MTU Admin/Oper ------ --------- ------------ ---------------- ----- ------- ------------ node1 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster up 9000 auto/10000 node2 e0a Cluster Cluster up 9000 auto/10000 e0b Cluster Cluster up 9000 auto/10000 4 entries were displayed. -
確認 LIF 現在已歸位(
true)在兩個節點上: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_clus1 up/up 169.254.66.82/16 node1 e0a true node1_clus2 up/up 169.254.206.128/16 node1 e0b true node2_clus1 up/up 169.254.48.152/16 node2 e0a true node2_clus2 up/up 169.254.42.74/16 node2 e0b true 4 entries were displayed. -
顯示節點成員的狀態:
cluster show顯示範例
cluster1::*> cluster show Node Health Eligibility Epsilon -------------------- ------- ------------ ------------ node1 true true false node2 true true false 2 entries were displayed.
-
傳回管理員權限等級:
set -privilege admin -
重複上述步驟,在另一台交換器 cs1 上安裝 FASTPATH 軟體和 RCF。