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

安装参考配置文件( RCF )

贡献者

首次设置Nexus 3132Q-V交换机后、按照此操作步骤 安装RCF。您也可以使用此操作步骤升级 RCF 版本。

查看要求

您需要的内容
  • 交换机配置的当前备份。

  • 一个完全正常运行的集群(日志中没有错误或类似问题)。

  • 当前参考配置文件(Reference Configuration File、RCF)。

  • 安装RC框架 时、需要与交换机建立控制台连接。如果您已使用知识库文章、则此要求是可选的 "如何在保持远程连接的同时清除Cisco互连交换机上的配置" 要清除配置、请事先清除。

  • "Cisco 以太网交换机"。有关支持的ONTAP 和RCF版本、请参见交换机兼容性表。请注意、RCF中的命令语法与NX-OS版本中的命令语法之间可能存在命令依赖关系。

  • "Cisco Nexus 3000 系列交换机"。有关Cisco交换机升级和降级过程的完整文档、请参见Cisco网站上提供的相应软件和升级指南。

安装文件

关于示例

此操作步骤中的示例使用以下交换机和节点命名:

  • 这两台 Cisco 交换机的名称分别为 CS1CS2

  • 节点名称包括 cluster1-01cluster1-02cluster1-03cluster1-04

  • 集群 LIF 名称为 cluster1-01_clus1cluster1-01_clus2cluster1-02_clus1cluster1-02_clus2cluster1-03_clus1cluster1-03_clus2cluster1-04_clus1cluster1-04_clus2

  • cluster1 ::: * > 提示符指示集群的名称。

关于此任务

操作步骤 要求同时使用 ONTAP 命令和 Cisco Nexus 3000 系列交换机命令;除非另有说明,否则使用 ONTAP 命令。

在此操作步骤 期间、不需要可操作的交换机间链路(ISL)。这是设计上的原因、因为RCF版本更改可能会暂时影响ISL连接。为了确保集群无中断运行、以下操作步骤 会在对目标交换机执行步骤时将所有集群LIF迁移到运行中的配对交换机。

请务必在中完成操作步骤 "准备安装NX-OS软件和参考配置文件"、然后按照以下步骤进行操作。

