CN1610 クラスタ スイッチをCisco Nexus 3232C クラスタ スイッチに移行する
クラスタ内の既存の CN1610 クラスタ スイッチをCisco Nexus 3232C クラスタ スイッチに置き換えるには、特定の一連のタスクを実行する必要があります。
要件の確認
移行前に必ず確認してください"移行要件"。
|
|
この手順では、ONTAPコマンドとCisco Nexus 3000シリーズ スイッチ コマンドの両方を使用する必要があります。特に明記されていないかぎり、ONTAPコマンドを使用します。 |
必要に応じて、詳細については以下を参照してください。
スイッチを移行する
この手順の例では、4 つのノードを使用します。2 つのノードは、4 つの 10 GbE クラスタ相互接続ポート (e0a、e0b、e0c、e0d) を使用します。他の 2 つのノードは、2 本の 40 GbE クラスター相互接続ファイバー ケーブル (e4a と e4e) を使用します。その"ハードウェアユニバース"プラットフォーム上のクラスター ファイバー ケーブルに関する情報が記載されています。見る "HWU にない機器をインストールするには、どのような追加情報が必要ですか?" スイッチのインストール要件の詳細については、こちらをご覧ください。
この手順の例で使用するスイッチとノードの名前は次のとおりです。
-
ノードは n1、n2、n3、n4 です。
-
コマンド出力は、 ONTAPソフトウェアのリリースによって異なる場合があります。
-
交換する CN1610 スイッチは CL1 と CL2 です。
-
CN1610 スイッチを置き換える Nexus 3232C スイッチは C1 と C2 です。
-
n1_clus1 は、ノード n1 のクラスタ スイッチ 1 (CL1 または C1) に接続されている最初のクラスタ論理インターフェイス (LIF) です。
-
n1_clus2 は、ノード n1 のクラスタ スイッチ 2 (CL2 または C2) に接続されている最初のクラスタ LIF です。
-
n1_clus3 は、ノード n1 のクラスタ スイッチ 2 (CL2 または C2) に接続されている 2 番目の LIF です。
-
n1_clus4 は、ノード n1 のクラスタ スイッチ 1 (CL1 または C1) に接続されている 2 番目の LIF です。
-
10 GbEおよび40/100 GbEポートの数は、次のURLで入手可能なリファレンス構成ファイル(RCF)で定義されています。"Cisco® クラスタ ネットワーク スイッチ リファレンス コンフィギュレーション ファイルのダウンロード" 。
ステップ1: 移行の準備
-
このクラスタでAutoSupportが有効になっている場合は、AutoSupportメッセージを呼び出してケースの自動作成を抑制します。
system node autosupport invoke -node * -type all -message MAINT=xhx はメンテナンス ウィンドウの期間 (時間単位) です。
このメッセージは、このメンテナンス タスクをテクニカル サポートに通知し、メンテナンス ウィンドウ中の自動ケース作成を抑制します。
-
構成内のデバイスに関する情報を表示します。
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 -role cluster例を表示
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 -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 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 displayed. -
-
要件に応じて適切な RCF とイメージが新しい 3232C スイッチにインストールされていることを確認し、必要なサイトのカスタマイズを行います。
この時点で両方のスイッチを準備する必要があります。 RCF とイメージをアップグレードする必要がある場合は、次の手順を実行する必要があります。
-
見る"Ciscoイーサネット スイッチ"NetAppサポート サイトをご覧ください。
-
そのページの表で、スイッチと必要なソフトウェア バージョンを書き留めてください。
-
適切なバージョンの RCF をダウンロードします。
-
説明 ページで 続行 をクリックし、ライセンス契約に同意してから、ダウンロード ページの指示に従って RCF をダウンロードします。
-
適切なバージョンのイメージソフトウェアをダウンロードしてください。"Cisco® クラスタおよび管理ネットワーク スイッチ リファレンス コンフィギュレーション ファイルのダウンロード" 。
-
-
交換する予定の 2 番目の CN1610 スイッチに関連付けられている LIF を移行します。
network interface migrate -vserver vserver-name -lif lif-name -source-node source-node-name destination-node destination-node-name -destination-port destination-port-name例を表示
次の例に示すように、各 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
-
クラスターの健全性を確認します。
network interface 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 8 entries were displayed.
ステップ2: クラスタスイッチCL2をC2に置き換える
-
スイッチ CL2 に物理的に接続されているクラスタ相互接続ポートをシャットダウンします。
network port modify -node node-name -port port-name -up-admin false例を表示
次の例は、ノード n1 とノード n2 の 4 つのクラスタ相互接続ポートがシャットダウンされていることを示しています。
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>
cluster1::*> cluster ping-cluster -node local
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 9000 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をシャットダウンします。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、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 を構築します。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、 Ciscoを使用してCL1(ポート13-16)とC2(ポートe1/24/1-4)の間に一時的なISLを構築する方法を示しています。 `switchport mode trunk`指示:
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
-
すべてのノードの CN1610 スイッチ CL2 に接続されているケーブルを取り外します。
サポートされているケーブルを使用して、すべてのノード上の切断されたポートを Nexus 3232C スイッチ C2 に再接続する必要があります。
-
CN1610 スイッチ CL1 のポート 13 ~ 16 から 4 本の ISL ケーブルを取り外します。
新しいCisco 3232C スイッチ C2 のポート 1/24 を既存の CN1610 スイッチ CL1 のポート 13 ~ 16 に接続する適切なCisco QSFP28 から SFP+ へのブレークアウト ケーブルを接続する必要があります。
新しいCisco 3232C スイッチにケーブルを再接続する場合、使用するケーブルは光ファイバー ケーブルまたはCisco Twinax ケーブルのいずれかである必要があります。
-
アクティブ CN1610 スイッチの ISL インターフェイス 3/1 を設定して静的モードを無効にし、ISL を動的にします。
この構成は、両方のスイッチで ISL が起動されたときに、3232C スイッチ C2 の ISL 構成と一致します。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、ISL を動的にするように ISL インターフェイス 3/1 が設定されていることを示しています。
(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 を起動します。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、ポート チャネル インターフェイス 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 で。
「リンク状態」は
Up「タイプ」はDynamic「ポートアクティブ」列は `True`ポート 0/13 ~ 0/16 用。例を表示
次の例では、ISLが次のように検証されています。
upCN1610スイッチCL1の場合:(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`3232CスイッチC2の場合:
show port-channel summaryCiscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
ポートEth1/24/1からEth1/24/4は次のように表示される。 `(P)`つまり、ポート チャネル内の 4 つの ISL ポートすべてがアップ状態になります。 Eth1/31とEth1/32は `(D)`接続されていないためです。
例を表示
次の例では、ISLが次のように検証されています。
up3232CスイッチC2の場合: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) -
すべてのノード上の 3232C スイッチ C2 に接続されているすべてのクラスタ相互接続ポートを起動します。
network port modify -node node-name -port port-name -up-admin true例を表示
次の例は、3232C スイッチ 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 -vserver cluster -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
-
すべてのクラスタ相互接続ポートがホーム ポートに戻されていることを確認します。
network interface show -role cluster例を表示
次の例は、clus2のLIFがホームポートに戻されたことを示しています。「現在のポート」列のポートのステータスが
true「ホーム」列に表示されます。 「Is Home」の値が `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 -role cluster例を表示
次の例は、すべてのクラスタ相互接続が
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 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>
cluster1::*> cluster ping-cluster -node local
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 9000 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に関連付けられているLIFを移行します。
network interface migrate -vserver cluster -lif lif-name -source-node node-name例を表示
次の例に示すように、各クラスタ LIF をクラスタ スイッチ C2 でホストされている適切なクラスタ ポートに個別に移行する必要があります。
cluster::*> network interface migrate -vserver cluster -lif n1_clus1 -source-node n1 -destination-node n1 -destination-port e0b cluster::*> network interface migrate -vserver cluster -lif n1_clus4 -source-node n1 -destination-node n1 -destination-port e0c cluster::*> network interface migrate -vserver cluster -lif n2_clus1 -source-node n2 -destination-node n2 -destination-port e0b cluster::*> network interface migrate -vserver cluster -lif n2_clus4 -source-node n2 -destination-node n2 -destination-port e0c
ステップ3: クラスタスイッチCL1をC1に置き換える
-
クラスターのステータスを確認します。
network interface show -role cluster例を表示
次の例は、必要なクラスタ 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 -node node-name -port port-name -up-admin false例を表示
次の例は、ノード 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
-
アクティブ 3232C スイッチ C2 の ISL ポート 24、31、および 32 をシャットダウンします。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、アクティブな 3232C スイッチ 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 3232C スイッチ C1 に再接続する必要があります。
-
Nexus 3232C C2 ポート e1/24 から QSFP28 ケーブルを取り外します。
サポートされているCisco QSFP28 光ファイバ ケーブルまたは直接接続ケーブルを使用して、C1 のポート e1/31 および e1/32 を C2 のポート e1/31 および e1/32 に接続する必要があります。
-
ポート 24 の設定を復元し、C2 の一時ポート チャネル 2 を削除します。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、 `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 100GbE/40GbE Node Port C2(config-if)# spanning-tree port type edge Edge port type (portfast) should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc... to this interface when edge port type (portfast) is enabled, can cause temporary bridging loops. Use with CAUTION Edge Port Type (Portfast) has been configured on Ethernet 1/24 but will only have effect when the interface is in a non-trunking mode. 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.
-
アクティブ 3232C スイッチ C2 の ISL ポート 31 と 32 を起動します。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、ISL 31 および 32 が 3232C スイッチ C2 に導入されていることを示しています。
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.
-
ISL接続が `up`3232C スイッチ C2 で。
Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス" 。
例を表示
次の例は、検証されている ISL 接続を示しています。ポート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) 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) -
すべてのノードで、新しい 3232C スイッチ C1 に接続されているすべてのクラスタ相互接続ポートを起動します。
network port modify -node node-name -port port-name -up-admin true例を表示
次の例は、起動中の新しい 3232C スイッチ 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 -role cluster例を表示
次の例は、新しい3232Cスイッチ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.
ステップ4: 手順を完了する
-
すべてのノードで、元々 C1 に接続されていた移行されたクラスタ相互接続 LIF をすべて元に戻します。
network interface revert -server cluster -lif lif-name例を表示
次の例に示すように、各 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 -role cluster例を表示
次の例は、クラスタ相互接続インターフェースのステータスを示しています。 `up`ノードn1とn2は「Is Home」です。
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 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>
cluster1::*> cluster ping-cluster -node local
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 9000 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)
3 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例を表示
次の例は、両方の Nexus 3232C クラスタ スイッチで、それぞれポート e1/7 と e1/8 に接続された 40 GbE クラスタ ポートを持つノード n3 と n4 を示しています。両方のノードがクラスターに参加しています。使用される 40 GbE クラスタ相互接続ポートは e4a と e4e です。
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 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 NX3232C Serial Number: FOX000001 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP C2 cluster-network 10.10.1.104 NX3232C Serial Number: FOX000002 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(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 -device switch-name例を表示
次の例に示すように、両方のデバイスを個別に削除する必要があります。
cluster::> system cluster-switch delete –device CL1 cluster::> system cluster-switch delete –device CL2
-
適切なクラスタ スイッチが監視されていることを確認します。
system cluster-switch show例を表示
次の例は、クラスタ スイッチ C1 と C2 が監視されていることを示しています。
cluster::> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- C1 cluster-network 10.10.1.103 NX3232C Serial Number: FOX000001 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP C2 cluster-network 10.10.1.104 NX3232C Serial Number: FOX000002 Is Monitored: true Reason: Software Version: Cisco Nexus Operating System (NX-OS) Software, Version 7.0(3)I6(1) Version Source: CDP 2 entries were displayed. -
自動ケース作成を抑制した場合は、 AutoSupportメッセージを呼び出して再度有効にします。
system node autosupport invoke -node * -type all -message MAINT=END