准备安装或升级 NX-OS 软件和 RCF
在安装 NX-OS 软件和参考配置文件 (RCF) 之前,请按照以下步骤操作。
本流程中的示例使用以下开关和节点命名规则:
-
这两个Cisco交换机的名称分别是 cs1 和 cs2。
-
节点名称为 cluster1-01 和 cluster1-02。
-
集群 LIF 名称分别为 cluster1-01_clus1 和 cluster1-01_clus2(对应集群 1-01)以及 cluster1-02_clus1 和 cluster1-02_clus2(对应集群 1-02)。
-
这 `cluster1::*>`prompt 指示集群名称。
该过程需要同时使用ONTAP命令和Cisco Nexus 9000 系列交换机命令;除非另有说明,否则使用ONTAP命令。
-
如果此集群上启用了AutoSupport ,则通过调用AutoSupport消息来抑制自动创建案例:
system node autosupport invoke -node * -type all -message MAINT=x h其中 x 为维护窗口的持续时间(小时)。
AutoSupport消息会通知技术支持此维护任务,以便在维护窗口期间抑制自动创建案例。 -
将权限级别更改为高级,并在提示继续时输入 y:
set -privilege advanced高级提示(`*>`出现。
-
显示每个节点上每个集群互连交换机配置的集群互连接口数量:
network device-discovery show -protocol lldp显示示例
cluster1::*> network device-discovery show -protocol lldp Node/ Local Discovered Protocol Port Device (LLDP: ChassisID) Interface Platform ----------- ------ ------------------------- ----------------- -------- cluster1-02/lldp e0a cs1 Eth1/2 N9K-C9336C e0b cs2 Eth1/2 N9K-C9336C cluster1-01/lldp e0a cs1 Eth1/1 N9K-C9336C e0b cs2 Eth1/1 N9K-C9336C 4 entries were displayed. -
检查每个集群接口的管理或运行状态。
-
显示网络端口属性:
network port show -ipspace Cluster显示示例
cluster1::*> network port show -ipspace Cluster Node: cluster1-02 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ------------ ------- ------ e0a Cluster Cluster up 9000 auto/100000 healthy false e0b Cluster Cluster up 9000 auto/100000 healthy false Node: cluster1-01 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ------------ ------- ------ e0a Cluster Cluster up 9000 auto/100000 healthy false e0b Cluster Cluster up 9000 auto/100000 healthy false 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 cluster1-01_clus1 up/up 169.254.209.69/16 cluster1-01 e0a true cluster1-01_clus2 up/up 169.254.49.125/16 cluster1-01 e0b true cluster1-02_clus1 up/up 169.254.47.194/16 cluster1-02 e0a true cluster1-02_clus2 up/up 169.254.19.183/16 cluster1-02 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/2024 19:21:18 -06:00 cluster1-01_clus2 cluster1-02-clus1 none
3/5/2024 19:21:20 -06:00 cluster1-01_clus2 cluster1-02_clus2 none
node2
3/5/2024 19:21:18 -06:00 cluster1-02_clus2 cluster1-01_clus1 none
3/5/2024 19:21:20 -06:00 cluster1-02_clus2 cluster1-01_clus2 none
对于所有ONTAP版本,您也可以使用 `cluster ping-cluster -node <name>`检查连接性的命令:
cluster ping-cluster -node <name>
cluster1::*> cluster ping-cluster -node local
Host is cluster1-02
Getting addresses from network interface table...
Cluster cluster1-01_clus1 169.254.209.69 cluster1-01 e0a
Cluster cluster1-01_clus2 169.254.49.125 cluster1-01 e0b
Cluster cluster1-02_clus1 169.254.47.194 cluster1-02 e0a
Cluster cluster1-02_clus2 169.254.19.183 cluster1-02 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 cluster1-01_clus1 true cluster1-01_clus2 true cluster1-02_clus1 true cluster1-02_clus2 true 4 entries were displayed.
准备好安装 NX-OS 软件和 RCF 后,您可以…… "安装或升级 NX-OS 软件"。