第1步:检查端口状态

  1. 显示连接到集群交换机的每个节点上的集群端口:

    network device-discovery show

    显示示例
    cluster1::*> network device-discovery show
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ------------
    cluster1-01/cdp
                e0a    cs1                       Ethernet1/7       N3K-C3132Q-V
                e0d    cs2                       Ethernet1/7       N3K-C3132Q-V
    cluster1-02/cdp
                e0a    cs1                       Ethernet1/8       N3K-C3132Q-V
                e0d    cs2                       Ethernet1/8       N3K-C3132Q-V
    cluster1-03/cdp
                e0a    cs1                       Ethernet1/1/1     N3K-C3132Q-V
                e0b    cs2                       Ethernet1/1/1     N3K-C3132Q-V
    cluster1-04/cdp
                e0a    cs1                       Ethernet1/1/2     N3K-C3132Q-V
                e0b    cs2                       Ethernet1/1/2     N3K-C3132Q-V
    cluster1::*>
  2. 检查每个集群端口的管理和运行状态。

    1. 验证所有集群端口是否均已启动且状态正常:

      network port show -ipspace cluster

      显示示例
      cluster1::*> network port show -ipspace Cluster
      
      Node: cluster1-01
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      
      Node: cluster1-02
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      8 entries were displayed.
      
      Node: cluster1-03
      
         Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-04
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      cluster1::*>
    2. 验证所有集群接口( LIF )是否均位于主端口上:

      network interface show -vserver cluster

      显示示例
      cluster1::*> network interface show -vserver Cluster
                  Logical            Status     Network           Current      Current Is
      Vserver     Interface          Admin/Oper Address/Mask      Node         Port    Home
      ----------- ------------------ ---------- ----------------- ------------ ------- ----
      Cluster
                  cluster1-01_clus1  up/up     169.254.3.4/23     cluster1-01  e0a     true
                  cluster1-01_clus2  up/up     169.254.3.5/23     cluster1-01  e0d     true
                  cluster1-02_clus1  up/up     169.254.3.8/23     cluster1-02  e0a     true
                  cluster1-02_clus2  up/up     169.254.3.9/23     cluster1-02  e0d     true
                  cluster1-03_clus1  up/up     169.254.1.3/23     cluster1-03  e0a     true
                  cluster1-03_clus2  up/up     169.254.1.1/23     cluster1-03  e0b     true
                  cluster1-04_clus1  up/up     169.254.1.6/23     cluster1-04  e0a     true
                  cluster1-04_clus2  up/up     169.254.1.7/23     cluster1-04  e0b     true
      cluster1::*>
    3. 验证集群是否同时显示两个集群交换机的信息:

      ssystem cluster-switch show -is-monitoring-enableed-Operational true

      显示示例
      cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
      Switch                      Type               Address          Model
      --------------------------- ------------------ ---------------- ---------------
      cs1                         cluster-network    10.0.0.1         NX3132QV
           Serial Number: FOXXXXXXXGS
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(4)
          Version Source: CDP
      
      cs2                         cluster-network    10.0.0.2         NX3132QV
           Serial Number: FOXXXXXXXGD
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(4)
          Version Source: CDP
      
      2 entries were displayed.
    备注 对于ONTAP 9.8及更高版本、请使用命令 system switch ethernet show -is-monitoring-enabled-operational true
  3. 在集群 LIF 上禁用自动还原。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert false

    确保在运行此命令后禁用自动还原。

  4. 在集群交换机 CS2 上,关闭连接到节点集群端口的端口。

    cs2(config)# interface eth1/1/1-2,eth1/7-8
    cs2(config-if-range)# shutdown
  5. 验证集群端口是否已迁移到集群交换机 CS1 上托管的端口。这可能需要几秒钟的时间。

    network interface show -vserver cluster

    显示示例
    cluster1::*> network interface show -vserver Cluster
                Logical           Status     Network            Current       Current Is
    Vserver     Interface         Admin/Oper Address/Mask       Node          Port    Home
    ----------- ----------------- ---------- ------------------ ------------- ------- ----
    Cluster
                cluster1-01_clus1 up/up      169.254.3.4/23     cluster1-01   e0a     true
                cluster1-01_clus2 up/up      169.254.3.5/23     cluster1-01   e0a     false
                cluster1-02_clus1 up/up      169.254.3.8/23     cluster1-02   e0a     true
                cluster1-02_clus2 up/up      169.254.3.9/23     cluster1-02   e0a     false
                cluster1-03_clus1 up/up      169.254.1.3/23     cluster1-03   e0a     true
                cluster1-03_clus2 up/up      169.254.1.1/23     cluster1-03   e0a     false
                cluster1-04_clus1 up/up      169.254.1.6/23     cluster1-04   e0a     true
                cluster1-04_clus2 up/up      169.254.1.7/23     cluster1-04   e0a     false
    cluster1::*>
  6. 验证集群是否运行正常:

    cluster show

    显示示例
    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------  -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
    cluster1::*>

