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

将 CN1610 集群交换机迁移到 BES-53248 集群交换机

贡献者 netapp-yvonneo netapp-jolieg

要将集群中的 CN1610 集群交换机迁移到 Broadcom 支持的 BES-53248 集群交换机,请先查看迁移要求,然后按照迁移程序进行操作。

支持以下集群交换机:

  • CN1610

  • BES-53248

审查要求

请确认您的配置符合以下要求:

  • BES-53248 交换机上的某些端口配置为以 10GbE 运行。

  • 节点到 BES-53248 集群交换机的 10GbE 连接已经过规划、迁移和记录。

  • 集群运行正常(日志中不应有任何错误或类似问题)。

  • BES-53248 交换机的初始定制工作已完成,具体如下:

    • BES-53248 交换机运行的是最新推荐版本的 EFOS 软件。

    • 交换机已应用参考配置文件(RCF)。

    • 任何站点定制,如 DNS、NTP、SMTP、SNMP 和 SSH,都在新交换机上进行配置。

节点连接

集群交换机支持以下节点连接:

  • NetApp CN1610:端口 0/1 至 0/12 (10GbE)

  • BES-53248:端口 0/1-0/16(10GbE/25GbE)

    备注 可通过购买端口许可证激活其他端口。

ISL 端口

集群交换机使用以下交换机间链路(ISL)端口:

  • NetApp CN1610:端口 0/13 至 0/16 (10GbE)

  • BES-53248:端口 0/55-0/56 (100GbE)

"NetApp硬件世界" 包含有关ONTAP兼容性、支持的 EFOS 固件以及与 BES-53248 集群交换机的布线的信息。看 "安装HWU中没有的设备还需要哪些额外信息?" 有关交换机安装要求的更多信息。

ISL 布线

适用的ISL布线如下:

  • *起始:*对于 CN1610 到 CN1610(SFP+ 到 SFP+),四根 SFP+ 光纤或铜缆直连电缆。

  • *最终:*对于 BES-53248 到 BES-53248(QSFP28 到 QSFP28),两个 QSFP28 光收发器/光纤或铜缆直接连接电缆。

迁移交换机

按照以下步骤将 CN1610 集群交换机迁移到 BES-53248 集群交换机。

关于示例

本流程中的示例使用以下开关和节点命名规则:

  • 示例使用了两个节点,每个节点部署了两个 10 GbE 集群互连端口: e0a`和 `e0b

  • 命令输出可能因ONTAP软件版本不同而有所差异。

  • 需要更换的CN1610交换机有: CL1`和 `CL2

  • 用于替代 CN1610 交换机的 BES-53248 交换机是 cs1`和 `cs2

  • 节点是 node1`和 `node2

  • 首先将开关 CL2 替换为 cs2,然后将 CL1 替换为 cs1。

  • BES-53248 交换机预装了受支持的参考配置文件 (RCF) 和以太网交换矩阵操作系统 (EFOS) 版本,ISL 电缆连接在端口 55 和 56 上。

  • 集群 LIF 名称为 `node1_clus1`和 `node1_clus2`对于节点1,以及 `node2_clus1`和 `node2_clus2`对于节点2。

关于此任务

本流程涵盖以下情况:

  • 集群由两个节点组成,这两个节点连接到两个 CN1610 集群交换机。

  • CN1610 交换机 CL2 被 BES-53248 交换机 cs2 取代:

    • 关闭集群节点的端口。为避免集群不稳定,所有端口必须同时关闭。

    • 断开连接到 CL2 的所有节点上所有集群端口的电缆,然后使用支持的电缆将端口重新连接到新的集群交换机 cs2。

  • CN1610 交换机 CL1 被 BES-53248 交换机 cs1 取代:

    • 关闭集群节点的端口。为避免集群不稳定,所有端口必须同时关闭。

    • 断开连接到 CL1 的所有节点上所有集群端口的电缆,然后使用支持的电缆将端口重新连接到新的集群交换机 cs1。

备注 在此过程中不需要任何可操作的交换机间链路 (ISL)。这是设计使然,因为 RCF 版本的更改可能会暂时影响 ISL 连接。为确保集群运行不中断,以下步骤将所有集群 LIF 迁移到运行伙伴交换机,同时在目标交换机上执行相应步骤。

步骤 1:准备迁移

  1. 如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:

    system node autosupport invoke -node * -type all -message MAINT=xh

    其中 x 为维护窗口的持续时间(小时)。

    备注 AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。

    以下命令可抑制自动创建案件两小时:

    cluster1::*> system node autosupport invoke -node * -type all -message MAINT=2h
  2. 将权限级别更改为高级,并在提示继续时输入 y

    set -privilege advanced

    出现高级提示符(*>)。

