要升级 NetApp Element 软件,您必须使用 HealthTools 工具套件随附的 sfinstall 文件。
开始之前
- 您环境中的管理节点正在运行 11.0、11.1 或更高版本。
- 您已有最新版本的 HealthTools。
- 您已使用命令 sfupgradecheck 确认集群已做好升级准备。
步骤
- 对于 NetApp HCI 系统,转到 NetApp HCI 软件下载页面。对于独立 SolidFire 存储系统,转到 Element 软件下载页面。
- 选择正确的软件版本并将最新存储节点映像下载到非管理节点计算机上。
- 将 ISO 文件复制到管理节点中可访问的位置,例如 /tmp。
例如,您可以使用 SCP 执行此操作。
注:上传 ISO 文件时,请确保不要更改此文件的名称,否则后续步骤将失败。
- 可选: 在升级之前,将此 ISO 从管理节点下载到集群节点。
此步骤可在存储节点上预暂存此 ISO 并运行额外的内部检查来确保集群处于可升级的良好状态,从而缩短升级时间。执行此操作不会将集群置于“升级”模式或限制任何集群操作。sfinstall -u <cluster_username> -p <cluster_password> <MVIP> <path-to-install-file-ISO> --stage
注:对于包含特殊字符的密码,应在每个特殊字符前添加一个反斜杠 (\)。例如,mypass!@1 应输入为 mypass\!\@。或者,在命令行中省略此密码以使 sfinstall 提示输入此信息。
示例
请参见以下输入示例:
sfinstall 10.117.0.244 -u admin -p admin
/tmp/solidfire-rtfisodium-11.0.0.345.iso --stage
此示例输出显示,sfinstall 正在尝试确认是否已推出更高版本的 sfinstall:
sfinstall 10.117.0.244 -u admin -p admin
/tmp/solidfire-rtfisodium-11.0.0.345.iso 2018-10-01 16:52:15:
Newer version of sfinstall available.
This version: 2018.09.01.130, latest version: 2018.06.05.901.
The latest version of the HealthTools can be downloaded from:
https:// mysupport.netapp.com/NOW/cgi-bin/software/
or rerun with --skip-version-check
请参见以下成功预暂存操作示例摘录:
注:暂存完成后,升级事件消息将显示 Storage Node Upgrade Staging Successful。
flabv0004 ~ # sfinstall -u admin -p admin
10.117.0.87 solidfire-rtfi-sodium-patch3-11.3.0.14171.iso --stage
2019-04-03 13:19:58: sfinstall Release Version: 2019.01.01.49 Management Node Platform:
Ember Revision: 26b042c3e15a Build date: 2019-03-12 18:45
2019-04-03 13:19:58: Checking connectivity to MVIP 10.117.0.87
2019-04-03 13:19:58: Checking connectivity to node 10.117.0.86
2019-04-03 13:19:58: Checking connectivity to node 10.117.0.87
...
2019-04-03 13:19:58: Successfully connected to cluster and all nodes
...
2019-04-03 13:20:00: Do you want to continue? ['Yes', 'No']: Yes
...
2019-04-03 13:20:55: Staging install pack on cluster nodes
2019-04-03 13:20:55: newVersion: 11.3.0.14171
2019-04-03 13:21:01: nodeToStage: nlabp2814, nlabp2815, nlabp2816, nlabp2813
2019-04-03 13:21:02: Staging Node nlabp2815 mip=[10.117.0.87] nodeID=[2] (1 of 4 nodes)
2019-04-03 13:21:02: Node Upgrade serving image at
http://10.117.0.204/rtfi/solidfire-rtfi-
sodium-patch3-11.3.0.14171/filesystem.squashfs
...
2019-04-03 13:25:40: Staging finished. Repeat the upgrade command
without the --stage option to start the upgrade.
升级完成后,系统将自动删除暂存的 ISO。但是,如果升级尚未启动而需要重新计划,则可以使用以下命令手动取消暂存 ISO:
sfinstall -u <cluster_username> -p <cluster_password> <MVIP> --destage 注:升级开始后,此 destage 选项将不再可用。
- 使用 sfinstall 命令和 ISO 文件的路径启动升级:sfinstall -u <cluster_username> -p <cluster_password> <MVIP> <path-to-install-file-ISO>
示例
请参见以下输入命令示例:
sfinstall 10.117.0.244 -u admin -p admin /tmp/solidfire-rtfi-sodium-11.0.0.345.iso
此示例输出显示,
sfinstall 正在尝试确认是否已推出更高版本的
sfinstall:
sfinstall 10.117.0.244 -u admin -p admin /tmp/solidfire-rtfi-sodium-11.0.0.345.iso
2018-10-01 16:52:15: Newer version of sfinstall available.
This version: 2018.09.01.130, latest version: 2018.06.05.901.
The latest version of the HealthTools can be downloaded from: https://mysupport.netapp.com/NOW/cgi-bin/software/ or rerun with --skip-version-check
示例
请参见以下成功升级示例摘录。可通过升级事件监控升级进度。
# sfinstall 10.117.0.161 -u admin -p admin solidfire-rtfi-sodium-11.0.0.761.iso
2018-10-11 18:28
Checking connectivity to MVIP 10.117.0.161
Checking connectivity to node 10.117.0.23
Checking connectivity to node 10.117.0.24
...
Successfully connected to cluster and all nodes
###################################################################
You are about to start a new upgrade
10.117.0.161
10.3.0.161
solidfire-rtfi-sodium-11.0.0.761.iso
Nodes:
10.117.0.23 nlabp1023 SF3010 10.3.0.161
10.117.0.24 nlabp1025 SF3010 10.3.0.161
10.117.0.26 nlabp1027 SF3010 10.3.0.161
10.117.0.28 nlabp1028 SF3010 10.3.0.161
###################################################################
Do you want to continue? ['Yes', 'No']: yes
...
Watching for new network faults. Existing fault IDs are set([]).
Checking for legacy network interface names that need renaming
Upgrading from 10.3.0.161 to 11.0.0.761 upgrade method=rtfi
Waiting 300 seconds for cluster faults to clear
Waiting for caches to fall below threshold
...
Installing mip=[10.117.0.23] nodeID=[1] (1 of 4 nodes)
Starting to move primaries.
Loading volume list
Moving primary slice=[7] away from mip[10.117.0.23] nodeID[1] ssid[11] to new ssid[15]
Moving primary slice=[12] away from mip[10.117.0.23] nodeID[1] ssid[11] to new ssid[15]
...
Installing mip=[10.117.114.24] nodeID=[2] (2 of 4 nodes)
Starting to move primaries.
Loading volume list
Moving primary slice=[5] away from mip[10.117.114.24] nodeID[2] ssid[7] to new ssid[11]
...
Install of solidfire-rtfi-sodium-11.0.0.761 complete.
Removing old software
No staged builds present on nodeID=[1]
No staged builds present on nodeID=[2]
...
Starting light cluster block service check