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

更换 Cisco Nexus 3232C 集群交换机

贡献者

按照以下步骤更换集群中有故障的Cisco Nexus 3232C交换机。这是一个无中断操作步骤。

查看要求

您需要的内容

确保现有集群和网络配置具有以下特征:

  • Nexus 3232C集群基础架构在两台交换机上都是冗余的、并可完全正常运行。

    Cisco 以太网交换机页面会为您的交换机提供最新的 RCF 和 NX-OS 版本。

  • 所有集群端口都必须处于 * 启动 * 状态。

  • 两台交换机上必须存在管理连接。

  • 所有集群逻辑接口(LIF)均处于*启动*状态、不会迁移。

更换用的Cisco Nexus 3232C交换机具有以下特征:

  • 管理网络连接正常。

  • 可以通过控制台访问替代交换机。

  • 相应的RCF和NX-OS操作系统映像将加载到交换机上。

  • 交换机的初始自定义已完成。

有关详细信息 …​

请参见以下内容:

更换交换机

关于此任务

此替代操作步骤 介绍了以下情形:

  • 集群最初将四个节点连接到两个 Nexus 3232C 集群交换机 CL1 和 CL2 。

  • 您计划将集群交换机 CL2 更换为 C2 (步骤 1 至 21 ):

    • 在每个节点上,您可以将连接到集群交换机 CL2 的集群 LIF 迁移到连接到集群交换机 CL1 的集群端口。

    • 您从集群交换机 CL2 上的所有端口断开布线,然后将布线重新连接到替代集群交换机 C2 上的相同端口。

    • 您可以还原每个节点上迁移的集群 LIF 。

关于示例

此替代操作步骤 将第二个Nexus 3232C集群交换机CL2替换为新的3232C交换机C2。

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

  • 四个节点分别为 n1 , n2 , n3 和 n4 。

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

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

  • n1_clus3 是连接到节点 n1 的集群交换机 C2 的第二个 LIF 。 -

  • n1_clus4 是连接到节点 n1 的集群交换机 CL1 的第二个 LIF 。

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

此替代操作步骤 中的示例使用四个节点。其中两个节点使用四个 10 Gb 集群互连端口: e0a , e0b , e0c 和 e0d 。其他两个节点使用两个 40 Gb 集群互连端口: E4A 和 e4e 。请参见 "Hardware Universe" 验证适用于您的平台的集群端口是否正确。

