Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

在计划内升级之前、执行ONTAP自动升级前检查

贡献者

您不必在升级ONTAP软件的过程中执行ONTAP自动升级预检查。 独立于ONTAP自动升级过程执行升级前检查、可以查看对集群执行的检查、并提供开始实际升级之前应更正的任何错误或警告列表。 例如、假设您希望在计划在两周后进行的维护期间升级ONTAP软件。 在等待计划日期时、您可以在维护时段之前运行自动升级预检查并采取任何必要的更正操作。 这样可以降低在开始升级后出现意外配置错误的风险。

如果您已准备好开始ONTAP软件升级、则无需执行此操作步骤。 您应遵循 "自动升级过程",包括执行自动升级预检查。

备注 对于MetroCluster配置、应先在集群A上执行这些步骤、然后在集群B上执行相同的步骤
开始之前

您应该 "下载目标ONTAP软件映像"

要对执行自动升级预检查"直接多跳升级",只需下载目标ONTAP版本的软件包即可。在开始实际升级之前、您不需要加载中间ONTAP版本。例如、如果要对从9.7升级到9.11.1的过程执行自动升级前检查、则需要下载ONTAP 9.11.1.的软件包。您无需下载ONTAP 9.8.1的软件包。

示例 1. 步骤
System Manager
  1. 验证ONTAP目标映像:

    备注 如果要升级MetroCluster配置、则应验证集群A、然后对集群B重复此验证过程
    1. 根据您运行的 ONTAP 版本,执行以下步骤之一:

      如果您正在运行 …​

      执行此操作 …​

      ONTAP 9.8或更高版本

      单击 * 集群 > 概述 * 。

      ONTAP 9.5 , 9.6 和 9.7

      单击 * 配置 * > * 集群 * > * 更新 * 。

      ONTAP 9.4 或更早版本

      单击 * 配置 * > * 集群更新 * 。

    2. 在*Overview*窗格的右角,单击 菜单选项图标

    3. 单击 * ONTAP Update* 。

    4. 在*Cluster Update*选项卡中,添加新映像或选择可用映像。

      如果您要 …​

      那么 …​

      从本地文件夹添加新的软件映像

      您应该已经拥有了 "已下载映像" 到本地客户端。

      1. 在*可用软件映像*下,单击*从本地添加*。

      2. 浏览到保存软件映像的位置,选择该映像,然后单击 * 打开 * 。

      从HTTP或FTP服务器添加新的软件映像

      1. 单击 * 从服务器添加 * 。

      2. 在*添加新的软件映像*对话框中,输入从NetApp 支持站点 下载ONTAP软件映像的HTTP或FTP服务器的URL。

        对于匿名 FTP ,必须在中指定 URL ftp://anonymous@ftpserver 格式。

      3. 单击 * 添加 * 。

      选择一个可用映像

      从列出的映像中选择一个。

    5. 单击*Validation*运行升级前验证检查。

      如果在验证期间发现任何错误或警告、则会显示这些错误或警告以及更正操作列表。您必须先解决所有错误、然后才能继续升级。 最好同时解决警告问题。

