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

从NetApp CN1610集群交换机迁移到Cisco 9336C - FX2集群交换机

贡献者

您可以将ONTAP集群的NetApp CN1610集群交换机迁移到Cisco 9336C至FX2集群交换机。这是一个无中断操作步骤。

查看要求

在将NetApp CN1610集群交换机更换为Cisco 9336C - FX2集群交换机时、您必须了解某些配置信息、端口连接和布线要求。

支持的交换机

支持以下集群交换机:

  • NetApp CN1610

  • Cisco 9336C-x2

有关支持的端口及其配置的详细信息、请参见 "Hardware Universe"

您需要的内容

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

  • 现有集群已正确设置且正常运行。

  • 所有集群端口均处于*启动*状态、以确保无中断运行。

  • Cisco 9335C-FX2集群交换机已配置并在应用了参考配置文件(RCF)的正确NX-OS版本下运行。

  • 现有集群网络配置具有以下功能:

    • 一种使用NetApp CN1610交换机且功能完备的冗余NetApp集群。

    • NetApp CN1610交换机和新交换机的管理连接和控制台访问。

    • 所有与集群 LIF 处于 up 状态的集群 LIF 均位于其主端口上。

  • Cisco 9336C -FX2交换机上的某些端口配置为以40GbE或100GbE运行。

  • 您已规划、迁移和记录从节点到Cisco 9336C -FX2集群交换机的40GbE和100GbE连接。

迁移交换机

关于示例

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

  • 现有的CN1610集群交换机为_C1_和_C2_。

  • 新的9336C -FX2集群交换机是_CS1_和_CS2_。

  • 节点为 node1node2

  • 集群 LIF 分别是节点 1 上的 node1_clus1node1_clus2 以及节点 2 上的 node2_clus1node2_clus2

  • cluster1 ::: * > 提示符指示集群的名称。

  • 此操作步骤 中使用的集群端口为_e3A_和_e3b_。

关于此任务

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

  • 交换机C2首先被交换机CS2取代。

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

    • 然后、节点和C2之间的布线从C2断开、并重新连接到CS2。

  • 交换机C1由交换机CS1取代。

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

    • 然后、节点和C1之间的布线从C1断开、并重新连接到CS1。

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

第1步:准备迁移

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

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

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

  2. 将权限级别更改为高级,在系统提示您继续时输入 * y * :

    set -privilege advanced

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

  3. 在集群LIF上禁用自动还原:

    network interface modify -vserver cluster -lif *-auto-revert false

