准备安装 NX-OS 软件和参考配置文件 (RCF)
在安装 NX-OS 软件和参考配置文件 (RCF) 之前,请按照以下步骤操作。
请确保您拥有以下物品:
-
一个功能齐全的集群(日志中没有错误或类似问题)。
-
相应的软件和升级指南可从以下渠道获取: "CiscoNexus 9000 系列交换机" 。
本流程中的示例使用了两个节点。这些节点使用两个 10GbE 集群互连端口 e0a`和 `e0b。参见 "Hardware Universe"验证平台上的集群端口是否正确。
本流程中的示例使用以下开关和节点命名规则:
-
这两台Cisco交换机的名称是:
cs1`和 `cs2。 -
节点名称是
node1`和 `node2。 -
集群 LIF 名称为 `node1_clus1`和 `node1_clus2`对于节点1和 `node2_clus1`和 `node2_clus2`对于节点2。
-
这 `cluster1::*>`prompt 指示集群名称。
该过程需要同时使用ONTAP命令和Cisco Nexus 9000 系列交换机命令;除非另有说明,否则使用ONTAP命令。命令输出可能因ONTAP版本不同而有所差异。
-
将权限级别更改为高级,并在提示继续时输入 y:
set -privilege advanced高级提示(`*>`出现。
-
如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:
system node autosupport invoke -node * -type all -message MAINT=xh其中 x 为维护窗口的持续时间(小时)。
AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。 以下命令可抑制自动创建案件两小时:
cluster1:> **system node autosupport invoke -node * -type all -message MAINT=2h**
-
显示每个节点上每个集群互连交换机配置的集群互连接口数量:
network device-discovery show -protocol cdp显示示例
cluster1::*> network device-discovery show -protocol cdp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ---------------- ---------------- node2 /cdp e0a cs1 Eth1/2 N9K-C92300YC e0b cs2 Eth1/2 N9K-C92300YC node1 /cdp e0a cs1 Eth1/1 N9K-C92300YC e0b cs2 Eth1/1 N9K-C92300YC 4 entries were displayed. -
检查每个集群接口的管理或运行状态。
-
显示网络端口属性:
network port show –ipspace Cluster显示示例
cluster1::*> network port show -ipspace Cluster Node: node2 Speed(Mbps) Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status --------- ------------ ---------------- ---- ---- ----------- -------- e0a Cluster Cluster up 9000 auto/10000 healthy e0b Cluster Cluster up 9000 auto/10000 healthy Node: node1 Speed(Mbps) Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status --------- ------------ ---------------- ---- ---- ----------- -------- e0a Cluster Cluster up 9000 auto/10000 healthy e0b Cluster Cluster up 9000 auto/10000 healthy 4 entries were displayed. -
显示有关 LIF 的信息:
network interface show -vserver Cluster显示示例
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 e0a true node1_clus2 up/up 169.254.49.125/16 node1 e0b true node2_clus1 up/up 169.254.47.194/16 node2 e0a true node2_clus2 up/up 169.254.19.183/16 node2 e0b true 4 entries were displayed.
-
-
验证远程集群接口的连接性:
你可以使用 `network interface check cluster-connectivity`执行命令以启动集群连接性检查,然后显示详细信息:
network interface check cluster-connectivity start`和 `network interface check cluster-connectivity show
cluster1::*> network interface check cluster-connectivity start
*注意:*运行程序前请等待几秒钟 `show`显示详细信息的命令。
cluster1::*> network interface check cluster-connectivity show
Source Destination Packet
Node Date LIF LIF Loss
------ -------------------------- ---------------- ---------------- -----------
node1
3/5/2022 19:21:18 -06:00 node1_clus2 node2-clus1 none
3/5/2022 19:21:20 -06:00 node1_clus2 node2_clus2 none
node2
3/5/2022 19:21:18 -06:00 node2_clus2 node1_clus1 none
3/5/2022 19:21:20 -06:00 node2_clus2 node1_clus2 none
对于所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`检查连接性的命令:
cluster ping-cluster -node <name>
cluster1::*> cluster ping-cluster -node local
Host is node2
Getting addresses from network interface table...
Cluster node1_clus1 169.254.209.69 node1 e0a
Cluster node1_clus2 169.254.49.125 node1 e0b
Cluster node2_clus1 169.254.47.194 node2 e0a
Cluster node2_clus2 169.254.19.183 node2 e0b
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)
-
network interface show -vserver Cluster -fields auto-revert显示示例
cluster1::*> network interface show -vserver Cluster -fields auto-revert Logical Vserver Interface Auto-revert --------- ------------- ------------ Cluster node1_clus1 true node1_clus2 true node2_clus1 true node2_clus2 true 4 entries were displayed.
准备好安装 NX-OS 软件和 RCF 后,您可以…… "安装 NX-OS 软件"。