安装 FASTPATH 软件
在NetApp交换机上安装 FASTPATH 软件时,必须从第二个交换机 cs2 开始升级。
审查要求
请确保您拥有以下物品:
-
交换机配置的当前备份。
-
一个功能齐全的集群(日志中没有错误,集群网络接口卡(NIC)也没有缺陷或类似问题)。
-
集群交换机上的端口连接功能齐全。
-
所有集群端口均已设置。
-
所有集群逻辑接口(LIF)均已设置(必须尚未迁移)。
-
一条成功的沟通路径: ONTAP (权限:高级) `cluster ping-cluster -node node1`命令必须表明 `larger than PMTU communication`在所有路径上都取得了成功。
-
支持的 FASTPATH 和ONTAP版本。
请务必查阅交换机兼容性表格。 "NetApp CN1601 和 CN1610 交换机"本页列出了支持的 FASTPATH 和ONTAP版本。
安装 FASTPATH
以下步骤使用集群式Data ONTAP 8.2 语法。因此,集群 Vserver、LIF 名称和 CLI 输出与Data ONTAP 8.3 中的不同。
RCF 和 FASTPATH 版本中的命令语法可能存在命令依赖关系。
本流程中的示例使用以下开关和节点命名规则:
-
这两台NetApp交换机分别是 cs1 和 cs2。
-
这两个簇 LIF 分别是 clus1 和 clus2。
-
虚拟服务器为 vs1 和 vs2。
-
这 `cluster::*>`prompt 指示集群名称。
-
每个节点上的集群端口分别命名为 e1a 和 e2a。
"Hardware Universe"包含有关您的平台支持的实际集群端口的更多信息。
-
支持的交换机间链路 (ISL) 为端口 0/13 至 0/16。
-
支持的节点连接为端口 0/1 至 0/12。
步骤 1:迁移集群
-
如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:
system node autosupport invoke -node * -type all - message MAINT=xhx 是维护窗口的持续时间,单位为小时。
AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。 -
以管理员身份登录交换机。默认情况下没有密码。在 `(cs2) #`提示,输入 `enable`命令。再次强调,默认情况下没有密码。这样您就可以访问特权 EXEC 模式,从而配置网络接口。
显示示例
(cs2) # enable Password (Enter) (cs2) #
-
在每个节点的控制台上,将 clus2 迁移到端口 e1a:
network interface migrate显示示例
cluster::*> network interface migrate -vserver vs1 -lif clus2 -destnode node1 -dest-port e1a cluster::*> network interface migrate -vserver vs2 -lif clus2 -destnode node2 -dest-port e1a
-
在每个节点的控制台上,验证迁移是否已完成:
network interface show以下示例表明 clus2 已迁移到两个节点上的 e1a 端口:
显示示例
cluster::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Open Address/Mask Node Port Home -------- ---------- ---------- -------------- -------- ------- ---- vs1 clus1 up/up 10.10.10.1/16 node1 e1a true clus2 up/up 10.10.10.2/16 node1 e1a false vs2 clus1 up/up 10.10.10.1/16 node2 e1a true clus2 up/up 10.10.10.2/16 node2 e1a false
步骤 2:安装 FASTPATH 软件
-
关闭两个节点上的集群端口 e2a:
network port modify显示示例
以下示例显示了两个节点上的 e2a 端口均已关闭:
cluster::*> network port modify -node node1 -port e2a -up-admin false cluster::*> network port modify -node node2 -port e2a -up-admin false
-
请确认两个节点上的 e2a 端口均已关闭:
network port show显示示例
cluster::*> network port show -role cluster Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper ------ ---- -------- ---- ----- ---------- ---------- ------------ node1 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster down 9000 true/true full/full auto/10000 node2 e1a cluster up 9000 true/true full/full auto/10000 e2a cluster down 9000 true/true full/full auto/10000 -
关闭活动NetApp交换机 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.3 1.1.0.1 1.1.0.3 1.1.0.3 (cs2) # copy active backup Copying active to backup Copy operation successful (cs2) # -
将镜像文件下载到交换机。
将镜像文件复制到活动镜像意味着,当您重新启动时,该镜像将建立正在运行的 FASTPATH 版本。之前的镜像文件仍可作为备份使用。
显示示例
(cs2) # copy tftp://10.0.0.1/NetApp_CN1610_1.1.0.5.stk active Mode...................................... TFTP Set Server IP............................. 10.0.0.1 Path...................................... ./ Filename.................................. NetApp_CN1610_1.1.0.5.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 TFTP Code transfer starting... File transfer operation completed successfully.
-
请确认FASTPATH软件的运行版本。
show version显示示例
(cs2) # show version Switch: 1 System Description.................. Broadcom Scorpion 56820 Development System - 16 TENGIG, 1.1.0.3, Linux 2.6.21.7 Machine Type........................ Broadcom Scorpion 56820 Development System - 16TENGIG Machine Model....................... BCM-56820 Serial Number....................... 10611100004 FRU Number.......................... Part Number......................... BCM56820 Maintenance Level................... A Manufacturer........................ 0xbc00 Burned In MAC Address............... 00:A0:98:4B:A9:AA Software Version.................... 1.1.0.3 Operating System.................... Linux 2.6.21.7 Network Processing Device........... BCM56820_B0 Additional Packages................. FASTPATH QOS FASTPATH IPv6 Management -
查看活动配置和备份配置的启动映像。
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.3 1.1.0.3 1.1.0.3 1.1.0.5 -
重新启动交换机。
reload显示示例
(cs2) # reload Are you sure you would like to reset the system? (y/n) y System will now restart!
步骤 3:验证安装
-
重新登录,并验证 FASTPATH 软件的新版本。
show version显示示例
(cs2) # show version Switch: 1 System Description................... Broadcom Scorpion 56820 Development System - 16 TENGIG, 1.1.0.5, Linux 2.6.21.7 Machine Type......................... Broadcom Scorpion 56820 Development System - 16TENGIG Machine Model........................ BCM-56820 Serial Number........................ 10611100004 FRU Number........................... Part Number.......................... BCM56820 Maintenance Level.................... A Manufacturer......................... 0xbc00 Burned In MAC Address................ 00:A0:98:4B:A9:AA Software Version..................... 1.1.0.5 Operating System..................... Linux 2.6.21.7 Network Processing Device............ BCM56820_B0 Additional Packages.................. FASTPATH QOS FASTPATH IPv6 Management -
在活动交换机 cs1 上启用 ISL 端口。
configure显示示例
(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。显示示例
(cs2) # 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 True partner/long 0/16 actor/long 10G Full True partner/long -
复制 `running-config`文件到 `startup-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!
-
在每个节点上启用第二个集群端口 e2a:
network port modify显示示例
cluster::*> network port modify -node node1 -port e2a -up-admin true cluster::*> **network port modify -node node2 -port e2a -up-admin true**
-
还原与端口 e2a 关联的 clus2:
network interface revertLIF 可能会自动恢复,具体取决于您的ONTAP软件版本。
显示示例
cluster::*> network interface revert -vserver Cluster -lif n1_clus2 cluster::*> network interface revert -vserver Cluster -lif n2_clus2
-
确认 LIF 现在已归位(
true)在两个节点上:network interface show -role cluster显示示例
cluster::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home -------- ---------- ---------- -------------- -------- ------- ---- vs1 clus1 up/up 10.10.10.1/24 node1 e1a true clus2 up/up 10.10.10.2/24 node1 e2a true vs2 clus1 up/up 10.10.10.1/24 node2 e1a true clus2 up/up 10.10.10.2/24 node2 e2a true -
查看节点状态:
cluster show显示示例
cluster::> cluster show Node Health Eligibility -------------------- ------- ------------ node1 true true node2 true true
-
重复上述步骤,在另一台交换机 cs1 上安装 FASTPATH 软件。
-
如果您已禁用自动创建案例功能,请通过调用AutoSupport消息重新启用该功能:
system node autosupport invoke -node * -type all -message MAINT=END