第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/1    N3K-C3232C
                e0b    CL2                 Ethernet1/1/1    N3K-C3232C
                e0c    CL2                 Ethernet1/1/2    N3K-C3232C
                e0d    CL1                 Ethernet1/1/2    N3K-C3232C
    
    n2         /cdp
                e0a    CL1                 Ethernet1/1/3    N3K-C3232C
                e0b    CL2                 Ethernet1/1/3    N3K-C3232C
                e0c    CL2                 Ethernet1/1/4    N3K-C3232C
                e0d    CL1                 Ethernet1/1/4    N3K-C3232C
    
    n3         /cdp
                e4a    CL1                 Ethernet1/7      N3K-C3232C
                e4e    CL2                 Ethernet1/7      N3K-C3232C
    
    n4         /cdp
                e4a    CL1                 Ethernet1/8      N3K-C3232C
                e4e    CL2                 Ethernet1/8      N3K-C3232C
  3. 确定每个集群接口的管理或运行状态。

    1. 显示网络端口属性:

      network port show -role cluster

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

      network interface show -role cluster

      显示示例
      cluster::*> network interface show -role cluster
                   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            e0a     true
                  n3_clus2   up/up      10.10.0.10/24      n3            e0e     true
                  n4_clus1   up/up      10.10.0.11/24      n4            e0a     true
                  n4_clus2   up/up      10.10.0.12/24      n4            e0e     true
    3. 显示发现的集群交换机:

      ssystem cluster-switch show

    显示示例

    以下输出示例显示了集群交换机:

    cluster::> system cluster-switch show
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                         cluster-network    10.10.1.101      NX3232C
            Serial Number: FOX000001
             Is Monitored: true
                   Reason: None
         Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
           Version Source: CDP
    
    CL2                         cluster-network    10.10.1.102      NX3232C
            Serial Number: FOX000002
             Is Monitored: true
                   Reason: None
         Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
           Version Source: CDP
  4. 验证新 Nexus 3232C 交换机上是否安装了相应的 RCF 和映像,并进行任何必要的站点自定义。

    1. 转到 NetApp 支持站点。

    2. 转到 * Cisco 以太网交换机 * 页面,并记下表中所需的软件版本。

    3. 下载适当版本的 RCF 。

    4. 单击 * 问题描述 * 页面上的 * 继续 * ,接受许可协议,然后导航到 * 下载 * 页面。

    5. 从 * Cisco ® 集群和管理网络交换机参考配置文件下载 * 页面下载正确版本的映像软件。

  5. 将集群 LIF 迁移到连接到替代交换机 C2 的物理节点端口:

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

    显示示例

    您必须逐个迁移所有集群 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
    cluster::*> network interface migrate -vserver Cluster -lif n3_clus2 -source-node n3 -destination-
    node n3 -destination-port e4a
    cluster::*> network interface migrate -vserver Cluster -lif n4_clus2 -source-node n4 -destination-
    node n4 -destination-port e4a
  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
                n3_clus1   up/up      10.10.0.9/24       n3            e4a     true
                n3_clus2   up/up      10.10.0.10/24      n3            e4a     false
                n4_clus1   up/up      10.10.0.11/24      n4            e4a     true
                n4_clus2   up/up      10.10.0.12/24      n4            e4a     false
  7. 关闭物理连接到原始交换机CL2的集群互连端口:

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

    显示示例

    以下示例显示了所有节点上的集群互连端口均已关闭:

    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
    cluster::*> network port modify -node n3 -port e4e -up-admin false
    cluster::*> network port modify -node n4 -port e4e -up-admin false
  8. 对远程集群接口执行 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
    Cluster n3_clus1 n4        e0a    10.10.0.9
    Cluster n3_clus2 n3        e0e    10.10.0.10
    Cluster n4_clus1 n4        e0a    10.10.0.11
    Cluster n4_clus2 n4        e0e    10.10.0.12
    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 10.10.0.9 10.10.0.10 10.10.0.11
    10.10.0.12 Cluster Vserver Id = 4294967293 Ping status:
    ....
    Basic connectivity succeeds on 32 path(s)
    Basic connectivity fails on 0 path(s) ................
    Detected 9000 byte MTU on 32 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.1 to Remote 10.10.0.9
        Local 10.10.0.1 to Remote 10.10.0.10
        Local 10.10.0.1 to Remote 10.10.0.11
        Local 10.10.0.1 to Remote 10.10.0.12
        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.2 to Remote 10.10.0.9
        Local 10.10.0.2 to Remote 10.10.0.10
        Local 10.10.0.2 to Remote 10.10.0.11
        Local 10.10.0.2 to Remote 10.10.0.12
        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.3 to Remote 10.10.0.9
        Local 10.10.0.3 to Remote 10.10.0.10
        Local 10.10.0.3 to Remote 10.10.0.11
        Local 10.10.0.3 to Remote 10.10.0.12
        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
        Local 10.10.0.4 to Remote 10.10.0.9
        Local 10.10.0.4 to Remote 10.10.0.10
        Local 10.10.0.4 to Remote 10.10.0.11
        Local 10.10.0.4 to Remote 10.10.0.12
    Larger than PMTU communication succeeds on 32 path(s) RPC status:
    8 paths up, 0 paths down (tcp check)
    8	paths up, 0 paths down (udp check)

第2步:将ISL迁移到交换机CL1和C2

  1. 关闭集群交换机 CL1 上的端口 1/31 和 1/32 。

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

    显示示例
    (CL1)# configure
    (CL1)(Config)# interface e1/31-32
    (CL1)(config-if-range)# shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  2. 拔下连接到集群交换机 CL2 的所有缆线,然后将其重新连接到所有节点的替代交换机 C2 。

  3. 从集群交换机 CL2 上的端口 E1/31 和 E1/32 中拔下交换机间链路( ISL )缆线,然后将其重新连接到替代交换机 C2 上的相同端口。

  4. 启动集群交换机 CL1 上的 ISL 端口 1/31 和 1/32 。

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

    显示示例
    (CL1)# configure
    (CL1)(Config)# interface e1/31-32
    (CL1)(config-if-range)# no shutdown
    (CL1)(config-if-range)# exit
    (CL1)(Config)# exit
    (CL1)#
  5. 验证 ISL 在 CL1 上是否已启动。

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

    端口 Eth1/31 和 Eth1/32 应指示 ` ( P )` ,这意味着 ISL 端口在端口通道中已启动:

    显示示例
    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/31(P)   Eth1/32(P)
  6. 验证集群交换机 C2 上的 ISL 是否已启动。

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

    显示示例

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

    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(P)   Eth1/32(P)
  7. 在所有节点上、启动连接到替代交换机C2的所有集群互连端口:

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

    显示示例
    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
    cluster::*> network port modify -node n3 -port e4e -up-admin true
    cluster::*> network port modify -node n4 -port e4e -up-admin true

