Disk Firmware升级 |
1. 检查是否开启了自动升级
storage disk option show -fields bkg-firmware-update is set to on
2. 升级步骤
Step |
Action |
||||||
1 |
Download the latest disk firmware .zip file by clicking on the appropriate Download button at the bottom of the page and save the file to a host. Move the .zip file from the host to an internal web or FTP server that is accessible from the node management LIF of each node in the cluster. Note: Do not modify the name of the firmware files or package type of the files that you download. |
||||||
2 |
Log in to the cluster as the cluster administrator with administrative privileges. |
||||||
3 |
Select the advanced privilege level: ::> set –privilege advanced |
||||||
4 |
Use the appropriate syntax of the storage firmware download command for your release of clustered Data ONTAP. This command will update the firmware repository on one or more nodes with the firmware located at the specified URL. Firmware files can be the all.zip file or individual disk firmware .LOD.zip files.
|
||||||
5 |
The disk firmware files should have been installed correctly to the system. If automatic background firmware updates are enabled the system should detect and begin updating any eligible drives within two minutes. |
||||||
6 |
To verify that the new disk firmware is loaded, enter the following command. You should see output similar to that shown in this example: ::*> storage disk show -fields firmware-revision,model disk firmware-revision model -------------------------------- ----------------- ---------------- sdt-cdot1-01:0a.16 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.18 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.20 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.22 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.23 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.25 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.26 NA02 X279_S15K5288F15 sdt-cdot1-01:0a.32 NA04 X279_S15K7288F15 sdt-cdot1-01:0a.35 NA01 X279_HVIPB288F15 |
Shelf Firmware升级 |
1. 检查是否开启了自动跟新
node run -node {node|*} -command options shelf.fw.ndu.enable option is set to on
2. 升级步骤
Step |
Action |
||||||
1 |
Download the latest disk shelf firmware .zip file by clicking on the appropriate Download button at the bottom of the page and save the file to a host. Move the .zip file from the host to an internal web or FTP server that is accessible from the node management LIF of each node in the cluster. Note: If you are downloading the individual shelf firmware .SFW files you will have to repeat this process to download the corresponding ACPP shelf firmware .AFW files. |
||||||
2 |
Log in to the cluster as the cluster administrator with administrative privileges. |
||||||
3 |
Select the advanced privilege level: ::> set –privilege advanced |
||||||
4 |
Use the appropriate syntax of the storage firmware download command for your release of clustered Data ONTAP to update the firmware repository with the firmware file provided at the URL. The firmware file can be the all_shelf_fw.zip file, individual shelf firmware .SFW.zip file, or individual ACPP shelf firmware .AFW.zip file. For ACP firmware, copy the .AFW file to the /etc/acpp_fw directory. Note: To avoid the issue in BURT 526941, do not copy the .FVF file if you are running a version of Data ONTAP earlier than 8.0.4.
|
||||||
5 |
The shelf firmware files should have been installed correctly to the system. If automatic background firmware updates are enabled the system should detect and begin updating any eligible shelves within ten minutes. It is also possible to initiate the update manually. To manually update the disk shelf firmware, enter this command: ::*> system node run –node * -command storage download shelf It can take up to 30 minutes per module to apply disk shelf firmware. To manually update the ACP firmware, enter this command: ::*> system node run –node * -command storage download acp It can take up to 30 minutes per module to apply the ACP firmware. |
||||||
6 |
To verify that the new disk shelf firmware is loaded, enter: ::*> system node run -node * -command sysconfig –v In the output verify that each disk shelf's firmware is updated to the desired level. For example: Shelf 1: IOM3 Firmware rev. IOM3 A: 0152 IOM3 B: 0152 To verify that the new ACP firmware is loaded, enter: ::*> system node run -node * -command acpadmin list_all In the output verify that each ACP firmware level is updated to the desired level. This example shows that the ACP version has been updated to 1.1.1.15: IP MAC Reset Last Contact Protocol Assigner Shelf Current Inband IOM Address Address Cnt (seconds ago) Version ACPA ID S/N State ID Type ---------------------------------------------------------------------------------------------------------------------- 169.254.10.41 00:50:cc:63:c9:ca 000 290 1.1.1.15 0 0x1 ------- IOM3 |
Data Ontap 升级 |
1. 前期检查
i. 1. Verify that storage failover is enabled and possible for each HA pair:
storage failover show
ii. 2. If the cluster consists of only two nodes (a single HA pair), verify that cluster HA is configured:
cluster ha show
iii. Verify that the nodes in the cluster are online and are eligible to participate in the cluster:
cluster show
iv. Display the failover policy for each data port:
network interface show -role data –failover
v. Verify that each node has the same date and time:
cluster date show
vi. Review the list of any running or queued aggregate, volume, or Snapshot jobs:
job show
vii. Delete any running or queued aggregate, volume, or Snapshot copy jobs:
job delete -id job_id
viii. Verify that all LIFs are in their home ports:
network interface show
ix. View and record any LIFs that have automatic LIF rebalancing enabled:
network interface show -allow-lb-migrate true
x. Disable automatic LIF rebalancing for each LIF that you identified:
network interface modify * -allow-lb-migrate false
升级步骤 |
1. Install the software image on the first node to be upgraded:
system node image update -node node_name -package location –replacepackage true
Example:
cluster1::> system node image update -node node0 -package http://www.example.com/
downloads/x86-64/830_image.tgz -replace-package true
2. Verify that the software image is downloaded and installed on the first node:
system node image show-update-progress -node node_name
3. Install the software image on the remaining nodes:
system node image update -node * -package location -replace-package true -background true
This command downloads and installs the software image on all of the nodes simultaneously. To download and install the image on each node one at a time, do not specify the -background
parameter.
Upgrading the first node in an HA pair |
4. Set the Data ONTAP 8.3 software image to be the default image:
system image modify {-node nodenameA -iscurrent false} -isdefault true
5. Verify that the Data ONTAP 8.3 software image is set as the default image:
system image show
6. Disable automatic giveback on both nodes of the HA pair if it is enabled by entering the
following command on each node:
storage failover modify -node nodename -auto-giveback false
7. Verify that automatic giveback is disabled for both nodes:
storage failover show -node nodenameA,nodenameB -fields auto-giveback
8. Determine whether the node to be upgraded is currently serving any clients by entering the
following command twice:
system node run -node nodenameA -command uptime
9. Initiate a takeover:
storage failover takeover -ofnode nodenameA
10. Verify that the takeover was successful:
storage failover show
11. Return the aggregates to the first node:
storage failover giveback –ofnode nodenameA
12. Verify that all aggregates have been returned:
storage failover show-giveback
13. Verify that the upgrade was completed successfully for the node:
a. Set the privilege level to advanced:
set -privilege advanced
b. Ensure that upgrade status is complete for the node:
system node upgrade-revert show -node nodenameA
The status should be listed as complete.
If the status is not complete, from the node, run the system node upgrade-revert
upgrade command. If this command does not complete the node's upgrade, contact technical
support immediately.
c. Return to the admin privilege level:
set -privilege admin
14. Revert the LIFs back to the node:
network interface revert *
This command returns the LIFs that were migrated away from the node.
Upgrading the partner node in an HA pair |
15. Set the Data ONTAP 8.3 software image to be the default image:
system image modify {-node nodenameB -iscurrent false} -isdefault true
16. Verify that the Data ONTAP 8.3 software image is set as the default image:
system image show
17. If you are upgrading a four-node cluster, and if this is the last node to be upgraded, then transfer
epsilon to a node in the first HA pair.
Transferring epsilon to a node in the first HA pair helps to prevent the cluster from falling out of
quorum if another node unexpectedly goes out of service while the last node is being upgraded.
a. Set the privilege level to advanced:
set -privilege advanced
b. Mark epsilon false on the node:
cluster modify -node nodename -epsilon false
c. Mark epsilon true on the first node that was upgraded:
cluster modify -node nodename -epsilon true
d. Return to the admin privilege level:
set -privilege admin
18. Determine whether the node to be upgraded is currently serving any clients by entering the
following command twice:
system node run -node nodenameB -command uptime
19. Initiate a takeover by using one of the following commands:
Data ONTAP 8.3.x release
storage failover takeover -ofnode nodenameB
Data ONTAP 8.2.x release
storage failover takeover -ofnode nodenameB -option allow-version-mismatch
The allow-version-mismatch option enables the HA pair to tolerate different Data ONTAP release family versions during a major release upgrade.
20. Verify that the takeover was successful:
storage failover show
21. Return the aggregates to the partner node:
storage failover giveback -ofnode nodenameB
22. Verify that all aggregates have been returned:
storage failover show-giveback
23. Verify that the upgrade was completed successfully for the node:
a. Set the privilege level to advanced:
set -privilege advanced
b. Ensure that upgrade status is complete for the node:
system node upgrade-revert show -node nodenameB
The status should be listed as complete.
If the status is not complete, from the node, run the system node upgrade-revert
upgrade command. If this command does not complete the node's upgrade, contact technical
support immediately.
c. Return to the admin privilege level:
set -privilege admin
24. Revert the LIFs back to the node:
network interface revert *
升级后检查 |
25. Confirm that the new Data ONTAP 8.3.x software is running on both nodes of the HA pair:
system node image show
26. Reenable automatic giveback on both nodes if it was previously disabled:
storage failover modify -node nodename -auto-giveback true
本文转自 川流信息 51CTO博客,原文链接:http://blog.51cto.com/tech4fei/1945752