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

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

贡献者

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

支持以下集群交换机:

  • CN1610

  • BES-53248

查看要求

验证您的配置是否满足以下要求:

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

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

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

  • BES-53248交换机的初始自定义完成、以便:

    • BES-53248交换机正在运行建议的最新版本的EFOS软件。

    • 参考配置文件(Reference Configuration Files、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 Hardware Universe" 包含有关ONTAP 兼容性、支持的EFOS固件以及BES-53248集群交换机布线的信息。

ISL布线

相应的 ISL 布线如下所示:

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

  • * 最终版本: * 对于 BES-53248 到 BES-53248 ( QSFP28 到 QSFP28 ),需要两根 QSFP28 光纤收发器 / 光纤或铜缆直连缆线。

迁移交换机

按照此操作步骤 将CN1610集群交换机迁移到BES-53248集群交换机。

关于示例

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

  • 这些示例使用两个节点、每个节点部署两个10 GbE集群互连端口: e0ae0b

  • 根据不同版本的 ONTAP 软件,命令输出可能会有所不同。

  • 要更换的 CN1610 交换机为 CL1CL2

  • 用于更换 CN1610 交换机的 BES-53248 交换机为 CS1CS2

  • 节点为 node1node2

  • 交换机 CL2 首先由 CS2 取代,然后由 CL1 取代 CS1 。

  • BES-53248 交换机预加载了受支持的参考配置文件( Reference Configuration File , RCF )和以太网阵列操作系统( Ethernet Fabric OS , EFOS )版本,并在端口 55 和 56 上连接了 ISL 缆线。

  • 集群 LIF 名称是 node1 的 node1_clus1node1_clus2 , node2 的 node2_clus1node2_clus2

关于此任务

此操作步骤包括以下情形:

  • 集群从两个节点连接到两个 CN1610 集群交换机开始。

  • CN1610 交换机 CL2 由 BES-53248 交换机 CS2 取代:

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

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

  • CN1610 交换机 CL1 由 BES-53248 交换机 CS1 取代:

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

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

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

第1步:准备迁移

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

    ssystem node AutoSupport invoke -node * -type all -message MAINT=xh

    其中 x 是维护时段的持续时间,以小时为单位。

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

    以下命令将禁止自动创建案例 2 小时:

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

    set -privilege advanced

    此时将显示高级提示符( * > )。

第2步:配置端口和布线

  1. 在新交换机上、确认交换机CS1和CS2之间的ISL已布线且运行状况良好:

    s如何使用端口通道

    显示示例

    以下示例显示交换机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. 对集群Lifs禁用自动还原。

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

    (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. 验证集群LIFs是否已故障转移到集群交换机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 port all
    cs2# show isdp neighbors
  9. 在集群交换机CL1上、关闭连接到节点集群端口的端口、以便对集群LI进行故障转移:

    (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)#

    所有集群的集群Sifs都会故障转移到CS2交换机。

  10. 验证集群SIFs是否已故障转移到交换机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 port all
    cs1# show isdp neighbors
  16. 验证CS1和CS2之间的ISL是否仍正常运行:

    s如何使用端口通道

    显示示例

    以下示例显示交换机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. 验证集群LIF是否已还原到其主端口(这可能需要一分钟时间):

    network interface show -vserver cluster

    如果集群LIF尚未还原到其主端口、请手动还原它们:

    network interface revert -vserver cluster -lif *

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

    cluster show

  4. 对远程集群接口执行 Ping 操作以验证连接:

    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.47.194 to Remote 169.254.209.69
        Local 169.254.47.194 to Remote 169.254.49.125
        Local 169.254.19.183 to Remote 169.254.209.69
        Local 169.254.19.183 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)
  5. 要设置日志收集、请对每个交换机运行以下命令。系统会提示您输入交换机名称、用户名和密码以收集日志。

    s系统交换机以太网日志设置密码

    显示示例
    cluster1::*> system switch ethernet log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs1
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs2
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
  6. 要开始收集日志、请运行以下命令、将device替换为上一命令中使用的交换机。这将开始两种类型的日志收集:详细的*Support*日志和每小时收集*定期*数据。

    system switch ethernet log modify -device <switch-name> -log-request true

    显示示例
    cluster1::*> system switch ethernet log modify -device cs1 -log-request true
    
    Do you want to modify the cluster switch log collection configuration?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster1::*> system switch ethernet log modify -device cs2 -log-request true
    
    Do you want to modify the cluster switch log collection configuration?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.

    等待10分钟、然后检查日志收集是否完成:

    system switch ethernet log show

    注意 如果其中任一命令返回错误或日志收集未完成、请联系NetApp支持部门。
  7. 如果禁止自动创建案例,请通过调用 AutoSupport 消息重新启用它:

    ssystem node AutoSupport invoke -node * -type all -message MAINT=end

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