第2步:配置并验证设置

  1. 如果尚未保存当前交换机配置的副本、请将以下命令的输出复制到文本文件中:

    s如何运行配置

  2. 清理交换机 CS2 上的配置并执行基本设置。

    警告 更新或应用新 RCF 时,必须擦除交换机设置并执行基本配置。您必须*连接到交换机串行控制台端口才能重新设置交换机。但是、如果您使用了知识库文章、则此要求是可选的 "如何在保持远程连接的同时清除Cisco互连交换机上的配置" 要清除配置、请事先清除。
    1. 清理配置:

      显示示例
      (cs2)# write erase
      
      Warning: This command will erase the startup-configuration.
      
      Do you wish to proceed anyway? (y/n)  [n]  y
    2. 重新启动交换机:

      显示示例
      (cs2)# reload
      
      Are you sure you would like to reset the system? (y/n) y
  3. 使用以下传输协议之一将 RCF 复制到交换机 CS2 的启动闪存: FTP , TFTP , SFTP 或 SCP 。有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 3000 系列 NX-OS 命令参考》" 指南。

    显示示例
    cs2# copy tftp: bootflash: vrf management
    Enter source filename: Nexus_3132QV_RCF_v1.6-Cluster-HA-Breakout.txt
    Enter hostname for the tftp server: 172.22.201.50
    Trying to connect to tftp server......Connection to Server Established.
    TFTP get operation was successful
    Copy complete, now saving to disk (please wait)...
  4. 将先前下载的 RCF 应用于 bootflash 。

    有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 3000 系列 NX-OS 命令参考》" 指南。

    显示示例
    cs2# copy Nexus_3132QV_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
  5. 检查 show banner motd 命令的横幅输出。您必须阅读并按照 * 重要说明 * 中的说明进行操作,以确保交换机的配置和操作正确无误。

    显示示例
    cs2# show banner motd
    
    ******************************************************************************
    * NetApp Reference Configuration File (RCF)
    *
    * Switch   : Cisco Nexus 3132Q-V
    * Filename : Nexus_3132QV_RCF_v1.6-Cluster-HA-Breakout.txt
    * Date     : Nov-02-2020
    * Version  : v1.6
    *
    * Port Usage : Breakout configuration
    * Ports  1- 6: Breakout mode (4x10GbE) Intra-Cluster Ports, int e1/1/1-4,
    * e1/2/1-4, e1/3/1-4,int e1/4/1-4, e1/5/1-4, e1/6/1-4
    * Ports  7-30: 40GbE Intra-Cluster/HA Ports, int e1/7-30
    * Ports 31-32: Intra-Cluster ISL Ports, int e1/31-32
    *
    * IMPORTANT NOTES
    * - Load Nexus_3132QV_RCF_v1.6-Cluster-HA.txt for non breakout config
    *
    * - This RCF utilizes QoS and requires specific TCAM configuration, requiring
    *   cluster switch to be rebooted before the cluster becomes operational.
    *
    * - Perform the following steps to ensure proper RCF installation:
    *
    *   (1) Apply RCF, expect following messages:
    *       - Please save config and reload the system...
    *       - Edge port type (portfast) should only be enabled on ports...
    *       - TCAM region is not configured for feature QoS class IPv4...
    *
    *   (2) Save running-configuration and reboot Cluster Switch
    *
    *   (3) After reboot, apply same RCF second time and expect following messages:
    *       - % Invalid command at '^' marker
    *
    *   (4) Save running-configuration again
    *
    * - If running NX-OS versions 9.3(5) 9.3(6), 9.3(7), or 9.3(8)
    *    - Downgrade the NX-OS firmware to version 9.3(5) or earlier if
    *      NX-OS using a version later than 9.3(5).
    *    - Do not upgrade NX-OS prior to applying v1.9 RCF file.
    *    - After the RCF is applied and switch rebooted, then proceed to upgrade
    *      NX-OS to version 9.3(5) or later.
    *
    * - If running 9.3(9) 10.2(2) or later the RCF can be applied to the switch
    *      after the upgrade.
    *
    * - Port 1 multiplexed H/W configuration options:
    *     hardware profile front portmode qsfp      (40G H/W port 1/1 is active - default)
    *     hardware profile front portmode sfp-plus  (10G H/W ports 1/1/1 - 1/1/4 are active)
    *     hardware profile front portmode qsfp      (To reset to QSFP)
    *
    ******************************************************************************
  6. 验证 RCF 文件是否为正确的较新版本:

    s如何运行配置

    在检查输出以确认您的 RCF 正确无误时,请确保以下信息正确无误:

    • RCF 横幅

    • 节点和端口设置

    • 自定义

      输出因站点配置而异。检查端口设置,并参阅发行说明,了解您安装的 RCF 的任何特定更改。

    备注 有关在升级RC框架 后如何使10GbE端口联机的步骤、请参见知识库文章 "Cisco 3132Q集群交换机上的10GbE端口未联机"
  7. 将先前的所有自定义设置重新应用于交换机配置。"查看布线和配置注意事项"有关所需的任何进一步更改的详细信息、请参见。

  8. 验证 RCF 版本和交换机设置是否正确后,将 running-config 文件复制到 startup-config 文件。

    有关 Cisco 命令的详细信息,请参见中的相应指南 "《 Cisco Nexus 3000 系列 NX-OS 命令参考》" 指南。

    显示示例
    cs2# copy running-config startup-config [########################################] 100% Copy complete
  9. 重新启动交换机 CS2 。您可以忽略交换机重新启动时节点上报告的"集群端口关闭"事件以及错误 % Invalid command at '^' marker 输出。

    显示示例
    cs2# reload
    This command will reboot the system. (y/n)?  [n] y
  10. 应用相同的 RCF 并再次保存运行配置。这是必需的、因为RCC利用QoS、并且需要重新配置TCAM、这涉及到加载RCC两次、交换机在这两次之间重新启动。

    显示示例
    cs2# copy Nexus_3132QV_RCF_v1.6-Cluster-HA-Breakout.txt running-config echo-commands
    cs2# copy running-config startup-config [########################################] 100% Copy complete
  11. 验证集群上集群端口的运行状况。

    1. 验证集群中所有节点上的集群端口是否均已启动且运行正常:

      network port show -ipspace cluster

      显示示例
      cluster1::*> network port show -ipspace Cluster
      
      Node: cluster1-01
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-02
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: cluster1-03
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
      
      Node: cluster1-04
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/100000 healthy false
      e0d       Cluster      Cluster          up   9000  auto/100000 healthy false
    2. 从集群验证交换机运行状况。

      network device-discovery show -protocol cdp

      显示示例
      cluster1::*> network device-discovery show -protocol cdp
      Node/       Local  Discovered
      Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
      ----------- ------ ------------------------- ----------------- --------
      cluster1-01/cdp
                  e0a    cs1                       Ethernet1/7       N3K-C3132Q-V
                  e0d    cs2                       Ethernet1/7       N3K-C3132Q-V
      cluster01-2/cdp
                  e0a    cs1                       Ethernet1/8       N3K-C3132Q-V
                  e0d    cs2                       Ethernet1/8       N3K-C3132Q-V
      cluster01-3/cdp
                  e0a    cs1                       Ethernet1/1/1     N3K-C3132Q-V
                  e0b    cs2                       Ethernet1/1/1     N3K-C3132Q-V
      cluster1-04/cdp
                  e0a    cs1                       Ethernet1/1/2     N3K-C3132Q-V
                  e0b    cs2                       Ethernet1/1/2     N3K-C3132Q-V
      
      cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
      Switch                      Type               Address          Model
      --------------------------- ------------------ ---------------- -----
      cs1                         cluster-network    10.233.205.90    N3K-C3132Q-V
           Serial Number: FOXXXXXXXGD
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(4)
          Version Source: CDP
      
      cs2                         cluster-network    10.233.205.91    N3K-C3132Q-V
           Serial Number: FOXXXXXXXGS
            Is Monitored: true
                  Reason: None
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          9.3(4)
          Version Source: CDP
      
      2 entries were displayed.
      备注 对于ONTAP 9.8及更高版本、请使用命令 system switch ethernet show -is-monitoring-enabled-operational true
    备注

    根据先前加载在 CS1 交换机控制台上的 RCF 版本,您可能会在该交换机控制台上看到以下输出。

    2020 Nov 17 16:07:18 cs1 %$ VDC-1 %$ %STP-2-UNBLOCK_CONSIST_PORT: Unblocking port port-channel1 on VLAN0092. Port consistency restored.
    2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_PEER: Blocking port-channel1 on VLAN0001. Inconsistent peer vlan.
    2020 Nov 17 16:07:23 cs1 %$ VDC-1 %$ %STP-2-BLOCK_PVID_LOCAL: Blocking port-channel1 on VLAN0092. Inconsistent local vlan.

    +

    备注 集群节点报告运行状况可能需要长达5分钟的时间。
  12. 在集群交换机 CS1 上,关闭连接到节点集群端口的端口。

    显示示例
    cs1(config)# interface eth1/1/1-2,eth1/7-8
    cs1(config-if-range)# shutdown
  13. 验证集群 LIF 是否已迁移到交换机 CS2 上托管的端口。这可能需要几秒钟的时间。

    network interface show -vserver cluster

    显示示例
    cluster1::*> network interface show -vserver Cluster
                Logical            Status     Network            Current             Current Is
    Vserver     Interface          Admin/Oper Address/Mask       Node                Port    Home
    ----------- ------------------ ---------- ------------------ ------------------- ------- ----
    Cluster
                cluster1-01_clus1  up/up      169.254.3.4/23     cluster1-01         e0d     false
                cluster1-01_clus2  up/up      169.254.3.5/23     cluster1-01         e0d     true
                cluster1-02_clus1  up/up      169.254.3.8/23     cluster1-02         e0d     false
                cluster1-02_clus2  up/up      169.254.3.9/23     cluster1-02         e0d     true
                cluster1-03_clus1  up/up      169.254.1.3/23     cluster1-03         e0b     false
                cluster1-03_clus2  up/up      169.254.1.1/23     cluster1-03         e0b     true
                cluster1-04_clus1  up/up      169.254.1.6/23     cluster1-04         e0b     false
                cluster1-04_clus2  up/up      169.254.1.7/23     cluster1-04         e0b     true
    cluster1::*>
  14. 验证集群是否运行正常:

    cluster show

    显示示例
    cluster1::*> cluster show
    Node                 Health   Eligibility   Epsilon
    -------------------- -------- ------------- -------
    cluster1-01          true     true          false
    cluster1-02          true     true          false
    cluster1-03          true     true          true
    cluster1-04          true     true          false
    4 entries were displayed.
    cluster1::*>
  15. 对交换机CS1重复步骤1到10。

  16. 在集群 LIF 上启用自动还原。

    显示示例
    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert True
  17. 重新启动交换机 CS1 。执行此操作可触发集群 LIF 还原到其主端口。您可以忽略交换机重新启动时在节点上报告的 " 集群端口关闭 " 事件。

    cs1# reload
    This command will reboot the system. (y/n)?  [n] y