命令行界面
  1. 将目标ONTAP软件映像加载到集群软件包存储库:

    cluster image package get -url location
    cluster1::> cluster image package get -url http://www.example.com/software/9.15.1/image.tgz
    
    Package download completed.
    Package processing completed.
  2. 验证集群软件包存储库中是否存在软件包:

    cluster image package show-repository
    cluster1::> cluster image package show-repository
    Package Version  Package Build Time
    ---------------- ------------------
    9.15.1              MM/DD/YYYY 10:32:15
  3. 执行自动升级前检查:

    cluster image validate -version <package_version_number> -show-validation-details true
    cluster1::> cluster image validate -version 9.15.1 -show-validation-details true
    
    It can take several minutes to complete validation...
    Validation checks started successfully.  Run the "cluster image show-update-progress" command to check validation status.
  4. 检查验证状态:

    cluster image show-update-progress
    备注 如果*状态*为"in-Progress (进行中)"、请等待并再次运行此命令、直到完成为止。
    cluster1::*> cluster image show-update-progress
    
    Update Phase         Status                   Duration        Duration
    -------------------- ----------------- --------------- ---------------
    Pre-update checks    completed                00:10:00        00:01:03
    
    Details:
    
    Pre-update Check     Status            Error-Action
    -------------------- ----------------- --------------------------------------
    AMPQ Router and      OK                N/A
    Broker Config
    Cleanup
    Aggregate online     OK                N/A
    status and parity
    check
    Aggregate plex       OK                N/A
    resync status check
    Application          OK                N/A
    Provisioning Cleanup
    Autoboot Bootargs    OK                N/A
    Status
    Backend              OK                N/A
    ...
    Volume Conversion    OK                N/A
    In Progress Check
    Volume move          OK                N/A
    progress status
    check
    Volume online        OK                N/A
    status check
    iSCSI target portal  OK                N/A
    groups status check
    Overall Status       Warning           Warning
    75 entries were displayed.

    此时将显示一个完整的自动升级预检查列表、以及在开始升级过程之前应解决的任何错误或警告。

示例输出

升级预检查的完整输出示例
cluster1::*> cluster image validate -version 9.14.1 -show-validation-details true
It can take several minutes to complete validation...