步骤二:配置端口和线缆

  1. 在新交换机上,确认交换机 cs1 和 cs2 之间的 ISL 线缆连接正常且运行良好:

    show port-channel

    显示示例

    以下示例表明交换机 cs1 上的 ISL 端口已启用:

    (cs1)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
    (cs1) #

    以下示例表明交换机 cs2 上的 ISL 端口已启用:

    (cs2)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
  2. 显示连接到现有集群交换机的每个节点上的集群端口:

    network device-discovery show -protocol cdp

    显示示例

    以下示例显示了每个节点上每个集群互连交换机配置的集群互连接口数量:

    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node2      /cdp
                e0a    CL1                       0/2               CN1610
                e0b    CL2                       0/2               CN1610
    node1      /cdp
                e0a    CL1                       0/1               CN1610
                e0b    CL2                       0/1               CN1610
  3. 确定每个集群接口的管理或运行状态。

    1. 确认所有集群端口都已连接 `up`与一个 `healthy`地位:

      network port show -ipspace Cluster

      显示示例
      cluster1::*> network port show -ipspace Cluster
      
      Node: node1
                                                                             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: node2
                                                                             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
    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
                node1_clus1  up/up    169.254.209.69/16  node1         e0a     true
                node1_clus2  up/up    169.254.49.125/16  node1         e0b     true
                node2_clus1  up/up    169.254.47.194/16  node2         e0a     true
                node2_clus2  up/up    169.254.19.183/16  node2         e0b     true
  4. 确认集群显示两个集群交换机的信息:

ONTAP 9.8 及更高版本

从ONTAP 9.8 开始,使用以下命令: system switch ethernet show -is-monitoring-enabled-operational true

cluster1::*> system switch ethernet show -is-monitoring-enabled-operational true
Switch                        Type             Address       Model
----------------------------- ---------------- ------------- --------
CL1                           cluster-network  10.10.1.101   CN1610
     Serial Number: 01234567
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP

CL2                           cluster-network  10.10.1.102   CN1610
     Serial Number: 01234568
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP
cluster1::*>
ONTAP 9.7 及更低版本

对于ONTAP 9.7 及更早版本,请使用以下命令: system cluster-switch show -is-monitoring-enabled-operational true

cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
Switch                        Type             Address       Model
----------------------------- ---------------- ------------- --------
CL1                           cluster-network  10.10.1.101   CN1610
     Serial Number: 01234567
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP

CL2                           cluster-network  10.10.1.102   CN1610
     Serial Number: 01234568
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP
cluster1::*>
  1. 禁用集群 LIF 的自动还原功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert false
  2. 在集群交换机 CL2 上,关闭连接到节点集群端口的端口,以便进行集群 LIF 的故障转移:

    (CL2)# configure
    (CL2)(Config)# interface 0/1-0/16
    (CL2)(Interface 0/1-0/16)# shutdown
    (CL2)(Interface 0/1-0/16)# exit
    (CL2)(Config)# exit
    (CL2)#
  3. 确认集群 LIF 已故障转移到集群交换机 CL1 上托管的端口。这可能需要几秒钟。

    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
                node1_clus1  up/up      169.254.209.69/16  node1         e0a     true
                node1_clus2  up/up      169.254.49.125/16  node1         e0a     false
                node2_clus1  up/up      169.254.47.194/16  node2         e0a     true
                node2_clus2  up/up      169.254.19.183/16  node2         e0a     false
  4. 验证集群是否运行正常:

    cluster show

    显示示例
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  5. 将所有集群节点连接电缆从旧的 CL2 交换机移至新的 cs2 交换机。

  6. 确认迁移到 cs2 的网络连接状况:

    network port show -ipspace Cluster

    显示示例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           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: node2
                                                                           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

    所有已迁移的集群端口都应该是 up

  7. 检查集群端口的邻居信息:

    network device-discovery show -protocol cdp

    显示示例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node2      /cdp
                e0a    CL1                       0/2               CN1610
                e0b    cs2                       0/2               BES-53248
    node1      /cdp
                e0a    CL1                       0/1               CN1610
                e0b    cs2                       0/1               BES-53248
  8. 从交换机 CS2 的角度确认交换机端口连接是否正常:

    cs2# show interface all
    cs2# show isdp neighbors
  9. 在集群交换机 CL1 上,关闭连接到节点集群端口的端口,以便进行集群 LIF 的故障转移:

    (CL1)# configure
    (CL1)(Config)# interface 0/1-0/16
    (CL1)(Interface 0/1-0/16)# shutdown
    (CL1)(Interface 0/13-0/16)# exit
    (CL1)(Config)# exit
    (CL1)#

    所有集群 LIF 故障转移到 cs2 交换机。

  10. 验证集群 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
                node1_clus1  up/up      169.254.209.69/16  node1         e0b     false
                node1_clus2  up/up      169.254.49.125/16  node1         e0b     true
                node2_clus1  up/up      169.254.47.194/16  node2         e0b     false
                node2_clus2  up/up      169.254.19.183/16  node2         e0b     true
  11. 验证集群是否运行正常:

    cluster show

    显示示例
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  12. 将集群节点连接电缆从 CL1 移至新的 cs1 交换机。

  13. 确认已迁移至 cs1 的网络连接的健康状况:

    network port show -ipspace Cluster

    显示示例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           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: node2
                                                                           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

    所有已迁移的集群端口都应该是 up

  14. 检查集群端口的邻居信息:

    network device-discovery show

    显示示例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e0a    cs1                       0/1               BES-53248
                e0b    cs2                       0/1               BES-53248
    node2      /cdp
                e0a    cs1                       0/2               BES-53248
                e0b    cs2                       0/2               BES-53248
  15. 从交换机 CS1 的角度确认交换机端口连接是否正常:

    cs1# show interface all
    cs1# show isdp neighbors
  16. 确认 cs1 和 cs2 之间的 ISL 连接仍然正常运行:

    show port-channel

    显示示例

    以下示例表明交换机 cs1 上的 ISL 端口已启用:

    (cs1)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
    (cs1) #

    以下示例表明交换机 cs2 上的 ISL 端口已启用:

    (cs2)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
  17. 如果被替换的 CN1610 交换机没有自动删除,则将其从集群的交换机表中删除:

