將 CN1610 叢集交換器遷移到Cisco Nexus 3132Q-V 叢集交換機
請依照下列步驟將現有的 CN1610 叢集交換器替換為Cisco Nexus 3132Q-V 叢集交換器。
審查要求
請查看NetApp CN1610 的要求。"更換Cisco Nexus 3132Q-V 群集交換器的要求" 。
有關詳細信息,請參閱:For more information, see:
更換開關
本流程中的範例使用以下開關和節點命名規則:
-
命令輸出可能因ONTAP軟體版本不同而有所差異。
-
需要更換的 CN1610 交換器是 CL1 和 CL2。
-
用於取代 CN1610 交換器的 Nexus 3132Q-V 交換器是 C1 和 C2。
-
n1_clus1 是連接到節點 n1 的叢集交換器 1 (CL1 或 C1) 的第一個叢集邏輯介面 (LIF)。
-
n1_clus2 是連接到節點 n1 的叢集交換器 2 (CL2 或 C2) 的第一個叢集 LIF。
-
n1_clus3 是連接到節點 n1 的叢集交換器 2 (CL2 或 C2) 的第二個 LIF。
-
n1_clus4 是連接到節點 n1 的叢集交換器 1 (CL1 或 C1) 的第二個 LIF。
-
這些節點分別是 n1、n2、n3 和 n4。
-
10 GbE 和 40 GbE 連接埠的數量在參考設定檔 (RCF) 中定義,這些檔案可在以下位置取得:"Cisco叢集網路交換器參考設定檔下載" 。
本流程範例中使用了四個節點:
-
兩個節點使用四個 10 GbE 叢集互連連接埠:e0a、e0b、e0c 和 e0d。
-
另外兩個節點使用兩條 40 GbE 群集互連光纖電纜:e4a 和 e4e。
這"Hardware Universe"包含有關您平台上的叢集光纖電纜的資訊。
本流程涵蓋以下情況:
-
叢集由兩個節點組成,這兩個節點連接到兩個 CN1610 叢集交換器。
-
集群開關CL2將被C2取代。
-
連接到 CL2 的所有節點上的所有叢集連接埠和 LIF 的流量將遷移到連接到 CL1 的第一個叢集連接埠和 LIF 上。
-
斷開連接到 CL2 的所有節點上所有叢集連接埠的電纜,然後使用支援的分支電纜將連接埠重新連接到新的叢集交換器 C2。
-
斷開 ISL 連接埠 CL1 和 CL2 之間的電纜連接,然後使用支援的分支電纜將連接埠從 CL1 重新連接到 C2。
-
所有節點上連接到 C2 的所有叢集連接埠和 LIF 上的流量均被回滾。
-
-
集群開關CL1將被C1取代。
-
連接到 CL1 的所有節點上的所有叢集連接埠和 LIF 上的流量將遷移到連接到 C2 的第二個叢集連接埠和 LIF 上。
-
斷開連接到 CL1 的所有節點上所有叢集連接埠的電纜,然後使用支援的分支電纜將連接埠重新連接到新的叢集交換器 C1。
-
斷開 ISL 連接埠 CL1 和 C2 之間的電纜連接,然後使用支援的分支電纜將連接埠從 C1 重新連接到 C2。
-
所有遷移叢集連接埠和連接到所有節點上 C1 的 LIF 的流量都將恢復。
-
|
|
流程需要同時使用ONTAP指令和Cisco Nexus 3000 系列交換器指令;除非另有說明,否則使用ONTAP指令。 |
第一步:準備更換
-
如果此叢集上啟用了AutoSupport ,則透過呼叫AutoSupport訊息來抑制自動建立案例:
system node autosupport invoke -node * -type all - message MAINT=xhx 是維護視窗的持續時間,單位為小時。
AutoSupport訊息會通知技術支援此維護任務,以便在維護視窗期間抑制自動建立案例。 -
顯示配置中設備的資訊:
network device-discovery show顯示範例
以下範例顯示了每個節點上每個叢集互連交換器配置的叢集互連連接口數量:
cluster::> network device-discovery show Local Discovered Node Port Device Interface Platform ------ ------ ------------ ----------- ---------- n1 /cdp e0a CL1 0/1 CN1610 e0b CL2 0/1 CN1610 e0c CL2 0/2 CN1610 e0d CL1 0/2 CN1610 n2 /cdp e0a CL1 0/3 CN1610 e0b CL2 0/3 CN1610 e0c CL2 0/4 CN1610 e0d CL1 0/4 CN1610 8 entries were displayed. -
確定每個叢集介面的管理或運作狀態。
-
顯示集群網路連接埠屬性:
network port show顯示範例
以下範例顯示系統上的網路連接埠屬性:
cluster::*> network port show -role Cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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顯示範例
以下範例顯示系統中所有 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 8 entries were displayed. -
顯示已發現的群集交換器的相關資訊:
system cluster-switch show
顯示範例
以下範例顯示了叢集已知的叢集交換器及其管理 IP 位址:
cluster::> system cluster-switch show Switch Type Address Model ----------------------------- ---------------- ------------- -------- CL1 cluster-network 10.10.1.101 CN1610 Serial Number: 01234567 Is Monitored: true Reason: Software Version: 1.2.0.7 Version Source: ISDP CL2 cluster-network 10.10.1.102 CN1610 Serial Number: 01234568 Is Monitored: true Reason: Software Version: 1.2.0.7 Version Source: ISDP 2 entries were displayed. -
-
設定 `-auto-revert`在兩個節點上,將叢集 LIF clus1 和 clus4 的參數設定為 false:
network interface modify顯示範例
cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert false cluster::*> network interface modify -vserver node1 -lif clus4 -auto-revert false cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert false cluster::*> network interface modify -vserver node2 -lif clus4 -auto-revert false
-
確認新的 3132Q-V 交換器上已根據您的要求安裝了相應的 RCF 和映像,並進行任何必要的網站自訂,例如使用者和密碼、網路位址等。
此時您必須準備好這兩個開關。如果需要升級 RCF 和鏡像,請依照下列步驟操作:
-
看"Cisco乙太網路交換機"在NetApp支援網站上。
-
請記下您交換器的型號以及該頁表格中所需的軟體版本。
-
下載相應版本的RCF。
-
在“描述”頁面上點擊“繼續”,接受許可協議,然後按照“下載”頁面上的說明下載 RCF。
-
下載對應版本的影像處理軟體。
-
-
遷移與待替換的第二台 CN1610 交換器相關的 LIF:
network interface migrate您必須透過服務處理器或節點管理接口,從與節點的連接遷移群集 LIF,該連接擁有要遷移的群集 LIF。
顯示範例
以下範例顯示了 n1 和 n2,但 LIF 遷移必須在所有節點上執行:
cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -destination-node n1 -destination-port e0a cluster::*> network interface migrate -vserver Cluster -lif n1_clus3 -destination-node n1 -destination-port e0d cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -destination-node n2 -destination-port e0a cluster::*> network interface migrate -vserver Cluster -lif n2_clus3 -destination-node n2 -destination-port e0d
-
驗證集群健康狀況:
network interface show顯示範例
以下範例展示了前一個結果。 `network interface migrate`命令:
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 實體連線的叢集互連連接埠:
network port modify顯示範例
以下命令關閉 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 n1_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)
-
關閉活動 CN1610 交換器 CL1 上的 ISL 連接埠 13 至 16:
shutdown顯示範例
以下範例展示如何關閉 CN1610 交換器 CL1 上的 ISL 連接埠 13 至 16:
(CL1)# configure (CL1)(Config)# interface 0/13-0/16 (CL1)(Interface 0/13-0/16)# shutdown (CL1)(Interface 0/13-0/16)# exit (CL1)(Config)# exit (CL1)#
-
在 CL1 和 C2 之間建立臨時 ISL:
顯示範例
以下範例在 CL1(連接埠 13-16)和 C2(連接埠 e1/24/1-4)之間建立臨時 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
步驟 2:設定埠
-
在所有節點上,拆下連接到 CN1610 交換器 CL2 的電纜。
使用支援的佈線,您必須將所有節點上斷開的連接埠重新連接到 Nexus 3132Q-V 交換器 C2。
-
從 CN1610 交換器 CL1 的 13 至 16 號連接埠移除四條 ISL 纜線。
您必須將適當的Cisco QSFP 轉 SFP+ 分支電纜連接到新的Cisco 3132Q-V 交換器 C2 的連接埠 1/24 和現有 CN1610 交換器 CL1 的連接埠 13 至 16。
將任何電纜重新連接到新的Cisco 3132Q-V 交換器時,必須使用光纖或Cisco雙絞線電纜。 -
若要使 ISL 動態化,請將活動 CN1610 交換器上的 ISL 介面 3/1 設定為停用靜態模式:
no port-channel static此設定與步驟 11 中在兩台交換器上啟動 ISL 時 3132Q-V 交換器 C2 上的 ISL 設定相符。
顯示範例
以下範例展示如何使用下列方式設定 ISL 介面 3/1: `no port-channel static`使 ISL 動態化的命令:
(CL1)# configure (CL1)(Config)# interface 3/1 (CL1)(Interface 3/1)# no port-channel static (CL1)(Interface 3/1)# exit (CL1)(Config)# exit (CL1)#
-
在活動的 CN1610 交換器 CL1 上啟動 ISL 13 至 16。
顯示範例
以下範例說明了在連接埠通道介面 3/1 上啟動 ISL 連接埠 13 至 16 的過程:
(CL1)# configure (CL1)(Config)# interface 0/13-0/16,3/1 (CL1)(Interface 0/13-0/16,3/1)# no shutdown (CL1)(Interface 0/13-0/16,3/1)# exit (CL1)(Config)# exit (CL1)#
-
確認 ISL 是否為 `up`在 CN1610 交換器 CL1 上:
show port-channel「鏈路狀態」應為
Up「類型」應為 `Dynamic`且「連接埠活動」列應為: `True`埠 0/13 至 0/16:顯示範例
(CL1)# show port-channel 3/1 Local Interface................................ 3/1 Channel Name................................... ISL-LAG Link State..................................... Up Admin Mode..................................... Enabled Type........................................... Dynamic Load Balance Option............................ 7 (Enhanced hashing mode) Mbr Device/ Port Port Ports Timeout Speed Active ------ ------------- ---------- ------- 0/13 actor/long 10 Gb Full True partner/long 0/14 actor/long 10 Gb Full True partner/long 0/15 actor/long 10 Gb Full True partner/long 0/16 actor/long 10 Gb Full True partner/long -
確認 ISL 是否為 `up`在 3132Q-V 開關 C2 上:
show port-channel summary顯示範例
連接埠 Eth1/24/1 至 Eth1/24/4 應指示 `(P)`這意味著所有四個 ISL 連接埠都在連接埠通道中運作。 Eth1/31 和 eth1/32 應表示 `(D)`因為它們之間沒有關聯:
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(D) Eth1/32(D) 2 Po2(SU) Eth LACP Eth1/24/1(P) Eth1/24/2(P) Eth1/24/3(P) Eth1/24/4(P) -
在所有節點上啟用連接到 3132Q-V 交換器 C2 的所有叢集互連連接埠:
network port modify顯示範例
以下範例展示如何啟動連接至 3132Q-V 交換器 C2 的叢集互連連接埠:
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
-
撤銷所有已遷移的、連接到所有節點上 C2 的叢集互連 LIF:
network interface revert顯示範例
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
-
確認所有叢集互連連接埠都已恢復到其原始連接埠:
network interface show顯示範例
以下範例表明 clus2 上的 LIF 已恢復到其來源端口,並且如果“當前端口”列中的端口狀態為“已恢復”,則表示 LIF 已成功恢復。 `true`在「是否在家」一欄。如果房屋價值是 `false`那麼 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 8 entries were displayed. -
確認叢集所有連接埠均已連線:
network port show顯示範例
以下範例展示了前一個結果。
network port modify`指令,驗證所有群集互連是否都已連接 `up:cluster::*> network port show -role Cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 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 n1_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)
-
在叢集中的每個節點上,遷移與第一個待替換的 CN1610 交換器 CL1 關聯的介面:
network interface migrate顯示範例
以下範例顯示了節點 n1 和 n2 上正在遷移的連接埠或 LIF:
cluster::*> network interface migrate -vserver Cluster -lif n1_clus1 -destination-node n1 -destination-port e0b cluster::*> network interface migrate -vserver Cluster -lif n1_clus4 -destination-node n1 -destination-port e0c cluster::*> network interface migrate -vserver Cluster -lif n2_clus1 -destination-node n2 -destination-port e0b cluster::*> network interface migrate -vserver Cluster -lif n2_clus4 -destination-node n2 -destination-port e0c
-
驗證叢集狀態:
network interface show顯示範例
以下範例表明,所需的叢集 LIF 已遷移到叢集交換器 C2 上託管的相應叢集連接埠:
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 e0b false 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 e0c false n2_clus1 up/up 10.10.0.5/24 n2 e0b false 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 e0c false 8 entries were displayed. -
關閉所有節點上連接到 CL1 的節點連接埠:
network port modify顯示範例
以下範例顯示如何關閉節點 n1 和 n2 上的指定連接埠:
cluster::*> network port modify -node n1 -port e0a -up-admin false cluster::*> network port modify -node n1 -port e0d -up-admin false cluster::*> network port modify -node n2 -port e0a -up-admin false cluster::*> network port modify -node n2 -port e0d -up-admin false
-
關閉活動 3132Q-V 交換器 C2 上的 ISL 連接埠 24、31 和 32:
shutdown顯示範例
以下範例顯示如何關閉活動 3132Q-V 交換器 C2 上的 ISL 24、31 和 32:
C2# configure C2(config)# interface ethernet 1/24/1-4 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# interface ethernet 1/31-32 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# exit C2#
-
拆下所有節點上連接到 CN1610 交換器 CL1 的電纜。
使用支援的佈線,您必須將所有節點上斷開的連接埠重新連接到 Nexus 3132Q-V 交換器 C1。
-
從 Nexus 3132Q-V C2 連接埠 e1/24 移除 QSFP 纜線。
您必須使用支援的Cisco QSFP 光纖或直連接線將 C1 上的 e1/31 和 e1/32 連接埠連接到 C2 上的 e1/31 和 e1/32 連接埠。
-
恢復連接埠 24 的配置,並透過複製以下內容刪除 C2 上的臨時連接埠通道 2: `running-configuration`文件到 `startup-configuration`文件。
顯示範例
以下範例複製了 `running-configuration`文件到 `startup-configuration`文件:
C2# configure C2(config)# no interface breakout module 1 port 24 map 10g-4x C2(config)# no interface port-channel 2 C2(config-if)# interface e1/24 C2(config-if)# description 40GbE Node Port C2(config-if)# spanning-tree port type edge C2(config-if)# spanning-tree bpduguard enable C2(config-if)# mtu 9216 C2(config-if-range)# exit C2(config)# exit C2# copy running-config startup-config [########################################] 100% Copy Complete.
-
在 C2(活動的 3132Q-V 交換器)上啟用 ISL 連接埠 31 和 32:
no shutdown顯示範例
以下範例展示如何在 3132Q-V 交換器 C2 上啟動 ISL 31 和 32:
C2# configure C2(config)# interface ethernet 1/31-32 C2(config-if-range)# no shutdown C2(config-if-range)# exit C2(config)# exit C2# copy running-config startup-config [########################################] 100% Copy Complete.
步驟 3:驗證配置
-
確認 ISL 連線是否正常 `up`在 3132Q-V 開關 C2 上:
show port-channel summary連接埠 Eth1/31 和 Eth1/32 應指示 `(P)`這意味著兩個 ISL 連接埠都是 `up`在連接埠通道中。
顯示範例
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 ------------------------------------------------------------------------------ Group Port- Type Protocol Member Ports Channel ------------------------------------------------------------------------------ 1 Po1(SU) Eth LACP Eth1/31(P) Eth1/32(P) -
在所有節點上啟用連接到新的 3132Q-V 交換器 C1 的所有叢集互連連接埠:
network port modify顯示範例
以下範例展示如何啟動連接到新的 3132Q-V 交換器 C1 的所有叢集互連連接埠:
cluster::*> network port modify -node n1 -port e0a -up-admin true cluster::*> network port modify -node n1 -port e0d -up-admin true cluster::*> network port modify -node n2 -port e0a -up-admin true cluster::*> network port modify -node n2 -port e0d -up-admin true
-
驗證叢集節點連接埠狀態:
network port show顯示範例
以下範例驗證了新的 3132Q-V 交換器 C1 上的 n1 和 n2 上的所有群集互連連接埠均已連線。
up:cluster::*> network port show -role Cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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. -
撤銷所有已遷移的叢集互連 LIF,這些 LIF 最初連接到所有節點上的 C1:
network interface revert顯示範例
以下範例展示如何將遷移後的叢集 LIF 還原到其原始連接埠:
cluster::*> network interface revert -vserver Cluster -lif n1_clus1 cluster::*> network interface revert -vserver Cluster -lif n1_clus4 cluster::*> network interface revert -vserver Cluster -lif n2_clus1 cluster::*> network interface revert -vserver Cluster -lif n2_clus4
-
請確認介面已連接到主伺服器:
network interface show顯示範例
以下範例顯示了叢集互連接口的狀態: `up`和 `Is home`對於 n1 和 n2:
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. -
驗證遠端集群介面的連接性:
你可以使用 `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 n1_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)
-
顯示配置中設備的資訊:
-
network device-discovery show -
network port show -role cluster -
network interface show -role cluster -
system cluster-switch show顯示範例
以下範例顯示了節點 n3 和 n4,它們分別透過 40 GbE 叢集連接埠連接到 Nexus 3132Q-V 叢集交換器的 e1/7 和 e1/8 端口,並且這兩個節點都已加入叢集。使用的 40 GbE 群集互連埠為 e4a 和 e4e。
cluster::*> network device-discovery show Local Discovered Node Port Device Interface Platform ------ ------ ------------ --------------- ------------- n1 /cdp e0a C1 Ethernet1/1/1 N3K-C3132Q-V e0b C2 Ethernet1/1/1 N3K-C3132Q-V e0c C2 Ethernet1/1/2 N3K-C3132Q-V e0d C1 Ethernet1/1/2 N3K-C3132Q-V n2 /cdp e0a C1 Ethernet1/1/3 N3K-C3132Q-V e0b C2 Ethernet1/1/3 N3K-C3132Q-V e0c C2 Ethernet1/1/4 N3K-C3132Q-V e0d C1 Ethernet1/1/4 N3K-C3132Q-V n3 /cdp e4a C1 Ethernet1/7 N3K-C3132Q-V e4e C2 Ethernet1/7 N3K-C3132Q-V n4 /cdp e4a C1 Ethernet1/8 N3K-C3132Q-V e4e C2 Ethernet1/8 N3K-C3132Q-V 12 entries were displayed.cluster::*> network port show -role cluster (network port show) Node: n1 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health 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 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health Status ----- --------- ---------- ----- ----- ------------ -------- ------------- e4a cluster cluster up 9000 auto/40000 - - e4e cluster cluster up 9000 auto/40000 - - Node: n4 Broadcast Speed (Mbps) Health Ignore Port IPspace Domain Link MTU Admin/Open Status Health Status ----- --------- ---------- ----- ----- ------------ -------- ------------- e4a cluster cluster up 9000 auto/40000 - - e4e cluster cluster up 9000 auto/40000 - - 12 entries were displayed.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 12 entries were displayed.cluster::> system cluster-switch show Switch Type Address Model --------------------------- ---------------- ------------- --------- C1 cluster-network 10.10.1.103 NX3132V Serial Number: FOX000001 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I4(1) Version Source: CDP C2 cluster-network 10.10.1.104 NX3132V Serial Number: FOX000002 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I4(1) Version Source: CDP CL1 cluster-network 10.10.1.101 CN1610 Serial Number: 01234567 Is Monitored: true Reason: Software Version: 1.2.0.7 Version Source: ISDP CL2 cluster-network 10.10.1.102 CN1610 Serial Number: 01234568 Is Monitored: true Reason: Software Version: 1.2.0.7 Version Source: ISDP 4 entries were displayed.
-
-
如果更換後的 CN1610 交換器沒有自動移除,請將其移除:
system cluster-switch delete顯示範例
以下範例展示如何拆卸 CN1610 開關:
cluster::> system cluster-switch delete -device CL1 cluster::> system cluster-switch delete -device CL2
-
配置叢集 clus1 和 clus4 為 `-auto-revert`在每個節點上確認:
顯示範例
cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert true cluster::*> network interface modify -vserver node1 -lif clus4 -auto-revert true cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert true cluster::*> network interface modify -vserver node2 -lif clus4 -auto-revert true
-
確認已對正確的群集交換器進行監控:
system cluster-switch show顯示範例
cluster::> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- C1 cluster-network 10.10.1.103 NX3132V Serial Number: FOX000001 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I4(1) Version Source: CDP C2 cluster-network 10.10.1.104 NX3132V Serial Number: FOX000002 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I4(1) Version Source: CDP 2 entries were displayed. -
如果您已停用自動建立案例,請透過呼叫AutoSupport訊息重新啟用它:
system node autosupport invoke -node * -type all -message MAINT=END