第3步:验证配置

  1. 验证连接到集群端口的交换机端口是否已启动。

    show interface brief | grep up

    显示示例
    cs1# show interface brief | grep up
    .
    .
    Eth1/1/1      1       eth  access up      none                    10G(D) --
    Eth1/1/2      1       eth  access up      none                    10G(D) --
    Eth1/7        1       eth  trunk  up      none                   100G(D) --
    Eth1/8        1       eth  trunk  up      none                   100G(D) --
    .
    .
  2. 验证 CS1 和 CS2 之间的 ISL 是否正常运行:

    s如何执行端口通道摘要

    显示示例
    cs1# show port-channel summary
    Flags:  D - Down        P - Up in port-channel (members)
            I - Individual  H - Hot-standby (LACP only)
            s - Suspended   r - Module-removed
            b - BFD Session Wait
            S - Switched    R - Routed
            U - Up (port-channel)
            p - Up in delay-lacp mode (member)
            M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-       Type     Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)     Eth      LACP      Eth1/31(P)   Eth1/32(P)
    cs1#
  3. 验证集群 LIF 是否已还原到其主端口:

    network interface show -vserver cluster

    显示示例
    cluster1::*> network interface show -vserver Cluster
                Logical            Status     Network            Current             Current Is
    Vserver     Interface          Admin/Oper Address/Mask       Node                Port    Home
    ----------- ------------------ ---------- ------------------ ------------------- ------- ----
    Cluster
                cluster1-01_clus1  up/up      169.254.3.4/23     cluster1-01         e0d     true
                cluster1-01_clus2  up/up      169.254.3.5/23     cluster1-01         e0d     true
                cluster1-02_clus1  up/up      169.254.3.8/23     cluster1-02         e0d     true
                cluster1-02_clus2  up/up      169.254.3.9/23     cluster1-02         e0d     true
                cluster1-03_clus1  up/up      169.254.1.3/23     cluster1-03         e0b     true
                cluster1-03_clus2  up/up      169.254.1.1/23     cluster1-03         e0b     true
                cluster1-04_clus1  up/up      169.254.1.6/23     cluster1-04         e0b     true
                cluster1-04_clus2  up/up      169.254.1.7/23     cluster1-04         e0b     true
    cluster1::*>
  4. 验证集群是否运行正常:

    cluster show

    显示示例
    cluster1::*> cluster show
    Node                 Health  Eligibility   Epsilon
    -------------------- ------- ------------- -------
    cluster1-01          true    true          false
    cluster1-02          true    true          false
    cluster1-03          true    true          true
    cluster1-04          true    true          false
    cluster1::*>
  5. 验证远程集群接口的连接:

