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

升级 MetroCluster IP 交换机上的固件

贡献者 netapp-aoife netapp-martyh netapp-folivia netapp-thomi netapp-ranuk netapp-revathid netapp-ivanad

您可能需要升级 MetroCluster IP 交换机上的固件。

验证RC框架 是否受支持

更改ONTAP版本或交换机固件版本时、您应验证是否具有该版本支持的参考配置文件(Reference Configuration File、RCF)。如果使用"RcfFileGenerator"工具、则会为您的配置生成正确的RCIF。

步骤
  1. 从交换机使用以下命令验证RC框架 的版本:

    从此交换机 …​

    问题描述此命令 …​

    Broadcom交换机

    ` ( IP_switch_A_1 ) # show clibanner`

    Cisco 交换机

    IP_switch_A_1# show banner motd

    NVIDIA SN2100交换机

    cumulus@mcc1:mgmt:~$ nv config find message

    在命令输出中找到指示RCF版本的行。例如、Cisco交换机的以下输出指示RCF版本为"`v1.0"`。

    Filename : NX3232_v1.80_Switch-A2.txt
  2. 要检查特定ONTAP版本、交换机和平台支持哪些文件,请使用"适用于 MetroCluster IP 的 RcfFileGenerator"。如果您可以为已有或要升级到的配置生成RCN、则它受支持。

  3. 要验证是否支持交换机固件,请参阅以下内容:

升级交换机固件

关于此任务

您必须连续对每个交换机重复此任务。

"启用控制台日志记录" 执行此任务之前。

步骤
  1. 检查配置的运行状况。

    1. 检查每个集群上是否已配置 MetroCluster 并处于正常模式:

      MetroCluster show

      cluster_A::> metrocluster show
      Cluster                   Entry Name          State
      ------------------------- ------------------- -----------
       Local: cluster_A         Configuration state configured
                                Mode                normal
                                AUSO Failure Domain auso-on-cluster-disaster
      Remote: cluster_B         Configuration state configured
                                Mode                normal
                                AUSO Failure Domain auso-on-cluster-disaster
    2. 检查是否已在每个节点上启用镜像:

      MetroCluster node show

      cluster_A::> metrocluster node show
      DR                           Configuration  DR
      Group Cluster Node           State          Mirroring Mode
      ----- ------- -------------- -------------- --------- --------------------
      1     cluster_A
                    node_A_1       configured     enabled   normal
            cluster_B
                    node_B_1       configured     enabled   normal
      2 entries were displayed.
    3. 检查 MetroCluster 组件是否运行正常:

      MetroCluster check run

      cluster_A::*> metrocluster check run

      此操作将在后台运行。

    4. 在之后 metrocluster check run 操作完成、运行:

      MetroCluster check show`

      大约五分钟后,将显示以下结果:

    cluster_A:::*> metrocluster check show
    
    Component           Result
    ------------------- ---------
    nodes               ok
    lifs                ok
    config-replication  ok
    aggregates          ok
    clusters            ok
    connections         ok
    volumes             ok
    7 entries were displayed.
    1. 检查是否没有运行状况警报:

      s系统运行状况警报显示

  2. 如果 MetroCluster IP 配置已将 NVMe 盘架连接到 MetroCluster IP 交换机,请运行以下命令以验证盘架状态。

    1. 显示磁盘架状态:

      storage shelf show

      显示示例
      cluster_A::> storage shelf show
                                                              Module  Operational
             Shelf Name Shelf ID Serial Number   Model        Type    Status
      ----------------- -------- --------------- ------------ ------- -----------
                    1.0        0 952123456789    NS224NSM100  NSM100  Normal
                    1.2        0 952987654321    NS224NSM100  NSM100  Normal
      cluster_A::>
    2. 显示交换机连接的 NVMe 盘架的盘架连接:

      storage shelf show -shelf <shelf_name> -connectivity

      显示示例
      cluster_A::> storage shelf show -shelf 0 -connectivity
                  Shelf Name: 1.0
                   Stack ID: 1
                   Shelf ID: 0
                  Shelf UID: 00:00:00:00:00:00:00:00
              Serial Number: 952123456789
                Module Type: NSM100
                      Model: NS224NSM100
               Shelf Vendor: NETAPP
                 Disk Count: 24
            Connection Type: NVMe
                Shelf State: Online
                     Status: Normal
      Paths:
      
      Controller         Initiator Initiator Side Switch Port Target Side Switch Port    Target Port        TPGN
      ------------------ --------- -------------------------- -------------------------- ------------------ ------
      cluster_A-01       0x        -                          0x                         05000005abff0000   67
      cluster_A-02       0x        -                          0x                         030f0005abff0000   44
      
      cluster_A::>
    3. 如果需要,收集远程设备(MetroCluster 交换机)名称:

      显示示例
      cluster_A::> storage shelf port show -fields remote-device
      
      shelf id remote-device
      ----- -- -------------
      1.0   0  IP_switch_A_1
      1.0   1  IP_switch_B_1
      1.0   2  IP_switch_A_2
      1.0   3  IP_switch_B_2
      4 entries were displayed
    4. 显示交换机连接的 NVMe 盘架的盘架端口连接:

      storage shelf port show -remote-device <switch name>

    显示示例
    cluster_A::> storage shelf port show -remote-device IP_switch_A_1
    
    Shelf ID Module State        Internal?
    ----- -- ------ ------------ ---------
    1.0
           1 A      connected    false
           3 B      connected    false
    1.2
           1 A      connected    false
           3 B      connected    false
    4 entries were displayed.
    
    cluster_A::>
  3. "移动集群 LIF" 在开始升级之前。

  4. 如果您正在升级 Cisco 或 Broadcom MetroCluster IP 交换机上的固件,则可以在继续升级之前保存当前交换机配置的副本。

    备注 如果您的工作流程要求您重置交换机以便在固件升级后升级 RCF,您可以跳过此步骤,因为重置会清除保存的交换机配置。
    Cisco

    保存配置:

    copy running-config startup-config

    Broadcom

    保存配置:

    写入内存

  5. 在第一台交换机上安装软件。

    备注 您必须按以下顺序在交换机上安装交换机软件: switch_A_1 , switch_B_1 , switch_A_2 , switch_B_2 。

    根据交换机类型是Broadcom、Cisco还是NVIDIA、按照相关主题中的步骤安装交换机软件:

  6. 对每个交换机重复上述步骤。

    备注 在第一个网络结构(Switch_A_1、Switch_B_1)中配置交换机后,必须重复执行相关步骤,以移动第二个网络结构(Switch_A_2、Switch_B_2)上的集群 LIF。请参阅"了解有关配置 MetroCluster IP 交换机的信息"。
  7. 重复 第 1 步 以检查配置的运行状况。