第3步:将所有LIF还原到最初分配的端口

  1. 还原所有节点上所有迁移的集群互连 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
    Cluster::*> network interface revert -vserver cluster -lif n3_clus2
    Cluster::*> network interface revert -vserver cluster -lif n4_clus2
  2. 验证集群互连端口现在是否已还原到其主端口:

    network interface show

    显示示例

    以下示例显示所有 LIF 均已成功还原,因为 Current Port 列下列出的端口在 is Home 列中的状态为 true 。如果端口的值为 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
                 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
  3. 验证集群端口是否已连接:

    network port show -role cluster

    显示示例
    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  -        -
  4. 对远程集群接口执行 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
    Cluster n3_clus1 n3        e0a    10.10.0.9
    Cluster n3_clus2 n3        e0e    10.10.0.10
    Cluster n4_clus1 n4        e0a    10.10.0.11
    Cluster n4_clus2 n4        e0e    10.10.0.12
    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 10.10.0.9 10.10.0.10 10.10.0.11 10.10.0.12
    Cluster Vserver Id = 4294967293 Ping status:
    ....
    Basic connectivity succeeds on 32 path(s)
    Basic connectivity fails on 0 path(s) ................
    Detected 1500 byte MTU on 32 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.1 to Remote 10.10.0.9
        Local 10.10.0.1 to Remote 10.10.0.10
        Local 10.10.0.1 to Remote 10.10.0.11
        Local 10.10.0.1 to Remote 10.10.0.12
        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.2 to Remote 10.10.0.9
        Local 10.10.0.2 to Remote 10.10.0.10
        Local 10.10.0.2 to Remote 10.10.0.11
        Local 10.10.0.2 to Remote 10.10.0.12
        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.3 to Remote 10.10.0.9
        Local 10.10.0.3 to Remote 10.10.0.10
        Local 10.10.0.3 to Remote 10.10.0.11
        Local 10.10.0.3 to Remote 10.10.0.12
        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
        Local 10.10.0.4 to Remote 10.10.0.9
        Local 10.10.0.4 to Remote 10.10.0.10
        Local 10.10.0.4 to Remote 10.10.0.11
        Local 10.10.0.4 to Remote 10.10.0.12
    Larger than PMTU communication succeeds on 32 path(s) RPC status:
    8 paths up, 0 paths down (tcp check)
    8	paths up, 0 paths down (udp check)

第4步:验证所有端口和LIF是否均已正确迁移

  1. 输入以下命令以显示有关配置中设备的信息:

    您可以按任意顺序执行以下命令:

    • 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
    
    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  -
    
    cluster::*> network interface show -role cluster
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                nm1_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
    
    cluster::*> system cluster-switch show
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                          cluster-network   10.10.1.101      NX3232C
                 Serial Number: FOX000001
                  Is Monitored: true
                        Reason: None
              Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
                Version Source: CDP
    CL2                          cluster-network   10.10.1.102      NX3232C
                 Serial Number: FOX000002
                  Is Monitored: true
                        Reason: None
              Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
                Version Source: CDP
    
    C2                          cluster-network    10.10.1.103      NX3232C
                 Serial Number: FOX000003
                  Is Monitored: true
                        Reason: None
              Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
                Version Source: CDP 3 entries were displayed.
  2. 如果未自动删除更换的集群交换机 CL2 ,请将其删除:

    ssystem cluster-switch delete -device cluster-switch-name

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

    ssystem cluster-switch show

    显示示例

    以下示例显示了集群交换机受到监控,因为 受监控 状态为 true

    cluster::> system cluster-switch show
    Switch                      Type               Address          Model
    --------------------------- ------------------ ---------------- ---------------
    CL1                         cluster-network    10.10.1.101      NX3232C
                Serial Number: FOX000001
                 Is Monitored: true
                       Reason: None
             Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
               Version Source: CDP
    
    C2                          cluster-network    10.10.1.103      NX3232C
                Serial Number: FOX000002
                 Is Monitored: true
                       Reason: None
             Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1)
               Version Source: CDP
  4. 启用集群交换机运行状况监控器日志收集功能以收集交换机相关的日志文件:

    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:
    CL1
    C2
    
    cluster::*> system cluster-switch log setup-password
    
    Enter the switch name: CL1
    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 支持部门。

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

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