更換Cisco Nexus 3232C叢集交換器
請依照下列步驟、更換叢集中故障的Cisco Nexus 3232C交換器。這是不中斷營運的程序。
檢閱要求
請確定現有的叢集和網路組態具有下列特性:
-
Nexus 3232C叢集基礎架構是備援的、而且在兩台交換器上都能完全正常運作。
「Cisco乙太網路交換器」頁面提供您交換器上最新的RCF和NX-OS版本。
-
所有叢集連接埠都必須處於* up *狀態。
-
兩台交換器都必須具備管理連線能力。
-
所有叢集邏輯介面(lifs)都處於* up*狀態、不會移轉。
替換的Cisco Nexus 3232C交換器具有下列特性:
-
管理網路連線功能正常。
-
更換交換器的主控台存取已就緒。
-
適當的RCF和NX-OS作業系統映像會載入交換器。
-
交換器的初始自訂已完成。
請參閱下列內容:
更換交換器
本更換程序說明下列案例:
-
叢集最初有四個節點連接至兩個Nexus 3232C叢集交換器、CL1和CL2。
-
您打算將叢集交換器CL2更換為C2(步驟1至21):
-
在每個節點上、您將連接至叢集交換器CL2的叢集l生命 移轉至連接至叢集交換器CL1的叢集連接埠。
-
從叢集交換器CL2上的所有連接埠拔下纜線、然後將纜線重新連接至替換叢集交換器C2上的相同連接埠。
-
您可以在每個節點上還原移轉的叢集lifs。
-
此更換程序將第二個Nexus 3232C叢集交換器CL2取代為全新的3232C交換器C2。
本程序中的範例使用下列交換器和節點命名法:
-
四個節點為n1、n2、n3和n4。
-
N1_clus1是第一個叢集邏輯介面(LIF)、連接至節點n1的叢集交換器C1。
-
N1_clus2是第一個連接至叢集交換器CL2或C2的叢集LIF、適用於節點n1。
-
N1_clus3是第二個LIF、連接至節點n1的叢集交換器C2。-
-
N1_clus4是連接至叢集交換器CL1的第二個LIF、適用於節點n1。
10 GbE和40/100 GbE連接埠的數量是在上可用的參考組態檔(RCFs)中定義 "Cisco®叢集網路交換器參考組態檔案下載" 頁面。
此取代程序的範例使用四個節點。其中兩個節點使用四個10 Gb叢集互連連接埠:e0a、e0b、e0c和e0d。其他兩個節點使用兩個40 GB叢集互連連接埠:E4A和e4e。請參閱 "Hardware Universe" 驗證平台的叢集連接埠是否正確。
步驟1:顯示叢集連接埠並將其移轉至交換器
-
如果AutoSupport 此叢集啟用了「支援」功能、請叫用AutoSupport 下列訊息來禁止自動建立案例:
「系統節點AutoSupport 不完整地叫用節點*-type all -訊息MAn=xh」
_x_是維護時段的持續時間(以小時為單位)。
此資訊可通知技術支援人員執行此維護工作、以便在維護期間抑制自動建立案例。AutoSupport
-
顯示組態中裝置的相關資訊:
「網路裝置探索秀」
顯示範例
cluster::> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e0a CL1 Ethernet1/1/1 N3K-C3232C e0b CL2 Ethernet1/1/1 N3K-C3232C e0c CL2 Ethernet1/1/2 N3K-C3232C e0d CL1 Ethernet1/1/2 N3K-C3232C n2 /cdp e0a CL1 Ethernet1/1/3 N3K-C3232C e0b CL2 Ethernet1/1/3 N3K-C3232C e0c CL2 Ethernet1/1/4 N3K-C3232C e0d CL1 Ethernet1/1/4 N3K-C3232C n3 /cdp e4a CL1 Ethernet1/7 N3K-C3232C e4e CL2 Ethernet1/7 N3K-C3232C n4 /cdp e4a CL1 Ethernet1/8 N3K-C3232C e4e CL2 Ethernet1/8 N3K-C3232C
-
確定每個叢集介面的管理或作業狀態。
-
顯示網路連接埠屬性:
「網路連接埠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 --------- ------------ ---------------- ---- ---- ----------- ------------ e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - - Node: n2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- ------------ e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - - Node: n3 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: n4 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 -
-
顯示有關邏輯介面(LIF)的資訊:
「網路介面show -role cluster」
顯示範例
cluster::*> network interface show -role cluster 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 e0a true n1_clus2 up/up 10.10.0.2/24 n1 e0b true n1_clus3 up/up 10.10.0.3/24 n1 e0c true n1_clus4 up/up 10.10.0.4/24 n1 e0d true n2_clus1 up/up 10.10.0.5/24 n2 e0a true n2_clus2 up/up 10.10.0.6/24 n2 e0b true n2_clus3 up/up 10.10.0.7/24 n2 e0c true n2_clus4 up/up 10.10.0.8/24 n2 e0d true n3_clus1 up/up 10.10.0.9/24 n3 e0a true n3_clus2 up/up 10.10.0.10/24 n3 e0e true n4_clus1 up/up 10.10.0.11/24 n4 e0a true n4_clus2 up/up 10.10.0.12/24 n4 e0e true
-
顯示探索到的叢集交換器:
「系統叢集交換器顯示」
顯示範例
下列輸出範例顯示叢集交換器:
cluster::> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- CL1 cluster-network 10.10.1.101 NX3232C Serial Number: FOX000001 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP CL2 cluster-network 10.10.1.102 NX3232C Serial Number: FOX000002 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP
-
-
確認新的Nexus 3232C交換器上已安裝適當的RCF和映像、並進行任何必要的站台自訂。
-
前往NetApp支援網站。
-
前往「* Cisco乙太網路交換器*」頁面、並在表格中記下所需的軟體版本。
-
下載適當版本的RCF。
-
按一下「說明」頁面上的「繼續」、接受授權合約、然後瀏覽至「下載」頁面。
-
從「* Cisco®叢集與管理網路交換器參考組態檔案下載*」頁面下載正確版本的映像軟體。
-
-
將叢集生命體移轉至連接至替換交換器C2的實體節點連接埠:
network interface migrate -vserver vserver-name -lif lif-name -source-node node-name -destination-node node-name -destination-port port-name
顯示範例
您必須個別移轉所有叢集lifs、如下列範例所示:
cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -source-node n1 -destination- node n1 -destination-port e0a cluster::*> network interface migrate -vserver Cluster -lif n1_clus3 -source-node n1 -destination- node n1 -destination-port e0d cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -source-node n2 -destination- node n2 -destination-port e0a cluster::*> network interface migrate -vserver Cluster -lif n2_clus3 -source-node n2 -destination- node n2 -destination-port e0d cluster::*> network interface migrate -vserver Cluster -lif n3_clus2 -source-node n3 -destination- node n3 -destination-port e4a cluster::*> network interface migrate -vserver Cluster -lif n4_clus2 -source-node n4 -destination- node n4 -destination-port e4a
-
驗證叢集連接埠的狀態及其主名稱:
「網路介面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 e0a true n1_clus2 up/up 10.10.0.2/24 n1 e0a false n1_clus3 up/up 10.10.0.3/24 n1 e0d false n1_clus4 up/up 10.10.0.4/24 n1 e0d true n2_clus1 up/up 10.10.0.5/24 n2 e0a true n2_clus2 up/up 10.10.0.6/24 n2 e0a false n2_clus3 up/up 10.10.0.7/24 n2 e0d false n2_clus4 up/up 10.10.0.8/24 n2 e0d true n3_clus1 up/up 10.10.0.9/24 n3 e4a true n3_clus2 up/up 10.10.0.10/24 n3 e4a false n4_clus1 up/up 10.10.0.11/24 n4 e4a true n4_clus2 up/up 10.10.0.12/24 n4 e4a false
-
關閉實體連接至原始交換器CL2的叢集互連連接埠:
「網路連接埠修改-node-name_-port port-name-up、admin假」
顯示範例
以下範例顯示所有節點上的叢集互連連接埠均已關機:
cluster::*> network port modify -node n1 -port e0b -up-admin false cluster::*> network port modify -node n1 -port e0c -up-admin false cluster::*> network port modify -node n2 -port e0b -up-admin false cluster::*> network port modify -node n2 -port e0c -up-admin false cluster::*> network port modify -node n3 -port e4e -up-admin false cluster::*> network port modify -node n4 -port e4e -up-admin false
-
Ping遠端叢集介面並執行RPC伺服器檢查:
「叢集ping叢集-node-node-name_」
顯示範例
下列範例顯示正在Ping節點n1、之後指出的RPC狀態:
cluster::*> cluster ping-cluster -node n1 Host is n1 Getting addresses from network interface table... Cluster n1_clus1 n1 e0a 10.10.0.1 Cluster n1_clus2 n1 e0b 10.10.0.2 Cluster n1_clus3 n1 e0c 10.10.0.3 Cluster n1_clus4 n1 e0d 10.10.0.4 Cluster n2_clus1 n2 e0a 10.10.0.5 Cluster n2_clus2 n2 e0b 10.10.0.6 Cluster n2_clus3 n2 e0c 10.10.0.7 Cluster n2_clus4 n2 e0d 10.10.0.8 Cluster n3_clus1 n4 e0a 10.10.0.9 Cluster n3_clus2 n3 e0e 10.10.0.10 Cluster n4_clus1 n4 e0a 10.10.0.11 Cluster n4_clus2 n4 e0e 10.10.0.12 Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4 Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8 10.10.0.9 10.10.0.10 10.10.0.11 10.10.0.12 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 32 path(s) Basic connectivity fails on 0 path(s) ................ Detected 9000 byte MTU on 32 path(s): Local 10.10.0.1 to Remote 10.10.0.5 Local 10.10.0.1 to Remote 10.10.0.6 Local 10.10.0.1 to Remote 10.10.0.7 Local 10.10.0.1 to Remote 10.10.0.8 Local 10.10.0.1 to Remote 10.10.0.9 Local 10.10.0.1 to Remote 10.10.0.10 Local 10.10.0.1 to Remote 10.10.0.11 Local 10.10.0.1 to Remote 10.10.0.12 Local 10.10.0.2 to Remote 10.10.0.5 Local 10.10.0.2 to Remote 10.10.0.6 Local 10.10.0.2 to Remote 10.10.0.7 Local 10.10.0.2 to Remote 10.10.0.8 Local 10.10.0.2 to Remote 10.10.0.9 Local 10.10.0.2 to Remote 10.10.0.10 Local 10.10.0.2 to Remote 10.10.0.11 Local 10.10.0.2 to Remote 10.10.0.12 Local 10.10.0.3 to Remote 10.10.0.5 Local 10.10.0.3 to Remote 10.10.0.6 Local 10.10.0.3 to Remote 10.10.0.7 Local 10.10.0.3 to Remote 10.10.0.8 Local 10.10.0.3 to Remote 10.10.0.9 Local 10.10.0.3 to Remote 10.10.0.10 Local 10.10.0.3 to Remote 10.10.0.11 Local 10.10.0.3 to Remote 10.10.0.12 Local 10.10.0.4 to Remote 10.10.0.5 Local 10.10.0.4 to Remote 10.10.0.6 Local 10.10.0.4 to Remote 10.10.0.7 Local 10.10.0.4 to Remote 10.10.0.8 Local 10.10.0.4 to Remote 10.10.0.9 Local 10.10.0.4 to Remote 10.10.0.10 Local 10.10.0.4 to Remote 10.10.0.11 Local 10.10.0.4 to Remote 10.10.0.12 Larger than PMTU communication succeeds on 32 path(s) RPC status: 8 paths up, 0 paths down (tcp check) 8 paths up, 0 paths down (udp check)
步驟2:將ISL移轉至交換器CL1和C2
-
關閉叢集交換器CL1上的連接埠1/31和1/32。
如需Cisco命令的詳細資訊、請參閱中所列的指南 "Cisco Nexus 3000系列NX-OS命令參考資料"。
顯示範例
(CL1)# configure (CL1)(Config)# interface e1/31-32 (CL1)(config-if-range)# shutdown (CL1)(config-if-range)# exit (CL1)(Config)# exit (CL1)#
-
拔下連接至叢集交換器CL2的所有纜線、然後將其重新連接至所有節點的交換器C2。
-
從叢集交換器CL2上的連接埠E1/31和E1/32拔下交換器間連結(ISL)纜線、然後將其重新連接至替換交換器C2上的相同連接埠。
-
在叢集交換器CL1上啟動ISL連接埠1/31和1/32。
如需Cisco命令的詳細資訊、請參閱中所列的指南 "Cisco Nexus 3000系列NX-OS命令參考資料"。
顯示範例
(CL1)# configure (CL1)(Config)# interface e1/31-32 (CL1)(config-if-range)# no shutdown (CL1)(config-if-range)# exit (CL1)(Config)# exit (CL1)#
-
確認ISL在CL1上正常運作。
如需Cisco命令的詳細資訊、請參閱中所列的指南 "Cisco Nexus 3000系列NX-OS命令參考資料"。
連接埠eth1/31和eth1/32應顯示「(P)」、這表示ISL連接埠在連接埠通道上:
顯示範例
CL1# 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)
-
驗證ISL是否在叢集交換器C2上啟動。
如需Cisco命令的詳細資訊、請參閱中所列的指南 "Cisco Nexus 3000系列NX-OS命令參考資料"。
顯示範例
連接埠 eth1/31 和 eth1/32 應顯示( P )、這表示兩個 ISL 連接埠都在連接埠通道中。
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)
-
在所有節點上、開啟連接至替換交換器C2的所有叢集互連連接埠:
「網路連接埠修改-node-name_-port port-name-up管理true」
顯示範例
cluster::*> network port modify -node n1 -port e0b -up-admin true cluster::*> network port modify -node n1 -port e0c -up-admin true cluster::*> network port modify -node n2 -port e0b -up-admin true cluster::*> network port modify -node n2 -port e0c -up-admin true cluster::*> network port modify -node n3 -port e4e -up-admin true cluster::*> network port modify -node n4 -port e4e -up-admin true
步驟3:將所有生命週期回復至原始指派的連接埠
-
還原所有節點上所有移轉的叢集互連生命分部:
「網路介面還原-vserver叢集-lif_lif-name_」
顯示範例
您必須分別還原所有叢集互連生命、如下列範例所示:
cluster::*> network interface revert -vserver cluster -lif n1_clus2 cluster::*> network interface revert -vserver cluster -lif n1_clus3 cluster::*> network interface revert -vserver cluster -lif n2_clus2 cluster::*> network interface revert -vserver cluster -lif n2_clus3 Cluster::*> network interface revert -vserver cluster -lif n3_clus2 Cluster::*> network interface revert -vserver cluster -lif n4_clus2
-
確認叢集互連連接埠現在已還原至其主目錄:
「網路介面展示」
顯示範例
以下範例顯示所有的生命週期都已成功還原、因為「目前連接埠」欄中所列的連接埠在「is Home」欄位中的狀態為「true」。如果連接埠的值為「假」、則不會還原LIF。
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 e0a true n1_clus2 up/up 10.10.0.2/24 n1 e0b true n1_clus3 up/up 10.10.0.3/24 n1 e0c true n1_clus4 up/up 10.10.0.4/24 n1 e0d true n2_clus1 up/up 10.10.0.5/24 n2 e0a true n2_clus2 up/up 10.10.0.6/24 n2 e0b true n2_clus3 up/up 10.10.0.7/24 n2 e0c true n2_clus4 up/up 10.10.0.8/24 n2 e0d true n3_clus1 up/up 10.10.0.9/24 n3 e4a true n3_clus2 up/up 10.10.0.10/24 n3 e4e true n4_clus1 up/up 10.10.0.11/24 n4 e4a true n4_clus2 up/up 10.10.0.12/24 n4 e4e true
-
驗證是否已連接叢集連接埠:
「網路連接埠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 --------- ------------ ---------------- ---- ---- ----------- -------- ----- e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - - Node: n2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ----- e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - - Node: n3 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: n4 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 - -
-
Ping遠端叢集介面並執行RPC伺服器檢查:
「叢集ping叢集-node-node-name_」
顯示範例
下列範例顯示正在Ping節點n1、之後指出的RPC狀態:
cluster::*> cluster ping-cluster -node n1 Host is n1 Getting addresses from network interface table... Cluster n1_clus1 n1 e0a 10.10.0.1 Cluster n1_clus2 n1 e0b 10.10.0.2 Cluster n1_clus3 n1 e0c 10.10.0.3 Cluster n1_clus4 n1 e0d 10.10.0.4 Cluster n2_clus1 n2 e0a 10.10.0.5 Cluster n2_clus2 n2 e0b 10.10.0.6 Cluster n2_clus3 n2 e0c 10.10.0.7 Cluster n2_clus4 n2 e0d 10.10.0.8 Cluster n3_clus1 n3 e0a 10.10.0.9 Cluster n3_clus2 n3 e0e 10.10.0.10 Cluster n4_clus1 n4 e0a 10.10.0.11 Cluster n4_clus2 n4 e0e 10.10.0.12 Local = 10.10.0.1 10.10.0.2 10.10.0.3 10.10.0.4 Remote = 10.10.0.5 10.10.0.6 10.10.0.7 10.10.0.8 10.10.0.9 10.10.0.10 10.10.0.11 10.10.0.12 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 32 path(s) Basic connectivity fails on 0 path(s) ................ Detected 1500 byte MTU on 32 path(s): Local 10.10.0.1 to Remote 10.10.0.5 Local 10.10.0.1 to Remote 10.10.0.6 Local 10.10.0.1 to Remote 10.10.0.7 Local 10.10.0.1 to Remote 10.10.0.8 Local 10.10.0.1 to Remote 10.10.0.9 Local 10.10.0.1 to Remote 10.10.0.10 Local 10.10.0.1 to Remote 10.10.0.11 Local 10.10.0.1 to Remote 10.10.0.12 Local 10.10.0.2 to Remote 10.10.0.5 Local 10.10.0.2 to Remote 10.10.0.6 Local 10.10.0.2 to Remote 10.10.0.7 Local 10.10.0.2 to Remote 10.10.0.8 Local 10.10.0.2 to Remote 10.10.0.9 Local 10.10.0.2 to Remote 10.10.0.10 Local 10.10.0.2 to Remote 10.10.0.11 Local 10.10.0.2 to Remote 10.10.0.12 Local 10.10.0.3 to Remote 10.10.0.5 Local 10.10.0.3 to Remote 10.10.0.6 Local 10.10.0.3 to Remote 10.10.0.7 Local 10.10.0.3 to Remote 10.10.0.8 Local 10.10.0.3 to Remote 10.10.0.9 Local 10.10.0.3 to Remote 10.10.0.10 Local 10.10.0.3 to Remote 10.10.0.11 Local 10.10.0.3 to Remote 10.10.0.12 Local 10.10.0.4 to Remote 10.10.0.5 Local 10.10.0.4 to Remote 10.10.0.6 Local 10.10.0.4 to Remote 10.10.0.7 Local 10.10.0.4 to Remote 10.10.0.8 Local 10.10.0.4 to Remote 10.10.0.9 Local 10.10.0.4 to Remote 10.10.0.10 Local 10.10.0.4 to Remote 10.10.0.11 Local 10.10.0.4 to Remote 10.10.0.12 Larger than PMTU communication succeeds on 32 path(s) RPC status: 8 paths up, 0 paths down (tcp check) 8 paths up, 0 paths down (udp check)
步驟4:確認所有連接埠和LIF均已正確移轉
-
輸入下列命令、顯示組態中的裝置相關資訊:
您可以任意順序執行下列命令:
-
「網路裝置探索秀」
-
「網路連接埠show -role cluster」
-
「網路介面show -role cluster」
-
「系統叢集交換器顯示」
顯示範例
cluster::> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e0a C1 Ethernet1/1/1 N3K-C3232C e0b C2 Ethernet1/1/1 N3K-C3232C e0c C2 Ethernet1/1/2 N3K-C3232C e0d C1 Ethernet1/1/2 N3K-C3232C n2 /cdp e0a C1 Ethernet1/1/3 N3K-C3232C e0b C2 Ethernet1/1/3 N3K-C3232C e0c C2 Ethernet1/1/4 N3K-C3232C e0d C1 Ethernet1/1/4 N3K-C3232C n3 /cdp e4a C1 Ethernet1/7 N3K-C3232C e4e C2 Ethernet1/7 N3K-C3232C n4 /cdp e4a C1 Ethernet1/8 N3K-C3232C e4e C2 Ethernet1/8 N3K-C3232C 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 --------- ------------ ---------------- ---- ---- ----------- -------- ----- e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - Node: n2 Ignore Speed(Mbps) Health Health Port IPspace Broadcast Domain Link MTU Admin/Oper Status Status --------- ------------ ---------------- ---- ---- ----------- -------- ----- e0a Cluster Cluster up 9000 auto/10000 - e0b Cluster Cluster up 9000 auto/10000 - e0c Cluster Cluster up 9000 auto/10000 - e0d Cluster Cluster up 9000 auto/10000 - Node: n3 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: n4 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 - cluster::*> network interface show -role cluster Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home ----------- ---------- ---------- ------------------ ------------- ------- ---- Cluster nm1_clus1 up/up 10.10.0.1/24 n1 e0a true n1_clus2 up/up 10.10.0.2/24 n1 e0b true n1_clus3 up/up 10.10.0.3/24 n1 e0c true n1_clus4 up/up 10.10.0.4/24 n1 e0d true n2_clus1 up/up 10.10.0.5/24 n2 e0a true n2_clus2 up/up 10.10.0.6/24 n2 e0b true n2_clus3 up/up 10.10.0.7/24 n2 e0c true n2_clus4 up/up 10.10.0.8/24 n2 e0d true n3_clus1 up/up 10.10.0.9/24 n3 e4a true n3_clus2 up/up 10.10.0.10/24 n3 e4e true n4_clus1 up/up 10.10.0.11/24 n4 e4a true n4_clus2 up/up 10.10.0.12/24 n4 e4e true cluster::*> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- CL1 cluster-network 10.10.1.101 NX3232C Serial Number: FOX000001 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP CL2 cluster-network 10.10.1.102 NX3232C Serial Number: FOX000002 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP C2 cluster-network 10.10.1.103 NX3232C Serial Number: FOX000003 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP 3 entries were displayed.
-
-
如果所更換的叢集交換器CL2尚未自動移除、請將其刪除:
「系統叢集交換器刪除裝置叢集交換器名稱」
-
確認已監控適當的叢集交換器:
「系統叢集交換器顯示」
顯示範例
以下範例顯示叢集交換器受到監控、因為「受監控」狀態為「真」。
cluster::> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- CL1 cluster-network 10.10.1.101 NX3232C Serial Number: FOX000001 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP C2 cluster-network 10.10.1.103 NX3232C Serial Number: FOX000002 Is Monitored: true Reason: None Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP
-
啟用叢集交換器健全狀況監視器記錄收集功能、以收集交換器相關的記錄檔:
「系統叢集交換器記錄設定密碼」
「系統叢集交換器記錄啟用收集」
顯示範例
cluster::*> system cluster-switch log setup-password Enter the switch name: <return> The switch name entered is not recognized. Choose from the following list: CL1 C2 cluster::*> system cluster-switch log setup-password Enter the switch name: CL1 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> cluster::*> system cluster-switch log setup-password Enter the switch name: C2 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> cluster::*> system cluster-switch log enable-collection Do you want to enable cluster log collection for all nodes in the cluster? {y|n}: [n] y Enabling cluster switch log collection. cluster::*>
如果這些命令中有任何一個出現錯誤、請聯絡NetApp支援部門。
-
如果您禁止自動建立個案、請叫用AutoSupport 下列訊息來重新啟用:
「系統節點AutoSupport 不完整地叫用節點*-type all -most MAn=end」