WARNING: There are additional manual upgrade validation checks that must be performed after these automated validation checks have completed successfully.
Refer to the Upgrade Advisor Plan or the "What should I verify before I upgrade with or without Upgrade Advisor" section in the "Upgrade ONTAP" documentation for the remaining manual validation checks that need to be performed before update.
Upgrade ONTAP documentation available at: https://docs.netapp.com/us-en/ontap/upgrade/index.html
The list of checks are available at: https://docs.netapp.com/us-en/ontap/upgrade/task_what_to_check_before_upgrade.html
Failing to do so can result in an update failure or an I/O disruption.
Please use Interoperability Matrix Tool (IMT  http://mysupport.netapp.com/matrix) to verify host system supportability configuration information.

Validation checks started successfully.  Run the "cluster image show-update-progress" command to check validation status.


fas2820-2n-wic-1::*> cluster image show-update-progress

                                             Estimated         Elapsed
Update Phase         Status                   Duration        Duration
-------------------- ----------------- --------------- ---------------
Pre-update checks    in-progress              00:10:00        00:00:42

Details:

Pre-update Check     Status            Error-Action
-------------------- ----------------- --------------------------------------

fas2820-2n-wic-1::*> cluster image show-update-progress

                                             Estimated         Elapsed
Update Phase         Status                   Duration        Duration
-------------------- ----------------- --------------- ---------------
Pre-update checks    completed                00:10:00        00:01:03

Details:

Pre-update Check     Status            Error-Action
-------------------- ----------------- --------------------------------------
AMPQ Router and      OK                N/A
Broker Config
Cleanup
Aggregate online     OK                N/A
status and parity
check
Aggregate plex       OK                N/A
resync status check
Application          OK                N/A
Provisioning Cleanup
Autoboot Bootargs    OK                N/A
Status
Backend              OK                N/A
Configuration Status
Boot Menu Status     Warning           Warning: bootarg.init.bootmenu is
                                       enabled on nodes: fas2820-wic-1a,
                                       fas2820-wic-1b. The boot process of
                                       the nodes will be delayed.
                                       Action: Set the bootarg.init.bootmenu
                                       bootarg to false before proceeding
                                       with the upgrade.
Broadcast Domain     OK                N/A
availability and
uniqueness for HA
pair status
CIFS compatibility   OK                N/A
status check
CLAM quorum online   OK                N/A
status check
CPU Utilization      OK                N/A
Status
Capacity licenses    OK                N/A
install status check
Check For SP/BMC     OK                N/A
Connectivity To
Nodes
Check LDAP fastbind  OK                N/A
users using
unsecure connection.
Check for unsecure   OK                N/A
kex algorithm
configurations.
Check for unsecure   OK                N/A
mac configurations.
Cloud keymanager     OK                N/A
connectivity check
Cluster health and   OK                N/A
eligibility status
Cluster quorum       OK                N/A
status check
Cluster/management   OK                N/A
switch check
Compatible New       OK                N/A
Image Check
Current system       OK                N/A
version check if it
is susceptible to
possible outage
during NDU
Data ONTAP Version   OK                N/A
and Previous
Upgrade Status
Data aggregates HA   OK                N/A
policy check
Disk status check    OK                N/A
for failed, broken
or non-compatibility
Duplicate Initiator  OK                N/A
Check
Encryption key       OK                N/A
migration status
check
External             OK                N/A
key-manager with
legacy KMIP client
check
External keymanager  OK                N/A
key server status
check
Fabricpool Object    OK                N/A
Store Availability
High Availability    OK                N/A
configuration
status check
Infinite Volume      OK                N/A
availibility check
LIF failover         OK                N/A
capability status
check
LIF health check     OK                N/A
LIF load balancing   OK                N/A
status check
LIFs is on home      OK                N/A
node status
Logically over       OK                N/A
allocated DP
volumes check
MetroCluster         OK                N/A
configuration
status check for
compatibility
Minimum number of    OK                N/A
aggregate disks
check
NAE Aggregate and    OK                N/A
NVE Volume
Encryption Check
NDMP sessions check  OK                N/A
NFS mounts status    Warning           Warning: This cluster is serving NFS
check                                  clients. If NFS soft mounts are used,
                                       there is a possibility of frequent
                                       NFS timeouts and race conditions that
                                       can lead to data corruption during
                                       the upgrade.
                                       Action: Use NFS hard mounts, if
                                       possible. To list Vservers running
                                       NFS, run the following command:
                                       vserver nfs show
Name Service         OK                N/A
Configuration DNS
Check
Name Service         OK                N/A
Configuration LDAP
Check
Node to SP/BMC       OK                N/A
connectivity check
OKM/KMIP enabled     OK                N/A
systems - Missing
keys check
ONTAP API to REST    Warning           Warning: NetApp ONTAP API has been
transition warning                     used on this cluster for ONTAP data
                                       storage management within the last 30
                                       days. NetApp ONTAP API is approaching
                                       end of availability.
                                       Action: Transition your automation
                                       tools from ONTAP API to ONTAP REST
                                       API. For more details, refer to
                                       CPC-00410 - End of availability:
                                       ONTAPI
                                       https://mysupport.netapp.com/info/
                                       communications/ECMLP2880232.html
ONTAP Image          OK                N/A
Capability Status
OpenSSL 3.0.x        OK                N/A
upgrade validation
check
Openssh 7.2 upgrade  OK                N/A
validation check
Platform Health      OK                N/A
Monitor check
Pre-Update           OK                N/A
Configuration
Verification
RDB Replica Health   OK                N/A
Check
Replicated database  OK                N/A
schema consistency
check
Running Jobs Status  OK                N/A
SAN LIF association  OK                N/A
status check
SAN compatibility    OK                N/A
for manual
configurability
check
SAN kernel agent     OK                N/A
status check
Secure Purge         OK                N/A
operation Check
Shelves and Sensors  OK                N/A
check
SnapLock Version     OK                N/A
Check
SnapMirror           OK                N/A
Synchronous
relationship status
check
SnapMirror           OK                N/A
compatibility
status check
Supported platform   OK                N/A
check
Target ONTAP         OK                N/A
release support for
FiberBridge 6500N
check
Upgrade Version      OK                N/A
Compatibility Status
Verify all bgp       OK                N/A
peer-groups are in
the up state
Verify if a cluster  OK                N/A
management LIF
exists
Verify that e0M is   OK                N/A
home to no LIFs
with high speed
services.
Volume Conversion    OK                N/A
In Progress Check
Volume move          OK                N/A
progress status
check
Volume online        OK                N/A
status check
iSCSI target portal  OK                N/A
groups status check
Overall Status       Warning           Warning
75 entries were displayed.