準備從 Nexus 5596 交換器移轉至 Nexus 3132Q-V 交換器
請依照下列步驟準備 Cisco Nexus 5596 交換器,以便移轉至 Cisco Nexus 3132Q-V 交換器。
-
如果AutoSupport 此叢集啟用了「支援功能」、請叫用AutoSupport 「系統節點AutoSupport 支援功能叫用節點*-type all -most MAn=xh」訊息來禁止自動建立案例
_x_是維護時段的持續時間(以小時為單位)。
此訊息會通知技術支援人員此維護工作、以便在維護期間禁止自動建立案例。 -
顯示組態中裝置的相關資訊:
「網路裝置探索秀」
顯示範例
以下範例顯示每個叢集互連交換器的每個節點已設定多少個叢集互連介面:
cluster::> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e0a CL1 Ethernet1/1 N5K-C5596UP e0b CL2 Ethernet1/1 N5K-C5596UP e0c CL2 Ethernet1/2 N5K-C5596UP e0d CL1 Ethernet1/2 N5K-C5596UP n2 /cdp e0a CL1 Ethernet1/3 N5K-C5596UP e0b CL2 Ethernet1/3 N5K-C5596UP e0c CL2 Ethernet1/4 N5K-C5596UP e0d CL1 Ethernet1/4 N5K-C5596UP 8 entries were displayed.
-
判斷每個叢集介面的管理或作業狀態:
-
顯示網路連接埠屬性:
「網路連接埠展示」
顯示範例
下列範例顯示系統上的網路連接埠屬性:
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 - - 8 entries were displayed.
-
顯示有關邏輯介面的資訊:+「network interface show」
顯示範例
以下範例顯示系統上所有生命生命的一般資訊:
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 8 entries were displayed.
-
顯示探索到的叢集交換器相關資訊:+「系統叢集交換器顯示」
顯示範例
以下範例顯示叢集已知的叢集交換器及其管理IP位址:
cluster::*> system cluster-switch show Switch Type Address Model ----------------------------- ------------------ --------------- --------------- CL1 cluster-network 10.10.1.101 NX5596 Serial Number: 01234567 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.1(1)N1(1) Version Source: CDP CL2 cluster-network 10.10.1.102 NX5596 Serial Number: 01234568 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.1(1)N1(1) Version Source: CDP 2 entries were displayed.
-
-
在兩個節點上、將叢集lifs clus1和clus2上的「-aut-revert」參數設為「假」:
網路介面修改
顯示範例
cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert false cluster::*> network interface modify -vserver node1 -lif clus2 -auto-revert false cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert false cluster::*> network interface modify -vserver node2 -lif clus2 -auto-revert false
-
根據您的需求、確認新的31382Q-V交換器上已安裝適當的RCF和映像、並進行必要的站台自訂、例如使用者和密碼、網路位址等。
此時您必須準備兩個交換器。如果您需要升級RCF和映像、請遵循下列步驟:
-
前往 "Cisco乙太網路交換器" 頁面。
-
請在該頁的表格中記下您的交換器和所需的軟體版本。
-
下載適當版本的RCF。
-
在 * 說明 * 頁面上選取 * 繼續 * ,接受授權合約,然後依照 * 下載 * 頁面上的指示下載 RCF 。
-
下載適當版本的映像軟體。
請參閱 ONTAP 8.x 或更新版本的叢集與管理網路交換器參考組態檔案 __Download 頁面,然後選取適當的版本。
若要尋找正確版本、請參閱「叢ONTAP 集網路交換器下載」頁面_。
-
-
移轉與第二台要更換的Nexus 5596交換器相關的生命週期:
網路介面移轉
顯示範例
以下範例顯示n1和n2、但必須在所有節點上執行LIF移轉:
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 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 8 entries were displayed.
-
關閉實體連接至交換器CL2的叢集互連連接埠:
網路連接埠修改
顯示範例
下列命令會關閉n1和n2上的指定連接埠、但必須關閉所有節點上的連接埠:
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
-
驗證遠端叢集介面的連線能力:
您可以使用 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 ------ -------------------------- --------------- ----------------- ----------- n1 3/5/2022 19:21:18 -06:00 n1_clus2 n2_clus1 none 3/5/2022 19:21:20 -06:00 n1_clus2 n2_clus2 none n2 3/5/2022 19:21:18 -06:00 n2_clus2 n1_clus1 none 3/5/2022 19:21:20 -06:00 n2_clus2 n1_clus2 none
對於所有 ONTAP 版本、您也可以使用 cluster ping-cluster -node <name>
檢查連線能力的命令:
cluster ping-cluster -node <name>
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 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 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 16 path(s) Basic connectivity fails on 0 path(s) ................ Detected 1500 byte MTU on 16 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.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.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.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 Larger than PMTU communication succeeds on 16 path(s) RPC status: 4 paths up, 0 paths down (tcp check) 4 paths up, 0 paths down (udp check)
-
關閉作用中 Nexus 5596 交換器 CL1 上的 ISL 連接埠 41 到 48 :
顯示範例
下列範例顯示如何關閉Nexus 5596交換器CL1上的ISL連接埠41至48:
(CL1)# configure (CL1)(Config)# interface e1/41-48 (CL1)(config-if-range)# shutdown (CL1)(config-if-range)# exit (CL1)(Config)# exit (CL1)#
如果您要更換Nexus 5010或5020、請為ISL指定適當的連接埠號碼。
-
在CL1和C2之間建置暫時ISL。
顯示範例
以下範例顯示CL1和C2之間正在設定的暫用ISL:
C2# configure C2(config)# interface port-channel 2 C2(config-if)# switchport mode trunk C2(config-if)# spanning-tree port type network C2(config-if)# mtu 9216 C2(config-if)# interface breakout module 1 port 24 map 10g-4x C2(config)# interface e1/24/1-4 C2(config-if-range)# switchport mode trunk C2(config-if-range)# mtu 9216 C2(config-if-range)# channel-group 2 mode active C2(config-if-range)# exit C2(config-if)# exit