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

准备从无交换机集群迁移到 Cisco Nexus 3232C 集群交换机

贡献者 netapp-yvonneo netapp-jsnyder

使用 Cisco Nexus 3232C 集群交换机将双节点无交换机集群迁移到有交换机集群做好准备。

步骤
  1. 如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:

    system node autosupport invoke -node * -type all - message MAINT=xh

    x 是维护窗口的持续时间,单位为小时。

    备注

    AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。

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

    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
      --------- ------------ ---------------- ---- ---- ----------- -------- -----
      e4a       Cluster      Cluster          up   9000 auto/40000  -
      e4e       Cluster      Cluster          up   9000 auto/40000  -        -
      Node: n2
                                                                             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 entries were displayed.
    2. 显示有关逻辑接口及其指定归属节点的信息:

      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            e4a     true
                  n1_clus2   up/up      10.10.0.2/24       n1            e4e     true
                  n2_clus1   up/up      10.10.0.3/24       n2            e4a     true
                  n2_clus2   up/up      10.10.0.4/24       n2            e4e     true
      
      4 entries were displayed.
    3. 使用 advanced privilege 命令验证是否已启用无交换机集群检测:

      network options detect-switchless-cluster show`

    显示示例

    以下示例中的输出显示启用了无交换机集群检测:

    cluster::*> network options detect-switchless-cluster show
    Enable Switchless Cluster Detection: true
  3. 验证是否在新的 3232C 交换机上安装了适当的 RCF 和映像,并进行任何必要的站点自定义,例如添加用户、密码和网络地址。

    此时必须准备好两台交换机。如果您需要升级 RCF 和映像软件,则必须执行以下步骤:

    1. 转到 NetApp 支持站点上的 Cisco Ethernet Switches 页面。

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

    3. 下载适当版本的 RCF。

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

    5. 下载合适版本的映像软件。

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

  5. 在 Nexus 3232C 交换机 C1 和 C2 上,禁用所有面向节点的端口 C1 和 C2,但不要禁用 ISL 端口 e1/31-32。

    有关 Cisco 命令的更多信息,请参阅 "Cisco Nexus 3000 系列 NX-OS 命令参考" 中的以下列表。

    显示示例

    以下示例显示了使用 RCF NX3232_RCF_v1.0_24p10g_24p100g.txt 中支持的配置在 Nexus 3232C 集群交换机 C1 和 C2 上禁用端口 1 到 30 的操作:

    C1# copy running-config startup-config
    [] 100% Copy complete.
    C1# configure
    C1(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30
    C1(config-if-range)# shutdown
    C1(config-if-range)# exit
    C1(config)# exit
    C2# copy running-config startup-config
    [] 100% Copy complete.
    C2# configure
    C2(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30
    C2(config-if-range)# shutdown
    C2(config-if-range)# exit
    C2(config)# exit
  6. 使用支持的电缆将 C1 上的端口 1/31 和 1/32 连接到 C2 上的相同端口。

  7. 确认 ISL 端口在 C1 和 C2 上运行:

    show port-channel summary

    有关 Cisco 命令的更多信息,请参阅 "Cisco Nexus 3000 系列 NX-OS 命令参考" 中的以下列表。

    显示示例

    以下示例显示了用于验证 ISL 端口在 C1 和 C2 上是否正常运行的 Cisco show port-channel summary 命令:

    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
    --------------------------------------------------------------------------------
          Port-
    Group Channel      Type   Protocol  Member Ports
    -------------------------------------------------------------------------------
    1     Po1(SU)      Eth    LACP      Eth1/31(P)   Eth1/32(P)
    
    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)
  8. 显示交换机上相邻设备的列表。

    有关 Cisco 命令的更多信息,请参阅 "Cisco Nexus 3000 系列 NX-OS 命令参考" 中的以下列表。

    显示示例

    以下示例显示了用于显示交换机上相邻设备的 Cisco 命令 show cdp neighbors

    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
    C2                 Eth1/31        174    R S I s     N3K-C3232C  Eth1/31
    C2                 Eth1/32        174    R S I s     N3K-C3232C  Eth1/32
    Total entries displayed: 2
    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
    C1                 Eth1/31        178    R S I s     N3K-C3232C  Eth1/31
    C1                 Eth1/32        178    R S I s     N3K-C3232C  Eth1/32
    Total entries displayed: 2
  9. 显示每个节点上的集群端口连接:

    network device-discovery show

    显示示例

    以下示例显示了双节点无交换机集群配置的集群端口连接:

    cluster::*> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e4a    n2                  e4a              FAS9000
                e4e    n2                  e4e              FAS9000
    n2         /cdp
                e4a    n1                  e4a              FAS9000
                e4e    n1                  e4e              FAS9000
下一步是什么?

在您准备好迁移交换机之后,您就可以"配置端口"了。