第2步:配置端口和布线

  1. 确定每个集群接口的管理或运行状态。

    每个端口应显示为up Linkhealthy 适用于 Health Status

    1. 显示网络端口属性:

      network port show -ipspace cluster

      显示示例
      cluster1::*> network port show -ipspace Cluster
      
      Node: node1
                                                                             Ignore
                                                       Speed(Mbps)  Health   Health
      Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
      --------- ---------- ---------------- ---- ----- ------------ -------- ------
      e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
      e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
      
      Node: node2
                                                                             Ignore
                                                       Speed(Mbps)  Health   Health
      Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
      --------- ---------- ---------------- ---- ----- ------------ -------- ------
      e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
      e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    2. 显示有关这些LUN及其指定主节点的信息:

      network interface show -vserver cluster

      应显示每个LIF up/up 适用于 Status Admin/Opertrue 适用于 Is Home

    显示示例
    cluster1::*> network interface show -vserver Cluster
    
                Logical      Status     Network            Current     Current Is
    Vserver     Interface    Admin/Oper Address/Mask       Node        Port    Home
    ----------- -----------  ---------- ------------------ ----------- ------- ----
    Cluster
                node1_clus1  up/up      169.254.209.69/16  node1       e3a     true
                node1_clus2  up/up      169.254.49.125/16  node1       e3b     true
                node2_clus1  up/up      169.254.47.194/16  node2       e3a     true
                node2_clus2  up/up      169.254.19.183/16  node2       e3b     true
  2. 从节点的角度来看,每个节点上的集群端口均使用命令以以下方式连接到现有集群交换机:

    network device-discovery show -protocol

    显示示例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e3a    C1 (6a:ad:4f:98:3b:3f)    0/1               -
                e3b    C2 (6a:ad:4f:98:4c:a4)    0/1               -
    node2      /cdp
                e3a    C1 (6a:ad:4f:98:3b:3f)    0/2               -
                e3b    C2 (6a:ad:4f:98:4c:a4)    0/2               -
  3. 从交换机的角度来看,集群端口和交换机使用命令以以下方式进行连接:

    s如何使用 cdp 邻居

    显示示例
    C1# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    Device-ID             Local Intrfce Hldtme Capability  Platform         Port ID
    node1                 Eth1/1        124    H           AFF-A400         e3a
    node2                 Eth1/2        124    H           AFF-A400         e3a
    C2                    0/13          179    S I s       CN1610           0/13
    C2                    0/14          175    S I s       CN1610           0/14
    C2                    0/15          179    S I s       CN1610           0/15
    C2                    0/16          175    S I s       CN1610           0/16
    
    C2# show cdp neighbors
    
    Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
                      S - Switch, H - Host, I - IGMP, r - Repeater,
                      V - VoIP-Phone, D - Remotely-Managed-Device,
                      s - Supports-STP-Dispute
    
    
    Device-ID             Local Intrfce Hldtme Capability  Platform         Port ID
    node1                 Eth1/1        124    H           AFF-A400         e3b
    node2                 Eth1/2        124    H           AFF-A400         e3b
    C1                    0/13          175    S I s       CN1610           0/13
    C1                    0/14          175    S I s       CN1610           0/14
    C1                    0/15          175    S I s       CN1610           0/15
    C1                    0/16          175    S I s       CN1610           0/16
  4. 使用命令验证集群网络是否已完全连接:

    cluster ping-cluster -node node-name

    显示示例
    cluster1::*> cluster ping-cluster -node node2
    
    Host is node2
    Getting addresses from network interface table...
    Cluster node1_clus1 169.254.209.69 node1     e3a
    Cluster node1_clus2 169.254.49.125 node1     e3b
    Cluster node2_clus1 169.254.47.194 node2     e3a
    Cluster node2_clus2 169.254.19.183 node2     e3b
    Local = 169.254.47.194 169.254.19.183
    Remote = 169.254.209.69 169.254.49.125
    Cluster Vserver Id = 4294967293
    Ping status:
    ....
    Basic connectivity succeeds on 4 path(s)
    Basic connectivity fails on 0 path(s)
    ................
    Detected 9000 byte MTU on 4 path(s):
        Local 169.254.19.183 to Remote 169.254.209.69
        Local 169.254.19.183 to Remote 169.254.49.125
        Local 169.254.47.194 to Remote 169.254.209.69
        Local 169.254.47.194 to Remote 169.254.49.125
    Larger than PMTU communication succeeds on 4 path(s)
    RPC status:
    2 paths up, 0 paths down (tcp check)
    2 paths up, 0 paths down (udp check)
  5. 在交换机C2上、关闭连接到节点的集群端口的端口、以便对集群的生命周期进行故障转移。

    (C2)# configure
    (C2)(Config)# interface 0/1-0/12
    (C2)(Interface 0/1-0/12)# shutdown
    (C2)(Interface 0/1-0/12)# exit
    (C2)(Config)# exit
  6. 使用Cisco 9336C -FX2支持的适当布线方法、将节点集群端口从旧交换机C2移至新交换机CS2。

  7. 显示网络端口属性:

    network port show -ipspace cluster

    显示示例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    
    Node: node2
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
  8. 现在,从节点的角度来看,每个节点上的集群端口均以以下方式连接到集群交换机:

    network device-discovery show -protocol

    显示示例
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e3a    C1  (6a:ad:4f:98:3b:3f)   0/1               CN1610
                e3b    cs2 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1     N9K-C9336C-FX2
    node2      /cdp
                e3a    C1  (6a:ad:4f:98:3b:3f)   0/2               CN1610
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2     N9K-C9336C-FX2
  9. 在交换机CS2上、验证所有节点集群端口是否均已启动:

    network interface show -vserver cluster

    显示示例
    cluster1::*> network interface show -vserver Cluster
                Logical      Status     Network            Current     Current Is
    Vserver     Interfac     Admin/Oper Address/Mask       Node        Port    Home
    ----------- ------------ ---------- ------------------ ----------- ------- ----
    Cluster
                node1_clus1  up/up      169.254.3.4/16     node1       e0b     false
                node1_clus2  up/up      169.254.3.5/16     node1       e0b     true
                node2_clus1  up/up      169.254.3.8/16     node2       e0b     false
                node2_clus2  up/up      169.254.3.9/16     node2       e0b     true
  10. 在交换机C1上、关闭连接到节点的集群端口的端口、以便对集群生命周期进行故障转移。

    (C1)# configure
    (C1)(Config)# interface 0/1-0/12
    (C1)(Interface 0/1-0/12)# shutdown
    (C1)(Interface 0/1-0/12)# exit
    (C1)(Config)# exit
  11. 使用Cisco 9336C -FX2支持的适当布线方法、将节点集群端口从旧交换机C1移动到新交换机CS1。

  12. 验证集群的最终配置:

    network port show -ipspace cluster

    应显示每个端口 up 适用于 Linkhealthy 适用于 Health Status

    显示示例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
    
    Node: node2
                                                                           Ignore
                                                     Speed(Mbps)  Health   Health
    Port      IPspace    Broadcast Domain Link MTU   Admin/Oper   Status   Status
    --------- ---------- ---------------- ---- ----- ------------ -------- ------
    e3a       Cluster    Cluster          up   9000  auto/100000  healthy  false
    e3b       Cluster    Cluster          up   9000  auto/100000  healthy  false
  13. 现在,从节点的角度来看,每个节点上的集群端口均以以下方式连接到集群交换机:

    network device-discovery show -protocol

    显示示例
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface       Platform
    ----------- ------ ------------------------- --------------  ----------------
    node1      /cdp
                e3a    cs1 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1   N9K-C9336C-FX2
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
    node2      /cdp
                e3a    cs1 (b8:ce:f6:19:1a:7e)   Ethernet1/1/1   N9K-C9336C-FX2
                e3b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
  14. 在交换机CS1和CS2上、验证所有节点集群端口是否均已启动:

    network port show -ipspace cluster

    显示示例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    
    Node: node2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
  15. 验证两个节点与每个交换机之间是否有一个连接:

    network device-discovery show -protocol

    显示示例

    以下示例显示了这两个交换机的相应结果:

    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface       Platform
    ----------- ------ ------------------------- --------------  --------------
    node1      /cdp
                e0a    cs1 (b8:ce:f6:19:1b:42)   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2
    
    node2      /cdp
                e0a    cs1 (b8:ce:f6:19:1b:42)   Ethernet1/1/1   N9K-C9336C-FX2
                e0b    cs2 (b8:ce:f6:19:1b:96)   Ethernet1/1/2   N9K-C9336C-FX2