ONTAP 9.8 及更高版本

从ONTAP 9.8 开始,使用以下命令: system switch ethernet delete -device device-name

cluster::*> system switch ethernet delete -device CL1
cluster::*> system switch ethernet delete -device CL2
ONTAP 9.7 及更低版本

对于ONTAP 9.7 及更早版本,请使用以下命令: system cluster-switch delete -device device-name

cluster::*> system cluster-switch delete -device CL1
cluster::*> system cluster-switch delete -device CL2

步骤 3:验证配置

  1. 启用集群 LIF 的自动回滚功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert true
  2. 在交换机 cs2 上,关闭并重新启动所有集群端口,以触发所有不在它们所属端口上的集群 LIF 的自动恢复。

    cs2> enable
    cs2# configure
    cs2(config)# interface 0/1-0/16
    cs2(config-if-range)# shutdown
    
    (Wait for 5-10 seconds before re-enabling the ports)
    
    cs2(config-if-range)# no shutdown
    
    (After executing the no shutdown command, the nodes detect the change and begin to auto-revert the cluster LIFs to their home ports)
    
    cs2(config-if-range)# exit
    cs2(config)# exit
    cs2#
  3. 验证集群 LIF 是否已恢复到其原端口(这可能需要一分钟):

    network interface show -vserver Cluster

    如果集群中的任何 LIF 尚未恢复到其主端口,请手动将其恢复。您必须连接到拥有该 LIF 的本地节点的每个节点管理 LIF 或SP/ BMC系统控制台:

    network interface revert -vserver Cluster -lif *

  4. 验证集群是否运行正常:

    cluster show

  5. 验证远程集群接口的连接性:

ONTAP 9.9.1 及更高版本

你可以使用 `network interface check cluster-connectivity`执行命令以启动集群连接性检查,然后显示详细信息:

network interface check cluster-connectivity start`和 `network 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
------ -------------------------- --------------- ----------------- -----------
node1
       3/5/2022 19:21:18 -06:00   node1_clus2      node2_clus1      none
       3/5/2022 19:21:20 -06:00   node1_clus2      node2_clus2      none

node2
       3/5/2022 19:21:18 -06:00   node2_clus2      node1_clus1      none
       3/5/2022 19:21:20 -06:00   node2_clus2      node1_clus2      none
所有ONTAP版本

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

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node node2
Host is node2
Getting addresses from network interface table...
Cluster node1_clus1 169.254.209.69 node1     e0a
Cluster node1_clus2 169.254.49.125 node1     e0b
Cluster node2_clus1 169.254.47.194 node2     e0a
Cluster node2_clus2 169.254.19.183 node2     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)
  1. 如果您已禁用自动创建案例功能,请通过调用AutoSupport消息重新启用该功能:

    system node autosupport invoke -node * -type all -message MAINT=END

    cluster::*> system node autosupport invoke -node * -type all -message MAINT=END
下一步是什么?

交换机迁移完成后,您可以…… "配置交换机健康监控"