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

将Cisco Nexus 5596集群交换机迁移到Cisco Nexus 3132Q-V集群交换机

贡献者

按照此操作步骤 将现有Nexus 5596集群交换机更换为Nexus 3132Q-V集群交换机。

查看要求

更换交换机

关于示例

本操作步骤 中的示例介绍了如何将 Nexus 5596 交换机更换为 Nexus 3132Q-V 交换机。您可以使用这些步骤(以及修改)来更换其他较早的 Cisco 交换机。

操作步骤 使用以下交换机和节点命名:

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

  • 要更换的 Nexus 5596 交换机为 CL1 和 CL2 。

  • 用于更换 Nexus 5596 交换机的 Nexus 3132Q-V 交换机为 C1 和 C2 。

  • N1_clus1 是连接到节点 n1 的集群交换机 1 ( CL1 或 C1 )的第一个集群逻辑接口( LIF )。

  • N1_clus2 是连接到节点 n1 的集群交换机 2 ( CL2 或 C2 )的第一个集群 LIF 。

  • n1_clus3 是连接到节点 n1 的集群交换机 2 ( CL2 或 C2 )的第二个 LIF 。

  • N1_clus4 是连接到节点 n1 的集群交换机 1 ( CL1 或 C1 )的第二个 LIF 。

  • 节点为 n1 , n2 , n3 和 n4 。

  • 此操作步骤 中的示例使用四个节点:两个节点使用四个 10 GbE 集群互连端口: e0a , e0b , e0c 和 e0d 。其他两个节点使用两个 40/100 GbE 集群互连端口: E4A , e4e 。。 "Hardware Universe" 列出了平台上的实际集群端口。

  • 10 GbE 和 40/100 GbE 端口的数量在上提供的参考配置文件( RCF )中定义 "Cisco ® 集群网络交换机参考配置文件下载" 页面。

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

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

  • 集群首先连接两个节点,并在 2 个 Nexus 5596 集群交换机中正常运行。

  • 要替换为 C2 (步骤 1. - 19

    • 连接到 CL2 的所有节点上的所有集群端口和 LIF 上的流量都会迁移到连接到 CL1 的第一个集群端口和 LIF 上。

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

    • 断开 CL1 和 CL2 之间 ISL 端口之间的布线,然后使用支持的断开布线将端口从 CL1 重新连接到 C2 。

    • 还原所有节点上连接到 C2 的所有集群端口和 LIF 上的流量。

  • 要替换为C2的集群交换机CL2

    • 连接到 CL1 的所有节点上的所有集群端口或 LIF 上的流量都会迁移到连接到 C2 的第二个集群端口或 LIF 上。

    • 断开与 CL1 连接的所有节点上所有集群端口的布线,并使用支持的断开布线方式重新连接到新的集群交换机 C1 。

    • 断开 CL1 和 C2 之间 ISL 端口之间的布线,并使用支持的布线从 C1 重新连接到 C2 。

    • 系统将还原所有节点上连接到 C1 的所有集群端口或 LIF 上的流量。

  • 集群中添加了两个FAS9000节点、其中的示例显示了集群详细信息。

第1步:准备更换

要将现有 Nexus 5596 集群交换机更换为 Nexus 3132Q-V 集群交换机,您必须执行一系列特定的任务。

  1. 如果在此集群上启用了 AutoSupport ,请通过调用 AutoSupport 消息来禁止自动创建案例: ssystem node AutoSupport invoke -node * -type all -message MAINT=xh

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

    备注 此消息会通知技术支持此维护任务,以便在维护窗口期间禁止自动创建案例。
  2. 显示有关配置中设备的信息:

    network device-discovery show

    显示示例

    以下示例显示了在每个节点中为每个集群互连交换机配置了多少个集群互连接口:

    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e0a    CL1                 Ethernet1/1      N5K-C5596UP
                e0b    CL2                 Ethernet1/1      N5K-C5596UP
                e0c    CL2                 Ethernet1/2      N5K-C5596UP
                e0d    CL1                 Ethernet1/2      N5K-C5596UP
    n2         /cdp
                e0a    CL1                 Ethernet1/3      N5K-C5596UP
                e0b    CL2                 Ethernet1/3      N5K-C5596UP
                e0c    CL2                 Ethernet1/4      N5K-C5596UP
                e0d    CL1                 Ethernet1/4      N5K-C5596UP
    8 entries were displayed.
  3. 确定每个集群接口的管理或运行状态:

    1. 显示网络端口属性:

      network port show

    显示示例

    以下示例显示了系统上的网络端口属性:

    cluster::*> network port show –role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    8 entries were displayed.
    1. 显示有关逻辑接口的信息: + network interface show

      显示示例

      以下示例显示了有关系统上所有 LIF 的常规信息:

      cluster::*> network interface show -role cluster
       (network interface show)
                  Logical    Status     Network            Current       Current Is
      Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
      ----------- ---------- ---------- ------------------ ------------- ------- ----
      Cluster
                  n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                  n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                  n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                  n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                  n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                  n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                  n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                  n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
      8 entries were displayed.
    2. 显示有关已发现集群交换机的信息: + ssystem cluster-switch show

      显示示例

      以下示例显示了集群已知的集群交换机及其管理 IP 地址:

      cluster::*> system cluster-switch show
      
      Switch                        Type               Address         Model
      ----------------------------- ------------------ --------------- ---------------
      CL1                           cluster-network    10.10.1.101     NX5596
           Serial Number: 01234567
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      CL2                           cluster-network    10.10.1.102     NX5596
           Serial Number: 01234568
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      
      2 entries were displayed.
  4. 在两个节点上的集群 LIF clus1 和 clus2 上将 ` -auto-revert` 参数设置为 false

    network interface modify

    显示示例
    cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert false
    cluster::*> network interface modify -vserver node1 -lif clus2 -auto-revert false
    cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert false
    cluster::*> network interface modify -vserver node2 -lif clus2 -auto-revert false
  5. 根据您的需求,验证是否在新的 3132Q-V 交换机上安装了适当的 RCF 和映像,并进行必要的站点自定义,例如用户和密码,网络地址等。

    此时必须准备两个交换机。如果需要升级 RCF 和映像,请按照以下步骤操作:

    1. 转至 "Cisco 以太网交换机" 页面。

    2. 请记下该页面上的表中的交换机和所需的软件版本。

    3. 下载适当版本的 RCF 。

    4. 单击 * RCF* 页面上的 * 继续 * ,接受许可协议,然后按照 * 下载 * 页面上的说明下载问题描述 。

    5. 下载相应版本的映像软件。

      请参见 _Cluster 8.x 或更高版本的 ONTAP 和管理网络交换机参考配置文件 __Download 页面,然后单击相应的版本。

    要查找正确的版本,请参见 _Cluster ONTAP 8.x 或更高版本的集群网络交换机下载页面 _ 。

  6. 迁移与要更换的第二个 Nexus 5596 交换机关联的 LIF :

    网络接口迁移

    显示示例

    以下示例显示了 n1 和 n2 ,但必须在所有节点上执行 LIF 迁移:

    cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -source-node n1 –
    destination-node n1 -destination-port e0a
    cluster::*> network interface migrate -vserver Cluster -lif n1_clus3 -source-node n1 –
    destination-node n1 -destination-port e0d
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -source-node n2 –
    destination-node n2 -destination-port e0a
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus3 -source-node n2 –
    destination-node n2 -destination-port e0d
  7. 验证集群的运行状况:

    network interface show

    显示示例

    以下示例显示了上一个 network interface migrate 命令的结果:

    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0a     false
                n1_clus3   up/up      10.10.0.3/24       n1            e0d     false
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0a     false
                n2_clus3   up/up      10.10.0.7/24       n2            e0d     false
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
    8 entries were displayed.
  8. 关闭物理连接到交换机 CL2 的集群互连端口:

    network port modify

    显示示例

    以下命令会关闭 n1 和 n2 上的指定端口,但必须关闭所有节点上的端口:

    cluster::*> network port modify -node n1 -port e0b -up-admin false
    cluster::*> network port modify -node n1 -port e0c -up-admin false
    cluster::*> network port modify -node n2 -port e0b -up-admin false
    cluster::*> network port modify -node n2 -port e0c -up-admin false
  9. 对远程集群接口执行 Ping 操作并执行 RPC 服务器检查:

    cluster ping-cluster

    显示示例

    以下示例显示了如何对远程集群接口执行 ping 操作:

    cluster::*> cluster ping-cluster -node n1
    Host is n1
    Getting addresses from network interface table...
    Cluster n1_clus1 n1		e0a	10.10.0.1
    Cluster n1_clus2 n1		e0b	10.10.0.2
    Cluster n1_clus3 n1		e0c	10.10.0.3
    Cluster n1_clus4 n1		e0d	10.10.0.4
    Cluster n2_clus1 n2		e0a	10.10.0.5
    Cluster n2_clus2 n2		e0b	10.10.0.6
    Cluster n2_clus3 n2		e0c	10.10.0.7
    Cluster n2_clus4 n2		e0d	10.10.0.8
    
    Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
    Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
    Cluster Vserver Id = 4294967293
    Ping status:
    ....
    Basic connectivity succeeds on 16 path(s)
    Basic connectivity fails on 0 path(s)
    ................
    Detected 1500 byte MTU on 16 path(s):
        Local 10.10.0.1 to Remote 10.10.0.5
        Local 10.10.0.1 to Remote 10.10.0.6
        Local 10.10.0.1 to Remote 10.10.0.7
        Local 10.10.0.1 to Remote 10.10.0.8
        Local 10.10.0.2 to Remote 10.10.0.5
        Local 10.10.0.2 to Remote 10.10.0.6
        Local 10.10.0.2 to Remote 10.10.0.7
        Local 10.10.0.2 to Remote 10.10.0.8
        Local 10.10.0.3 to Remote 10.10.0.5
        Local 10.10.0.3 to Remote 10.10.0.6
        Local 10.10.0.3 to Remote 10.10.0.7
        Local 10.10.0.3 to Remote 10.10.0.8
        Local 10.10.0.4 to Remote 10.10.0.5
        Local 10.10.0.4 to Remote 10.10.0.6
        Local 10.10.0.4 to Remote 10.10.0.7
        Local 10.10.0.4 to Remote 10.10.0.8
    Larger than PMTU communication succeeds on 16 path(s)
    RPC status:
    4 paths up, 0 paths down (tcp check)
    4 paths up, 0 paths down (udp check
  10. 关闭活动 Nexus 5596 交换机 CL1 上的 ISL 端口 41 到 48 :

    显示示例

    以下示例显示了如何关闭 Nexus 5596 交换机 CL1 上的 ISL 端口 41 到 48 :

    (CL1)# configure
    (CL1)(Config)# interface e1/41-48
    (CL1)(config-if-range)# shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#

    如果要更换Nexus 5010或5020、请为ISL指定适当的端口号。

  11. 在 CL1 和 C2 之间构建临时 ISL 。

    显示示例

    以下示例显示了在 CL1 和 C2 之间设置的临时 ISL :

    C2# configure
    C2(config)# interface port-channel 2
    C2(config-if)# switchport mode trunk
    C2(config-if)# spanning-tree port type network
    C2(config-if)# mtu 9216
    C2(config-if)# interface breakout module 1 port 24 map 10g-4x
    C2(config)# interface e1/24/1-4
    C2(config-if-range)# switchport mode trunk
    C2(config-if-range)# mtu 9216
    C2(config-if-range)# channel-group 2 mode active
    C2(config-if-range)# exit
    C2(config-if)# exit

第2步:配置端口

  1. 在所有节点上,拔下连接到 Nexus 5596 交换机 CL2 的所有缆线。

    使用支持的布线方式,将所有节点上已断开连接的端口重新连接到 Nexus 3132Q-V 交换机 C2 。

  2. 拔下 Nexus 5596 交换机 CL2 上的所有缆线。

    连接相应的 Cisco QSFP 到 SFP+ 细分缆线,将新 Cisco 3132Q-V 交换机 C2 上的端口 1/24 连接到现有 Nexus 5596 CL1 上的端口 45 到 48 。

  3. 验证接口 eth1/45-48 在其运行配置中是否已具有 channel-group 1 mode active

  4. 启动活动 Nexus 5596 交换机 CL1 上的 ISL 端口 45 到 48 。

    显示示例

    以下示例显示正在启动 ISL 端口 45 到 48 :

    (CL1)# configure
    (CL1)(Config)# interface e1/45-48
    (CL1)(config-if-range)# no shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  5. 验证 Nexus 5596 交换机 CL1 上的 ISL 是否为 up

    s如何执行端口通道摘要

    显示示例

    端口 eth1/45 到 eth1/48 应指示( P ),表示端口通道中的 ISL 端口为 up

    Example
    CL1# 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
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/41(D)   Eth1/42(D)   Eth1/43(D)
                                        Eth1/44(D)   Eth1/45(P)   Eth1/46(P)
                                        Eth1/47(P)   Eth1/48(P)
  6. 验证 3132Q-V 交换机 C2 上的 ISL 是否为 up

    s如何执行端口通道摘要

    显示示例

    端口 eth1/24/1 , eth1/24/2 , eth1/24/3 和 eth1/24/4 应指示( P ),表示 ISL 端口在端口通道中为 up

    C2# 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
           S - Switched     R - Routed
           U - Up (port-channel)
           M - Not in use. Min-links not met
    --------------------------------------------------------------------------------
    Group Port-        Type   Protocol  Member Ports
          Channel
    --------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/31(D)   Eth1/32(D)
    2     Po2(SU)      Eth    LACP      Eth1/24/1(P)  Eth1/24/2(P)  Eth1/24/3(P)
                                        Eth1/24/4(P)
  7. 在所有节点上,启动连接到 3132Q-V 交换机 C2 的所有集群互连端口:

    network port modify

    显示示例

    以下示例显示了节点 n1 和 n2 上正在启动的指定端口:

    cluster::*> network port modify -node n1 -port e0b -up-admin true
    cluster::*> network port modify -node n1 -port e0c -up-admin true
    cluster::*> network port modify -node n2 -port e0b -up-admin true
    cluster::*> network port modify -node n2 -port e0c -up-admin true
  8. 在所有节点上,还原连接到 C2 的所有已迁移集群互连 LIF :

    网络接口还原

    显示示例

    以下示例显示了要还原到节点 n1 和 n2 上主端口的已迁移集群 LIF :

    cluster::*> network interface revert -vserver Cluster -lif n1_clus2
    cluster::*> network interface revert -vserver Cluster -lif n1_clus3
    cluster::*> network interface revert -vserver Cluster -lif n2_clus2
    cluster::*> network interface revert -vserver Cluster -lif n2_clus3
  9. 验证所有集群互连端口现在是否均已还原到其主端口:

    network interface show

    显示示例

    以下示例显示 clus2 上的 LIF 已还原到其主端口,并显示,如果当前端口列中的端口在 is Home 列中的状态为 true ,则 LIF 已成功还原。如果 为主页 值为 false ,则表示尚未还原 LIF 。

    cluster::*> network interface show -role cluster
    (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
    8 entries were displayed.
  10. 验证集群端口是否已连接:

    network port show

    显示示例

    以下示例显示了上一个 network port modify 命令的结果,确认所有集群互连均为 up

    cluster::*> network port show -role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    8 entries were displayed.
  11. 对远程集群接口执行 Ping 操作并执行 RPC 服务器检查:

    cluster ping-cluster

    显示示例

    以下示例显示了如何对远程集群接口执行 ping 操作:

    cluster::*> cluster ping-cluster -node n1
    Host is n1
    Getting addresses from network interface table...
    Cluster n1_clus1 n1		e0a	10.10.0.1
    Cluster n1_clus2 n1		e0b	10.10.0.2
    Cluster n1_clus3 n1		e0c	10.10.0.3
    Cluster n1_clus4 n1		e0d	10.10.0.4
    Cluster n2_clus1 n2		e0a	10.10.0.5
    Cluster n2_clus2 n2		e0b	10.10.0.6
    Cluster n2_clus3 n2		e0c	10.10.0.7
    Cluster n2_clus4 n2		e0d	10.10.0.8
    
    Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
    Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
    Cluster Vserver Id = 4294967293
    Ping status:
    ....
    Basic connectivity succeeds on 16 path(s)
    Basic connectivity fails on 0 path(s)
    ................
    Detected 1500 byte MTU on 16 path(s):
        Local 10.10.0.1 to Remote 10.10.0.5
        Local 10.10.0.1 to Remote 10.10.0.6
        Local 10.10.0.1 to Remote 10.10.0.7
        Local 10.10.0.1 to Remote 10.10.0.8
        Local 10.10.0.2 to Remote 10.10.0.5
        Local 10.10.0.2 to Remote 10.10.0.6
        Local 10.10.0.2 to Remote 10.10.0.7
        Local 10.10.0.2 to Remote 10.10.0.8
        Local 10.10.0.3 to Remote 10.10.0.5
        Local 10.10.0.3 to Remote 10.10.0.6
        Local 10.10.0.3 to Remote 10.10.0.7
        Local 10.10.0.3 to Remote 10.10.0.8
        Local 10.10.0.4 to Remote 10.10.0.5
        Local 10.10.0.4 to Remote 10.10.0.6
        Local 10.10.0.4 to Remote 10.10.0.7
        Local 10.10.0.4 to Remote 10.10.0.8
    Larger than PMTU communication succeeds on 16 path(s)
    RPC status:
    4 paths up, 0 paths down (tcp check)
    4 paths up, 0 paths down (udp check)
  12. 在集群中的每个节点上,迁移与要更换的第一个 Nexus 5596 交换机 CL1 关联的接口:

    网络接口迁移

    显示示例

    以下示例显示了节点 n1 和 n2 上要迁移的端口或 LIF :

    cluster::*> network interface migrate -vserver Cluster -lif n1_clus1 -source-node n1 -
    destination-node n1 -destination-port e0b
    cluster::*> network interface migrate -vserver Cluster -lif n1_clus4 -source-node n1 -
    destination-node n1 -destination-port e0c
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus1 -source-node n2 -
    destination-node n2 -destination-port e0b
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus4 -source-node n2 -
    destination-node n2 -destination-port e0c
  13. 验证集群状态:

    network interface show

    显示示例

    以下示例显示所需的集群 LIF 已迁移到集群交换机 C2 上托管的相应集群端口:

     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0b     false
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0c     false
                n2_clus1   up/up      10.10.0.5/24       n2            e0b     false
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0c     false
    8 entries were displayed.
    
    ----- ------- ----
  14. 在所有节点上,关闭连接到 CL1 的节点端口:

    network port modify

    显示示例

    以下示例显示了节点 n1 和 n2 上正在关闭的指定端口:

    cluster::*> network port modify -node n1 -port e0a -up-admin false
    cluster::*> network port modify -node n1 -port e0d -up-admin false
    cluster::*> network port modify -node n2 -port e0a -up-admin false
    cluster::*> network port modify -node n2 -port e0d -up-admin false
  15. 关闭活动3132Q-V交换机C2上的ISL端口24、31和32:

    s下行

    显示示例

    以下示例显示了如何关闭 ISL 24 , 31 和 32 :

    C2# configure
    C2(Config)# interface e1/24/1-4
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# interface 1/31-32
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config-if)# exit
    C2#
  16. 在所有节点上,拔下连接到 Nexus 5596 交换机 CL1 的所有缆线。

    使用支持的布线方式,将所有节点上已断开连接的端口重新连接到 Nexus 3132Q-V 交换机 C1 。

  17. 从 Nexus 3132Q-V C2 端口 E1/24 拔下 QSFP 分支缆线。

    使用支持的 Cisco QSFP 光纤或直连缆线将 C1 上的端口 E1/31 和 E1/32 连接到 C2 上的端口 E1/31 和 E1/32 。

  18. 还原端口24上的配置并删除C2上的临时端口通道2:

    C2# configure
    C2(config)# no interface breakout module 1 port 24 map 10g-4x
    C2(config)# no interface port-channel 2
    C2(config-if)# int e1/24
    C2(config-if)# description 40GbE Node Port
    C2(config-if)# spanning-tree port type edge
    C2(config-if)# spanning-tree bpduguard enable
    C2(config-if)# mtu 9216
    C2(config-if-range)# exit
    C2(config)# exit
    C2# copy running-config startup-config
    [########################################] 100%
    Copy Complete.
  19. 启动 C2 上的 ISL 端口 31 和 32 ,即活动的 3132Q-V 交换机: no shutdown

    显示示例

    以下示例显示了如何在 3132Q-V 交换机 C2 上启动 ISL 31 和 32 :

    C2# configure
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# no shutdown
    C2(config-if-range)# exit
    C2(config)# exit
    C2# copy running-config startup-config
    [########################################] 100%
    Copy Complete.

第3步:验证配置

  1. 验证ISL连接是否为 up 在3132Q-V交换机C2上:

    s如何执行端口通道摘要

    显示示例

    端口 Eth1/31 和 Eth1/32 应指示 ` ( P )` ,这意味着端口通道中的两个 ISL 端口均为 up

    C1# 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
           S - Switched     R - Routed
           U - Up (port-channel)
           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)
  2. 在所有节点上,启动连接到新的 3132Q-V 交换机 C1 的所有集群互连端口:

    network port modify

    显示示例

    以下示例显示了 3132Q-V 交换机 C1 上为 n1 和 n2 启动的所有集群互连端口:

    cluster::*> network port modify -node n1 -port e0a -up-admin true
    cluster::*> network port modify -node n1 -port e0d -up-admin true
    cluster::*> network port modify -node n2 -port e0a -up-admin true
    cluster::*> network port modify -node n2 -port e0d -up-admin true
  3. 验证集群节点端口的状态:

    network port show

    显示示例

    以下示例验证新 3132Q-V 交换机 C1 上所有节点上的所有集群互连端口是否均为 up

    cluster::*> network port show –role cluster
      (network port show)
    Node: n1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000 auto/10000  -        -
    e0b       Cluster      Cluster          up   9000 auto/10000  -        -
    e0c       Cluster      Cluster          up   9000 auto/10000  -        -
    e0d       Cluster      Cluster          up   9000 auto/10000  -        -
    
    Node: n2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 -        -
    e0b       Cluster      Cluster          up   9000  auto/10000 -        -
    e0c       Cluster      Cluster          up   9000  auto/10000 -        -
    e0d       Cluster      Cluster          up   9000  auto/10000 -        -
    8 entries were displayed.
  4. 在所有节点上,将特定集群 LIF 还原到其主端口:

    网络接口还原

    显示示例

    以下示例显示了要还原到节点 n1 和 n2 上主端口的特定集群 LIF :

    cluster::*> network interface revert -vserver Cluster -lif n1_clus1
    cluster::*> network interface revert -vserver Cluster -lif n1_clus4
    cluster::*> network interface revert -vserver Cluster -lif n2_clus1
    cluster::*> network interface revert -vserver Cluster -lif n2_clus4
  5. 验证接口是否为主接口:

    network interface show

    显示示例

    以下示例显示了 n1 和 n2 的集群互连接口状态为 upis home

    cluster::*> network interface show -role cluster
     (network interface show)
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
    8 entries were displayed.
  6. 对远程集群接口执行 Ping 操作,然后执行远程操作步骤调用服务器检查:

    cluster ping-cluster

    显示示例

    以下示例显示了如何对远程集群接口执行 ping 操作:

    cluster::*> cluster ping-cluster -node n1
    Host is n1
    Getting addresses from network interface table...
    Cluster n1_clus1 n1		e0a	10.10.0.1
    Cluster n1_clus2 n1		e0b	10.10.0.2
    Cluster n1_clus3 n1		e0c	10.10.0.3
    Cluster n1_clus4 n1		e0d	10.10.0.4
    Cluster n2_clus1 n2		e0a	10.10.0.5
    Cluster n2_clus2 n2		e0b	10.10.0.6
    Cluster n2_clus3 n2		e0c	10.10.0.7
    Cluster n2_clus4 n2		e0d	10.10.0.8
    
    Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4
    Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8
    Cluster Vserver Id = 4294967293
    Ping status:
    ....
    Basic connectivity succeeds on 16 path(s)
    Basic connectivity fails on 0 path(s)
    ................
    Detected 1500 byte MTU on 16 path(s):
        Local 10.10.0.1 to Remote 10.10.0.5
        Local 10.10.0.1 to Remote 10.10.0.6
        Local 10.10.0.1 to Remote 10.10.0.7
        Local 10.10.0.1 to Remote 10.10.0.8
        Local 10.10.0.2 to Remote 10.10.0.5
        Local 10.10.0.2 to Remote 10.10.0.6
        Local 10.10.0.2 to Remote 10.10.0.7
        Local 10.10.0.2 to Remote 10.10.0.8
        Local 10.10.0.3 to Remote 10.10.0.5
        Local 10.10.0.3 to Remote 10.10.0.6
        Local 10.10.0.3 to Remote 10.10.0.7
        Local 10.10.0.3 to Remote 10.10.0.8
        Local 10.10.0.4 to Remote 10.10.0.5
        Local 10.10.0.4 to Remote 10.10.0.6
        Local 10.10.0.4 to Remote 10.10.0.7
        Local 10.10.0.4 to Remote 10.10.0.8
    Larger than PMTU communication succeeds on 16 path(s)
    RPC status:
    4 paths up, 0 paths down (tcp check)
    4 paths up, 0 paths down (udp check)
  7. 通过向 Nexus 3132Q-V 集群交换机添加节点来扩展集群。

  8. 显示有关配置中的设备的信息:

    • network device-discovery show

    • network port show -role cluster

    • network interface show -role cluster

    • ssystem cluster-switch show

      显示示例

      以下示例显示了节点 n3 和 n4 ,其中 40 GbE 集群端口分别连接到两个 Nexus 3132Q-V 集群交换机上的端口 E1/7 和 E1/8 ,并且两个节点均已加入集群。使用的 40 GbE 集群互连端口为 E4A 和 e4e 。

      cluster::> network device-discovery show
                  Local  Discovered
      Node        Port   Device              Interface        Platform
      ----------- ------ ------------------- ---------------- ----------------
      n1         /cdp
                  e0a    C1                 Ethernet1/1/1    N3K-C3132Q-V
                  e0b    C2                 Ethernet1/1/1    N3K-C3132Q-V
                  e0c    C2                 Ethernet1/1/2    N3K-C3132Q-V
                  e0d    C1                 Ethernet1/1/2    N3K-C3132Q-V
      n2         /cdp
                  e0a    C1                 Ethernet1/1/3    N3K-C3132Q-V
                  e0b    C2                 Ethernet1/1/3    N3K-C3132Q-V
                  e0c    C2                 Ethernet1/1/4    N3K-C3132Q-V
                  e0d    C1                 Ethernet1/1/4    N3K-C3132Q-V
      n3         /cdp
                  e4a    C1                 Ethernet1/7      N3K-C3132Q-V
                  e4e    C2                 Ethernet1/7      N3K-C3132Q-V
      n4         /cdp
                  e4a    C1                 Ethernet1/8      N3K-C3132Q-V
                  e4e    C2                 Ethernet1/8      N3K-C3132Q-V
      12 entries were displayed.
      cluster::*> network port show –role cluster
        (network port show)
      Node: n1
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000 auto/10000  -        -
      e0b       Cluster      Cluster          up   9000 auto/10000  -        -
      e0c       Cluster      Cluster          up   9000 auto/10000  -        -
      e0d       Cluster      Cluster          up   9000 auto/10000  -        -
      
      Node: n2
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 -        -
      e0b       Cluster      Cluster          up   9000  auto/10000 -        -
      e0c       Cluster      Cluster          up   9000  auto/10000 -        -
      e0d       Cluster      Cluster          up   9000  auto/10000 -        -
      
      Node: n3
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e4a       Cluster      Cluster          up   9000 auto/40000  -        -
      e4e       Cluster      Cluster          up   9000 auto/40000  -        -
      
      Node: n4
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e4a       Cluster      Cluster          up   9000 auto/40000  -        -
      e4e       Cluster      Cluster          up   9000 auto/40000  -        -
      12 entries were displayed.
      cluster::*> network interface show -role cluster
       (network interface show)
                  Logical    Status     Network            Current       Current Is
      Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
      ----------- ---------- ---------- ------------------ ------------- ------- ----
      Cluster
                  n1_clus1   up/up      10.10.0.1/24       n1            e0a     true
                  n1_clus2   up/up      10.10.0.2/24       n1            e0b     true
                  n1_clus3   up/up      10.10.0.3/24       n1            e0c     true
                  n1_clus4   up/up      10.10.0.4/24       n1            e0d     true
                  n2_clus1   up/up      10.10.0.5/24       n2            e0a     true
                  n2_clus2   up/up      10.10.0.6/24       n2            e0b     true
                  n2_clus3   up/up      10.10.0.7/24       n2            e0c     true
                  n2_clus4   up/up      10.10.0.8/24       n2            e0d     true
                  n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                  n3_clus2   up/up      10.10.0.10/24      n3            e4e     true
                  n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                  n4_clus2   up/up      10.10.0.12/24      n4            e4e     true
      12 entries were displayed.
      cluster::*> system cluster-switch show
      
      Switch                      Type               Address          Model
      --------------------------- ------------------ ---------------- ---------------
      C1                          cluster-network    10.10.1.103      NX3132V
           Serial Number: FOX000001
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.0(3)I4(1)
          Version Source: CDP
      
      C2                          cluster-network     10.10.1.104      NX3132V
           Serial Number: FOX000002
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.0(3)I4(1)
          Version Source: CDP
      
      CL1                           cluster-network   10.10.1.101     NX5596
           Serial Number: 01234567
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      CL2                           cluster-network    10.10.1.102     NX5596
           Serial Number: 01234568
            Is Monitored: true
                  Reason:
        Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                          7.1(1)N1(1)
          Version Source: CDP
      
      4 entries were displayed.
  9. 如果未自动删除更换的Nexus 5596、请将其删除:

    ssystem cluster-switch delete

    显示示例

    以下示例显示了如何删除 Nexus 5596 :

    cluster::> system cluster-switch delete –device CL1
    cluster::> system cluster-switch delete –device CL2
  10. 将集群clus1和clus2配置为在每个节点上自动还原并确认。

    显示示例
    cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert true
    cluster::*> network interface modify -vserver node1 -lif clus2 -auto-revert true
    cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert true
    cluster::*> network interface modify -vserver node2 -lif clus2 -auto-revert true
  11. 验证是否监控了正确的集群交换机:

    ssystem cluster-switch show

    显示示例
    cluster::> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    C1                          cluster-network    10.10.1.103      NX3132V
         Serial Number: FOX000001
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    C2                          cluster-network     10.10.1.104      NX3132V
         Serial Number: FOX000002
          Is Monitored: true
                Reason:
      Software Version: Cisco Nexus Operating System (NX-OS) Software, Version
                        7.0(3)I4(1)
        Version Source: CDP
    
    2 entries were displayed.
  12. 启用集群交换机运行状况监控器日志收集功能以收集交换机相关的日志文件:

    ssystem cluster-switch log setup-password

    ssystem cluster-switch log enable-Collection

    显示示例
    cluster::*> system cluster-switch log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    C1
    C2
    
    cluster::*> system cluster-switch log setup-password
    
    Enter the switch name: C1
    **RSA key fingerprint is e5:8b:c6:dc:e2:18:18:09:36:63:d9:63:dd:03:d9:cc
    Do you want to continue? {y|n}::[n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster::*> system cluster-switch log setup-password
    
    Enter the switch name: C2
    RSA key fingerprint is 57:49:86:a1:b9:80:6a:61:9a:86:8e:3c:e3:b7:1f:b1
    Do you want to continue? {y|n}:: [n] y
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster::*> system cluster-switch log enable-collection
    
    Do you want to enable cluster log collection for all nodes in the cluster?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster::*>
    备注 如果其中任何一个命令返回错误,请联系 NetApp 支持部门。
  13. 如果禁止自动创建案例,请通过调用 AutoSupport 消息重新启用它:

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