第3步:完成操作步骤

  1. 在集群 LIF 上启用自动还原:

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert true

  2. 验证所有集群网络LIF是否均已恢复其主端口:

    network interface show

    显示示例
    cluster1::*> network interface show -vserver Cluster
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                node1_clus1  up/up    169.254.209.69/16  node1         e3a     true
                node1_clus2  up/up    169.254.49.125/16  node1         e3b     true
                node2_clus1  up/up    169.254.47.194/16  node2         e3a     true
                node2_clus2  up/up    169.254.19.183/16  node2         e3b     true
  3. 要设置日志收集、请对每个交换机运行以下命令。系统会提示您输入交换机名称、用户名和密码以收集日志。

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

    显示示例
    cluster1::*> system switch ethernet log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs1
    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 switch ethernet log setup-password
    
    Enter the switch name: cs2
    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>
  4. 要开始收集日志、请运行以下命令、将device替换为上一命令中使用的交换机。这将开始两种类型的日志收集:详细的*Support*日志和每小时收集*定期*数据。

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

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

    等待10分钟、然后使用命令检查日志收集是否成功:

    system switch ethernet log show

    备注 如果其中任何一个命令返回错误,请联系 NetApp 支持部门。
  5. 将权限级别重新更改为 admin :

    set -privilege admin

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

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