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

从Cisco Nexus 5596集群交换机迁移到Cisco Nexus 3232C集群交换机

贡献者

按照此操作步骤 迁移使用Nexus 3232C集群交换机的集群中的现有Cisco Nexus 5596集群交换机。

查看要求

迁移前、请务必查看 "迁移要求"

备注

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

有关详细信息,请参见

迁移交换机

关于示例

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

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

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

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

  • 用于更换 Nexus 5596 交换机的 Nexus 3232C 交换机为 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 。 -

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

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

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

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

  • 其他两个节点使用两个 40 GbE 集群互连端口: E4A , e4e 。。 "SIL Hardware Universe" 列出了平台上的实际集群端口。

场景

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

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

  • 要替换为 C2 的集群交换机 CL2 (步骤 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步:准备迁移

  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                 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 -role cluster

      显示示例

      以下示例显示了节点 n1 和 n2 上的网络端口属性:

      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.
    2. 显示有关逻辑接口的信息:

      network interface show -role cluster

      显示示例

      以下示例显示了有关集群上所有 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

    显示示例

    以下示例显示了活动集群交换机:

    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. 根据您的需要,验证是否在新的 3232C 交换机上安装了适当的 RCF 和映像,并进行必要的站点自定义,例如用户和密码,网络地址以及其他自定义设置。

    备注

    此时必须准备两个交换机。

    如果需要升级 RCF 和映像,必须完成以下步骤:

    1. 转到 NetApp 支持站点上的 _Cisco 以太网交换机 _ 页面。

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

    3. 下载适当版本的 RCF 。

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

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

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

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

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

    network interface migrate -vserver vserver-name -lif lif-name -source-node source-node-name - destination-node node-name -destination-port destination-port-name

    显示示例

    以下示例显示了要为节点 n1 和 n2 迁移的 LIF ;必须在所有节点上执行 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
  6. 验证集群的运行状况:

    network interface show -role cluster

    显示示例

    以下示例显示了每个集群的当前状态:

    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.

第2步:配置端口

  1. 关闭物理连接到交换机 CL2 的集群互连端口:

    network port modify -node node-name -port port-name -up-admin false

    显示示例

    以下命令会关闭 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
  2. 对远程集群接口执行 Ping 操作并执行 RPC 服务器检查:

    cluster ping-cluster -node node-name

    显示示例

    以下示例显示了正在对节点 n1 执行 Ping 操作,之后会指示 RPC 状态:

    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)
  3. 使用 Cisco shutdown 命令关闭活动 Nexus 5596 交换机 CL1 上的 ISL 41 到 48 。

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

    显示示例

    以下示例显示 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)#
  4. 使用相应的 Cisco 命令在 CL1 和 C2 之间构建临时 ISL 。

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

    显示示例

    以下示例显示了在 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
  5. 在所有节点上,拔下连接到 Nexus 5596 交换机 CL2 的所有缆线。

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

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

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

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

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

    显示示例

    以下示例显示正在启动 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)#
  8. 验证 Nexus 5596 交换机 CL1 上的 ISL 是否为 up

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

    显示示例

    以下示例显示端口 eth1/45 到 eth1/48 指示( P ),这意味着 ISL 端口在端口通道中为 up

    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)
  9. 验证接口 eth1/45-48 在其运行配置中是否已具有 channel-group 1 mode active

  10. 在所有节点上,启动连接到 3232C 交换机 C2 的所有集群互连端口:

    network port modify -node node-name -port port-name -up-admin true

    显示示例

    以下示例显示了节点 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
  11. 在所有节点上,还原连接到 C2 的所有已迁移集群互连 LIF :

    network interface revert -vserver cluster -lif lif-name

    显示示例

    以下示例显示了要还原到其主端口的已迁移集群 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
  12. 验证所有集群互连端口现在是否均已还原到其主端口:

    network interface show -role cluster

    显示示例

    以下示例显示 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.
  13. 验证集群端口是否已连接:

    network port show -role cluster

    显示示例

    以下示例显示了上一个 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.
  14. 对远程集群接口执行 Ping 操作并执行 RPC 服务器检查:

    cluster ping-cluster -node node-name

    显示示例

    以下示例显示了正在对节点 n1 执行 Ping 操作,之后会指示 RPC 状态:

    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)
  15. 在集群中的每个节点上,迁移与要更换的第一个 Nexus 5596 交换机 CL1 关联的接口:

    network interface migrate -vserver vserver-name -lif lif-name -source-node source-node-name -destination-node destination-node-name -destination-port destination-port-name

    显示示例

    以下示例显示了节点 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
  16. 验证集群的状态:

    network interface show

    显示示例

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

    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.
    
    ----- ------- ----
  17. 在所有节点上,关闭连接到 CL1 的节点端口:

    network port modify -node node-name -port port-name -up-admin false

    显示示例

    以下示例显示了节点 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
  18. 关闭处于活动状态的 3232C 交换机 C2 上的 ISL 24 , 31 和 32 。

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

    显示示例

    以下示例显示了要关闭的 ISL :

    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#
  19. 在所有节点上,拔下连接到 Nexus 5596 交换机 CL1 的所有缆线。

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

  20. 从 Nexus 3232C C2 端口 E1/24 拔下 QSFP 分支缆线。

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

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

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

    显示示例

    以下示例显示了使用相应 Cisco 命令还原的端口 M24 的配置:

    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.
  22. 输入以下 Cisco 命令,启动处于活动状态的 3232C 交换机 C2 上的 ISL 端口 31 和 32 : no shutdown

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

    显示示例

    以下示例显示了 3232C 交换机 C2 上启动的 Cisco 命令 sswitchname configure

    C2# configure
    C2(config)# interface ethernet 1/31-32
    C2(config-if-range)# no shutdown
  23. 验证 3232C 交换机 C2 上的 ISL 连接是否为 up

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

    端口 eth1/31 和 eth1/32 应指示( P ),表示端口通道中的两个 ISL 端口均已启动

    显示示例
    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)
  24. 在所有节点上、启动连接到新3232C交换机C1的所有集群互连端口:

    network port modify

    显示示例

    以下示例显示了 3232C 交换机 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
  25. 验证集群节点端口的状态:

    network port show

    显示示例

    以下示例显示了验证新 3232C 交换机 C1 上所有节点上的所有集群互连端口是否均已启动:

    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.
  26. 在所有节点上,将特定集群 LIF 还原到其主端口:

    network interface revert -server cluster -lif lif-name

    显示示例

    以下示例显示了要还原到节点 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
  27. 验证接口是否为主接口:

    network interface show -role cluster

    显示示例

    以下示例显示了 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.
  28. 对远程集群接口执行 Ping 操作并执行 RPC 服务器检查:

    cluster ping-cluster -node node-name

    显示示例

    以下示例显示了正在对节点 n1 执行 Ping 操作,之后会指示 RPC 状态:

    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)
  29. 通过向 Nexus 3232C 集群交换机添加节点来扩展集群。

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

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

    • network device-discovery show

    • network port show -role cluster

    • network interface show -role cluster

    • ssystem cluster-switch show

    显示示例
    cluster::> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e0a    C1                 Ethernet1/1/1    N3K-C3232C
                e0b    C2                 Ethernet1/1/1    N3K-C3232C
                e0c    C2                 Ethernet1/1/2    N3K-C3232C
                e0d    C1                 Ethernet1/1/2    N3K-C3232C
    n2         /cdp
                e0a    C1                 Ethernet1/1/3    N3K-C3232C
                e0b    C2                 Ethernet1/1/3    N3K-C3232C
                e0c    C2                 Ethernet1/1/4    N3K-C3232C
                e0d    C1                 Ethernet1/1/4    N3K-C3232C
    n3         /cdp
                e4a    C1                 Ethernet1/7      N3K-C3232C
                e4e    C2                 Ethernet1/7      N3K-C3232C
    n4         /cdp
                e4a    C1                 Ethernet1/8      N3K-C3232C
                e4e    C2                 Ethernet1/8      N3K-C3232C
    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      NX3232C
         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      NX3232C
         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.
  30. 使用删除更换后的Nexus 5596 system cluster-switch delete 命令、如果未自动删除:

    system cluster-switch delete -device switch-name

    显示示例
    cluster::> system cluster-switch delete –device CL1
    cluster::> system cluster-switch delete –device CL2

第3步:完成操作步骤

  1. 验证是否监控了正确的集群交换机:

    ssystem cluster-switch show

    显示示例
    cluster::> system cluster-switch show
    
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    C1                          cluster-network    10.10.1.103      NX3232C
         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      NX3232C
         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.
  2. 启用集群交换机运行状况监控器日志收集功能以收集交换机相关的日志文件:

    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>
    
    cluster1::*> 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 支持部门。

  3. 如果禁止自动创建案例,请通过调用 AutoSupport 消息重新启用它:

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