ONTAP 9.9.1及更高版本

您可以使用 network interface check cluster-connectivity 命令启动集群连接的可访问性检查、然后显示详细信息:

network interface check cluster-connectivity startnetwork interface check cluster-connectivity show

cluster1::*> network interface check cluster-connectivity start

*注:*请等待几秒钟、然后再运行show命令显示详细信息。

cluster1::*> network interface check cluster-connectivity show
                                  Source              Destination         Packet
Node   Date                       LIF                 LIF                 Loss
------ -------------------------- ------------------- ------------------- -----------
cluster1-01
       3/5/2022 19:21:18 -06:00   cluster1-01_clus2   cluster1-02_clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-01_clus2   cluster1-02_clus2   none

cluster1-02
       3/5/2022 19:21:18 -06:00   cluster1-02_clus2   cluster1-01_clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-02_clus2   cluster1-01_clus2   none
所有ONTAP版本

对于所有ONTAP版本、您还可以使用 cluster ping-cluster -node <name> 用于检查连接的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is cluster1-02
Getting addresses from network interface table...
Cluster cluster1-01_clus1 169.254.209.69 cluster1-01     e0a
Cluster cluster1-01_clus2 169.254.49.125 cluster1-01     e0b
Cluster cluster1-02_clus1 169.254.47.194 cluster1-02     e0a
Cluster cluster1-02_clus2 169.254.19.183 cluster1-02     e0b
Local = 169.254.47.194 169.254.19.183
Remote = 169.254.209.69 169.254.49.125
Cluster Vserver Id = 4294967293
Ping status:
....
Basic connectivity succeeds on 4 path(s)
Basic connectivity fails on 0 path(s)
................
Detected 9000 byte MTU on 4 path(s):
    Local 169.254.19.183 to Remote 169.254.209.69
    Local 169.254.19.183 to Remote 169.254.49.125
    Local 169.254.47.194 to Remote 169.254.209.69
    Local 169.254.47.194 to Remote 169.254.49.125
Larger than PMTU communication succeeds on 4 path(s)
RPC status:
2 paths up, 0 paths down (tcp check)
2 paths up, 0 paths down (udp check)
下一步是什么?

"验证 SSH 配置"(英文)