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

从CN1610集群交换机迁移到Cisco Nexus 3132Q-V集群交换机

贡献者

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

更换交换机

交换机和节点命名

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

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

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

  • 用于更换 CN1610 交换机的 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 和 40/100 GbE 端口的数量在上提供的参考配置文件( RCF )中定义 "Cisco ® 集群网络交换机参考配置文件下载" 页面。

关于示例

此操作步骤 中的示例使用四个节点:

  • 两个节点使用四个10 GbE集群互连端口:e0a、e0b、e0c和e0d。

  • 其他两个节点使用两根 40/100 GbE 集群互连光缆: E4A 和 e4e 。

"Hardware Universe" 提供有关平台上的集群光纤缆线的信息。

关于此任务

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

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

  • 集群交换机CL2将替换为C2

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

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

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

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

  • 集群交换机CL1将替换为C1

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

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

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

    • 所有已迁移的集群端口和 LIF 上连接到所有节点上的 C1 的流量均会还原。

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

第1步:准备更换

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

    ssystem node AutoSupport invoke -node * -type all - 消息 MAINT=xh

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

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

    network device-discovery show

    显示示例

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

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

    1. 显示集群网络端口属性:

      network port show

      显示示例

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

      cluster::*> network port show -role Cluster
             (network port show)
      
      Node: n1
                      Broadcast              Speed (Mbps) Health Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status Health 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
                      Broadcast              Speed (Mbps) Health Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status Health 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.
    2. 显示有关逻辑接口的信息:+ 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.
    3. 显示有关已发现的集群交换机的信息:

      ssystem cluster-switch show

    显示示例

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

    cluster::> system cluster-switch show
    
    Switch                        Type             Address       Model
    ----------------------------- ---------------- ------------- --------
    CL1                           cluster-network  10.10.1.101   CN1610
         Serial Number: 01234567
          Is Monitored: true
                Reason:
      Software Version: 1.2.0.7
        Version Source: ISDP
    
    CL2                           cluster-network  10.10.1.102   CN1610
         Serial Number: 01234568
          Is Monitored: true
                Reason:
      Software Version: 1.2.0.7
        Version Source: ISDP
    
    2 entries were displayed.
  4. 设置 -auto-revert 两个节点上的集群LIF clus1和clus4参数设置为false:

    network interface modify

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

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

    1. 请参见 "Cisco 以太网交换机" 页面。

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

    3. 下载适当版本的 RCF 。

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

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

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

    网络接口迁移

    备注

    您必须通过拥有要迁移的集群 LIF 的服务处理器或节点管理界面将集群 LIF 从连接迁移到节点。

    显示示例

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

    cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -destination-node  n1  -destination-port  e0a
    cluster::*> network interface migrate -vserver Cluster -lif n1_clus3 -destination-node  n1  -destination-port  e0d
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -destination-node  n2  -destination-port  e0a
    cluster::*> network interface migrate -vserver Cluster -lif n2_clus3 -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 操作,然后执行远程操作步骤 调用服务器检查:

    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. 关闭活动 CN1610 交换机 CL1 上的 ISL 端口 13 到 16 :

    s下行

    显示示例

    以下示例显示了如何关闭 CN1610 交换机 CL1 上的 ISL 端口 13 到 16 :

    (CL1)# configure
    (CL1)(Config)# interface 0/13-0/16
    (CL1)(Interface 0/13-0/16)# shutdown
    (CL1)(Interface 0/13-0/16)# exit
    (CL1)(Config)# exit
    (CL1)#
  11. 在 CL1 和 C2 之间构建临时 ISL :

    显示示例

    以下示例将在 CL1 (端口 13-16 )和 C2 (端口 E1/24/1-4 )之间构建一个临时 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. 在所有节点上,拔下连接到 CN1610 交换机 CL2 的缆线。

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

  2. 从 CN1610 交换机 CL1 上的端口 13 到 16 拔下四根 ISL 缆线。

    您必须使用适当的 Cisco QSFP 到 SFP+ 分支缆线将新 Cisco 3132Q-V 交换机 C2 上的端口 1/24 连接到现有 CN1610 交换机 CL1 上的端口 13 到 16 。

    备注 在将任何缆线重新连接到新的 Cisco 3132Q-V 交换机时,您必须使用光缆或 Cisco 双轴电缆。
  3. 要使 ISL 成为动态交换机,请在活动 CN1610 交换机上配置 ISL 接口 3/1 以禁用静态模式: no port-channel static

    当步骤 11 中启动两个交换机上的 ISL 时,此配置与 3132Q-V 交换机 C2 上的 ISL 配置匹配

    显示示例

    以下示例显示了使用 no port-channel static 命令将 ISL 接口 3/1 配置为动态:

    (CL1)# configure
    (CL1)(Config)# interface 3/1
    (CL1)(Interface 3/1)# no port-channel static
    (CL1)(Interface 3/1)# exit
    (CL1)(Config)# exit
    (CL1)#
  4. 在活动的 CN1610 交换机 CL1 上启动 ISL 13 到 16 。

    显示示例

    以下示例说明了在端口通道接口 1/1 上启动 ISL 端口 13 到 16 的过程:

    (CL1)# configure
    (CL1)(Config)# interface 0/13-0/16,3/1
    (CL1)(Interface 0/13-0/16,3/1)# no shutdown
    (CL1)(Interface 0/13-0/16,3/1)# exit
    (CL1)(Config)# exit
    (CL1)#
  5. 验证ISL是否为 up 在CN1610交换机CL1上:

    s如何使用端口通道

    对于端口 0/13 到 0/16 , "Link State" 应为 up , "Type" 应为 DDynamic , "Port Active" 列应为 True

    显示示例
    (CL1)# show port-channel 3/1
    Local Interface................................ 3/1
    Channel Name................................... ISL-LAG
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port        Port
    Ports  Timeout       Speed       Active
    ------ ------------- ----------  -------
    0/13   actor/long    10 Gb Full  True
           partner/long
    0/14   actor/long    10 Gb Full  True
           partner/long
    0/15   actor/long    10 Gb Full  True
           partner/long
    0/16   actor/long    10 Gb Full  True
           partner/long
  6. 验证 3132Q-V 交换机 C2 上的 ISL 是否为 up

    s如何执行端口通道摘要

    显示示例

    端口 Eth1/24/1 到 Eth1/24/4 应指示 ` ( P )` ,这意味着所有四个 ISL 端口在端口通道中均已启动。Eth1/31 和 Eth1/32 应指示 ` ( D )` ,因为它们未连接:

    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

    显示示例

    以下示例显示了如何启动连接到 3132Q-V 交换机 C2 的集群互连端口:

    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:

    网络接口还原

    显示示例
    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 已还原到其主端口,并显示,如果 "Current Port" 列中的端口在 "Is Home" 列中的状态为 true ,则 LIF 已成功还原。如果为 Home 值为 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
                    Broadcast               Speed (Mbps) Health   Ignore
    Port  IPspace   Domain      Link  MTU   Admin/Open   Status   Health 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
                    Broadcast               Speed (Mbps) Health   Ignore
    Port  IPspace   Domain      Link  MTU   Admin/Open   Status   Health 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 操作,然后执行远程操作步骤调用服务器检查:

    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. 在集群中的每个节点上、迁移与要替换的第一个CN1610交换机CL1关联的接口:

    网络接口迁移

    显示示例

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

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

    network interface show

    显示示例

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

    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       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下行

    显示示例

    以下示例显示了如何关闭活动 3132Q-V 交换机 C2 上的 ISL 24 , 31 和 32 :

    C2# configure
    C2(config)# interface ethernet 1/24/1-4
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# exit
    C2#
  16. 拔下所有节点上连接到 CN1610 交换机 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 running-configuration 将文件保存到 startup-configuration 文件

    显示示例

    以下示例将 Running-configuration 文件复制到 start-configuration 文件:

    C2# configure
    C2(config)# no interface breakout module 1 port 24 map 10g-4x
    C2(config)# no interface port-channel 2
    C2(config-if)# interface 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 的所有集群互连端口:

    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 上 n1 和 n2 上的所有集群互连端口是否均为 up

    cluster::*> network port show -role Cluster
           (network port show)
    
    Node: n1
                    Broadcast              Speed (Mbps) Health   Ignore
    Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health 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
                    Broadcast              Speed (Mbps) Health   Ignore
    Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health 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. 还原所有节点上最初连接到C1的所有已迁移集群互连LIF:

    网络接口还原

    显示示例

    以下示例显示了如何将迁移的集群 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
                      Broadcast              Speed (Mbps) Health   Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health 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
                      Broadcast              Speed (Mbps) Health   Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health 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
                      Broadcast              Speed (Mbps) Health   Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health Status
      ----- --------- ---------- ----- ----- ------------ -------- -------------
      e4a   cluster   cluster    up    9000  auto/40000     -        -
      e4e   cluster   cluster    up    9000  auto/40000     -        -
      
      Node: n4
                      Broadcast              Speed (Mbps) Health   Ignore
      Port  IPspace   Domain     Link  MTU   Admin/Open   Status   Health 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   CN1610
           Serial Number: 01234567
            Is Monitored: true
                  Reason:
        Software Version: 1.2.0.7
          Version Source: ISDP
      
      CL2                         cluster-network  10.10.1.102    CN1610
           Serial Number: 01234568
            Is Monitored: true
                  Reason:
        Software Version: 1.2.0.7
          Version Source: ISDP
      
      4 entries were displayed.
  9. 如果未自动删除更换的 CN1610 交换机,请将其卸下:

    ssystem cluster-switch delete

    显示示例

    以下示例显示了如何删除 CN1610 交换机:

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

    显示示例
    cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert true
    cluster::*> network interface modify -vserver node1 -lif clus4 -auto-revert true
    cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert true
    cluster::*> network interface modify -vserver node2 -lif clus4 -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. 【{step43_replacecn1610]]如果您禁止自动创建案例、请通过调用AutoSupport 消息重新启用它:

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