安装适用于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。