做好从双节点无交换机集群迁移到双节点有交换机集群的准备
按照以下步骤准备您的双节点无交换机集群,以迁移到包含Cisco Nexus 3232C 集群网络交换机的双节点交换集群。
-
如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:
system node autosupport invoke -node * -type all - message MAINT=xhx 是维护窗口的持续时间,单位为小时。
AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。
-
确定每个集群接口的管理或运行状态:
-
显示网络端口属性:
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. -
显示有关逻辑接口及其指定归属节点的信息:
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. -
使用高级权限命令验证是否已启用无交换机集群检测:
network options detect-switchless-cluster show`
显示示例
以下示例的输出表明已启用无交换机集群检测:
cluster::*> network options detect-switchless-cluster show Enable Switchless Cluster Detection: true
-
-
确认新的 3232C 交换机上已安装相应的 RCF 和映像,并进行任何必要的站点自定义,例如添加用户、密码和网络地址。
此时您必须准备好这两个开关。如果需要升级 RCF 和镜像软件,必须按照以下步骤操作:
-
请访问NetApp支持网站上的 Cisco 以太网交换机 页面。
-
请记下您交换机的型号以及该页表格中所需的软件版本。
-
下载相应版本的RCF。
-
在“描述”页面上选择“继续”,接受许可协议,然后按照“下载”页面上的说明下载 RCF。
-
下载相应版本的图像处理软件。
-
-
在“描述”页面上选择“继续”,接受许可协议,然后按照“下载”页面上的说明下载 RCF。
-
在 Nexus 3232C 交换机 C1 和 C2 上,禁用所有面向节点的端口 C1 和 C2,但不要禁用 ISL 端口 e1/31-32。
有关Cisco命令的更多信息,请参阅以下列表。 "Cisco Nexus 3000 系列 NX-OS 命令参考" 。
显示示例
以下示例展示了如何使用 RCF 支持的配置,在 Nexus 3232C 集群交换机 C1 和 C2 上禁用端口 1 到 30。
NX3232_RCF_v1.0_24p10g_24p100g.txt: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
-
使用支持的电缆将 C1 上的端口 1/31 和 1/32 连接到 C2 上的相同端口。
-
请确认C1和C2上的ISL端口是否正常工作:
show port-channel summary有关Cisco命令的更多信息,请参阅以下列表。 "Cisco Nexus 3000 系列 NX-OS 命令参考" 。
显示示例
以下示例展示了Cisco `show port-channel summary`用于验证 C1 和 C2 上的 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 -------------------------------------------------------------------------------- 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) -
显示交换机上相邻设备的列表。
有关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 -
显示每个节点上的集群端口连接情况:
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
做好交换机迁移准备后,您可以……"配置您的端口" 。