Cisco Nexus 3132Q-V クラスタスイッチを使用する 2 ノードスイッチクラスタの移行方法
2 ノードのスイッチレスクラスタを使用している場合は、 Cisco Nexus 3132Q-V クラスタネットワークスイッチを含む 2 ノードのスイッチクラスタに無停止で移行できます。
-
構成が適切にセットアップされ、機能している必要があります。
-
ノードで ONTAP 9.4 以降が実行されている必要があります。
-
すべてのクラスタポートは「 up 」状態である必要があります。
-
Cisco Nexus 3132Q-V クラスタスイッチがサポートされている必要があります。
-
既存のクラスタネットワーク構成には、次のものが必要です。
-
両方のスイッチで冗長性があり、完全に機能する Nexus 3132 クラスタインフラ。
スイッチにインストールされている最新の RCF および NX-OS バージョン
-
両方のスイッチで管理接続を使用します。
-
両方のスイッチへのコンソールアクセス
-
すべてのクラスタ LIF (論理インターフェイス)は、「 up 」状態のまま移行されません。
-
スイッチの初期カスタマイズ。
-
すべての ISL ポートが有効でケーブル接続されている。
-
この手順の例では、スイッチとノードで次の命名法を使用しています。
-
Nexus3132Q-V クラスタスイツチ、 C1 ト C2 。
-
ノードが n1 と n2 です。
|
この手順 の例では、 2 つのノードを使用し、それぞれ 40/100GbE クラスタインターコネクトポート e4A と e4e を使用しています。。 "Hardware Universe" プラットフォームのクラスタポートに関する詳細が表示されます。 |
-
n1_clus1 は、ノード n1 のクラスタスイッチ C1 に接続する最初のクラスタ論理インターフェイス( LIF )です。
-
n1_clus2 は、ノード n1 のクラスタスイッチ C2 に接続する最初のクラスタ LIF です。
-
n2_clus1 は、ノード n2 のクラスタスイッチ C1 に接続する最初のクラスタ LIF です。
-
n2_clus2 は、ノード n2 のクラスタスイッチ C2 に接続する 2 番目のクラスタ LIF です。
-
10GbE ポートと 40 / 100GbE ポートの数は、で使用可能なリファレンス構成ファイル( RCF )に定義されています "Cisco ® Cluster Network Switch Reference Configuration File Download ( Cisco ® クラスタネットワークスイッチリファレンス構成ファイルのダウンロード" ページ
|
手順 では、 ONTAP コマンドと Cisco Nexus 3000 シリーズスイッチコマンドの両方を使用する必要があります。特に明記されていないかぎり、 ONTAP コマンドを使用します。 |
-
このクラスタで AutoSupport が有効になっている場合は、 AutoSupport メッセージを呼び出してケースの自動作成を抑制します。
'system node AutoSupport invoke -node * -type all -message MAINT=xh`
x は、メンテナンス時間の長さ(時間単位)です。
AutoSupport メッセージはテクニカルサポートにこのメンテナンスタスクについて通知し、メンテナンス時間中はケースの自動作成が停止されます。
-
各クラスタインターフェイスの管理ステータスまたは動作ステータスを確認します。
-
ネットワークポートの属性を表示します。
「 network port show 」のように表示されます
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 --------- ------------ ---------------- ---- ---- ----------- -------- ------ e4a Cluster Cluster up 9000 auto/40000 - - e4e Cluster Cluster up 9000 auto/40000 - - Node: n2 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 - - 4 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 e4a true n1_clus2 up/up 10.10.0.2/24 n1 e4e true n2_clus1 up/up 10.10.0.3/24 n2 e4a true n2_clus2 up/up 10.10.0.4/24 n2 e4e true 4 entries were displayed.
-
-
必要に応じて、新しい 3132Q-V スイッチに適切な RCF とイメージがインストールされていることを確認し、ユーザとパスワード、ネットワークアドレスなどの基本的なサイトのカスタマイズを行います。
この時点で両方のスイッチを準備する必要があります。RCF とイメージソフトウェアをアップグレードする必要がある場合は、次の手順を実行する必要があります。
-
にアクセスします "Cisco イーサネットスイッチ" ネットアップサポートサイトのページを参照してください。
-
使用しているスイッチおよび必要なソフトウェアバージョンを、このページの表に記載します。
-
適切なバージョンの RCF をダウンロードします。
-
概要 * ページで * continue * をクリックし、ライセンス契約に同意して、 * Download * ページの手順に従ってをダウンロードします。
-
適切なバージョンのイメージソフトウェアをダウンロードします。
-
-
概要 * ページで * continue * をクリックし、ライセンス契約に同意して、 * Download * ページの手順に従ってをダウンロードします。
-
Nexus 3132Q-V スイッチ C1 および C2 では、ノードに接続されたすべてのポート C1 と C2 を無効にするが、 ISL ポートは無効にしない。
次の例は、 RCF でサポートされている設定を使用して Nexus 3132Q-V クラスタスイッチ C1 と C2 のポート 1~30 を無効にします
「 NX3132_RCF v1_24p10g_26p40g.txt 」:
C1# copy running-config startup-config [########################################] 100% Copy complete. C1# configure C1(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30 C1(config-if-range)# shutdown C1(config-if-range)# exit C1(config)# exit C2# copy running-config startup-config [########################################] 100% Copy complete. C2# configure C2(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30 C2(config-if-range)# shutdown C2(config-if-range)# exit C2(config)# exit
-
サポートされているケーブル配線を使用して、 C1 のポート 1/31 および 1/32 を C2 の同じポートに接続します。
-
C1 と C2 で ISL ポートが動作していることを確認します。
「ポートチャネルの概要」
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)
-
スイッチ上の隣接デバイスのリストを表示します。
'How CDP Neighbors' を参照してください
C1# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID C2 Eth1/31 174 R S I s N3K-C3132Q-V Eth1/31 C2 Eth1/32 174 R S I s N3K-C3132Q-V Eth1/32 Total entries displayed: 2 C2# show cdp neighbors Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge S - Switch, H - Host, I - IGMP, r - Repeater, V - VoIP-Phone, D - Remotely-Managed-Device, s - Supports-STP-Dispute Device-ID Local Intrfce Hldtme Capability Platform Port ID C1 Eth1/31 178 R S I s N3K-C3132Q-V Eth1/31 C1 Eth1/32 178 R S I s N3K-C3132Q-V Eth1/32 Total entries displayed: 2
-
各ノードのクラスタポート接続を表示します。
「 network device-discovery show 」のように表示されます
次の例は、 2 ノードスイッチレスクラスタ構成を示しています。
cluster::*> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e4a n2 e4a FAS9000 e4e n2 e4e FAS9000 n2 /cdp e4a n1 e4a FAS9000 e4e n1 e4e FAS9000
-
clus1 インターフェイスを、 clus2 をホストする物理ポートに移行します。
「ネットワーク・インターフェイス移行」
このコマンドは各ローカルノードから実行します。
cluster::*> network interface migrate -vserver Cluster -lif n1_clus1 -source-node n1 –destination-node n1 -destination-port e4e cluster::*> network interface migrate -vserver Cluster -lif n2_clus1 -source-node n2 –destination-node n2 -destination-port e4e
-
クラスタインターフェイスの移行を確認します。
「 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 e4e false n1_clus2 up/up 10.10.0.2/24 n1 e4e true n2_clus1 up/up 10.10.0.3/24 n2 e4e false n2_clus2 up/up 10.10.0.4/24 n2 e4e true 4 entries were displayed.
-
両方のノードでクラスタポート clus1 LIF をシャットダウンします。
「 network port modify 」を参照してください
cluster::*> network port modify -node n1 -port e4a -up-admin false cluster::*> network port modify -node n2 -port e4a -up-admin false
-
リモートクラスタインターフェイスに ping を実行し、 RPC サーバチェックを実行します。
「 cluster ping-cluster 」を参照してください
cluster::*> cluster ping-cluster -node n1 Host is n1 Getting addresses from network interface table... Cluster n1_clus1 n1 e4a 10.10.0.1 Cluster n1_clus2 n1 e4e 10.10.0.2 Cluster n2_clus1 n2 e4a 10.10.0.3 Cluster n2_clus2 n2 e4e 10.10.0.4 Local = 10.10.0.1 10.10.0.2 Remote = 10.10.0.3 10.10.0.4 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 4 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.3 Local 10.10.0.1 to Remote 10.10.0.4 Local 10.10.0.2 to Remote 10.10.0.3 Local 10.10.0.2 to Remote 10.10.0.4 Larger than PMTU communication succeeds on 4 path(s) RPC status: 1 paths up, 0 paths down (tcp check) 1 paths up, 0 paths down (ucp check)
-
ノード n1 の e4A からケーブルを外します。
実行コンフィギュレーションを参照し、 Nexus 3132Q-V でサポートされているケーブル接続を使用して、スイッチ C1 (この例ではポート 1/7 )の最初の 40 GbE ポートを n1 の e4A に接続します
新しい Cisco クラスタスイッチにケーブルを再接続する場合は、使用するケーブルがシスコによってサポートされているファイバまたはケーブルである必要があります。 -
ノード n2 の e4A からケーブルを外します。
サポートされているケーブルを使用して、実行構成を参照し、 C1 のポート 1/8 で使用可能な次の 40GbE ポートに e4A を接続します。
-
C1 ですべてのノード側ポートを有効にします。
次の例は、 RCF でサポートされている設定を使用して、 Nexus 3132Q-V クラスタスイッチ C1 と C2 でポート 1~30 を有効にします
「 NX3132_RCF v1_24p10g_26p40g.txt 」:
C1# configure C1(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30 C1(config-if-range)# no shutdown C1(config-if-range)# exit C1(config)# exit
-
各ノードで、最初のクラスタポート e4A を有効にします。
「 network port modify 」を参照してください
cluster::*> network port modify -node n1 -port e4a -up-admin true cluster::*> network port modify -node n2 -port e4a -up-admin true
-
両方のノードでクラスタが動作していることを確認します。
「 network port show 」のように表示されます
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 --------- ------------ ---------------- ---- ---- ----------- -------- ------ e4a Cluster Cluster up 9000 auto/40000 - - e4e Cluster Cluster up 9000 auto/40000 - - Node: n2 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 - - 4 entries were displayed.
-
各ノードについて、移行したすべてのクラスタインターコネクト LIF をリバートします。
「 network interface revert 」の略
次の例は、移行された LIF をホームポートにリバートする方法を示しています。
cluster::*> network interface revert -vserver Cluster -lif n1_clus1 cluster::*> network interface revert -vserver Cluster -lif n2_clus1
-
すべてのクラスタインターコネクトポートがそれぞれのホームポートにリバートされていることを確認します。
「 network interface show 」を参照してください
Is Home カラムには ' Current Port カラムに一覧表示されているすべてのポートの値 'true' が表示されます表示された値が「 false 」の場合、ポートはリバートされていません。
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 e4a true n1_clus2 up/up 10.10.0.2/24 n1 e4e true n2_clus1 up/up 10.10.0.3/24 n2 e4a true n2_clus2 up/up 10.10.0.4/24 n2 e4e true 4 entries were displayed.
-
「 network device-discovery show 」のように表示されます
cluster::*> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e4a C1 Ethernet1/7 N3K-C3132Q-V e4e n2 e4e FAS9000 n2 /cdp e4a C1 Ethernet1/8 N3K-C3132Q-V e4e n1 e4e FAS9000
-
各ノードのコンソールで、 clus2 をポート e4A に移行します。
「ネットワーク・インターフェイス移行」
cluster::*> network interface migrate -vserver Cluster -lif n1_clus2 -source-node n1 –destination-node n1 -destination-port e4a cluster::*> network interface migrate -vserver Cluster -lif n2_clus2 -source-node n2 –destination-node n2 -destination-port e4a
-
両方のノードでクラスタポート clus2 LIF をシャットダウンします。
「 network port modify 」を参照してください
次の例は、指定したポートを両方のノードでシャットダウンしています。
cluster::*> network port modify -node n1 -port e4e -up-admin false cluster::*> network port modify -node n2 -port e4e -up-admin false
-
クラスタの LIF のステータスを確認します。
「 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 e4a true n1_clus2 up/up 10.10.0.2/24 n1 e4a false n2_clus1 up/up 10.10.0.3/24 n2 e4a true n2_clus2 up/up 10.10.0.4/24 n2 e4a false 4 entries were displayed.
-
ノード n1 の e4e からケーブルを外します。
Nexus 3132Q-V でサポートされているケーブル接続を使用して、スイッチ c2 の最初の 40GbE ポート(この例ではポート 1/7 )を e4e に接続します
-
ノード n2 の e4e からケーブルを外します。
サポートされているケーブル接続を使用して、実行構成を参照し、 c2 のポート 1 / 8 に次に使用可能な 40GbE ポートに e4e を接続します。
-
C2 のすべてのノード側ポートを有効にします。
次の例は、 RCF でサポートされている設定を使用して Nexus 3132Q-V クラスタスイッチ C1 と C2 のポート 1~30 を有効にします
「 NX3132_RCF v1_24p10g_26p40g.txt 」:
C2# configure C2(config)# int e1/1/1-4,e1/2/1-4,e1/3/1-4,e1/4/1-4,e1/5/1-4,e1/6/1-4,e1/7-30 C2(config-if-range)# no shutdown C2(config-if-range)# exit C2(config)# exit
-
各ノードで 2 つ目のクラスタポート e4e を有効にします。
「 network port modify 」を参照してください
次の例は、指定したポートを起動します。
cluster::*> network port modify -node n1 -port e4e -up-admin true cluster::*> network port modify -node n2 -port e4e -up-admin true
-
各ノードについて、移行したすべてのクラスタインターコネクト LIF をリバートします。
「 network interface revert 」の略
次の例は、移行された LIF をホームポートにリバートする方法を示しています。
cluster::*> network interface revert -vserver Cluster -lif n1_clus2 cluster::*> network interface revert -vserver Cluster -lif n2_clus2
-
すべてのクラスタインターコネクトポートがホームポートにリバートされたことを確認します。
「 network interface show 」を参照してください
Is Home カラムには ' Current Port カラムに一覧表示されているすべてのポートの値 'true' が表示されます表示された値が「 false 」の場合、ポートはリバートされていません。
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 e4a true n1_clus2 up/up 10.10.0.2/24 n1 e4e true n2_clus1 up/up 10.10.0.3/24 n2 e4a true n2_clus2 up/up 10.10.0.4/24 n2 e4e true 4 entries were displayed.
-
すべてのクラスタ・インターコネクト・ポートが up 状態になっていることを確認します。
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 --------- ------------ ---------------- ---- ---- ----------- -------- ------ e4a Cluster Cluster up 9000 auto/40000 - - e4e Cluster Cluster up 9000 auto/40000 - - Node: n2 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 - - 4 entries were displayed.
-
クラスタスイッチのポート番号を表示する各クラスタポートが各ノードで接続されていることを示します。
「 network device-discovery show 」のように表示されます
cluster::*> network device-discovery show Local Discovered Node Port Device Interface Platform ----------- ------ ------------------- ---------------- ---------------- n1 /cdp e4a C1 Ethernet1/7 N3K-C3132Q-V e4e C2 Ethernet1/7 N3K-C3132Q-V n2 /cdp e4a C1 Ethernet1/8 N3K-C3132Q-V e4e C2 Ethernet1/8 N3K-C3132Q-V
-
検出されたクラスタスイッチと監視対象のクラスタスイッチを表示します。
「 system cluster-switch show
cluster::*> system cluster-switch show Switch Type Address Model --------------------------- ------------------ ---------------- --------------- C1 cluster-network 10.10.1.101 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.102 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.
-
任意のノードで 2 ノードスイッチレス構成を無効にします。
「 network options switchless-cluster 」を参照してください
network options switchless-cluster modify -enabled false
-
「 switchless-cluster 」オプションが無効になっていることを確認します。
network options switchless-cluster show
-
リモートクラスタインターフェイスに ping を実行し、 RPC サーバチェックを実行します。
「 cluster ping-cluster 」を参照してください
cluster::*> cluster ping-cluster -node n1 Host is n1 Getting addresses from network interface table... Cluster n1_clus1 n1 e4a 10.10.0.1 Cluster n1_clus2 n1 e4e 10.10.0.2 Cluster n2_clus1 n2 e4a 10.10.0.3 Cluster n2_clus2 n2 e4e 10.10.0.4 Local = 10.10.0.1 10.10.0.2 Remote = 10.10.0.3 10.10.0.4 Cluster Vserver Id = 4294967293 Ping status: .... Basic connectivity succeeds on 4 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.3 Local 10.10.0.1 to Remote 10.10.0.4 Local 10.10.0.2 to Remote 10.10.0.3 Local 10.10.0.2 to Remote 10.10.0.4 Larger than PMTU communication succeeds on 4 path(s) RPC status: 1 paths up, 0 paths down (tcp check) 1 paths up, 0 paths down (ucp check)
-
スイッチ関連のログファイルを収集するために、クラスタスイッチヘルスモニタのログ収集機能を有効にします。
「 system cluster-switch log setup -password 」と入力します
'system cluster-switch log enable-colion
cluster::*> **system cluster-switch log setup-password** Enter the switch name: <return> The switch name entered is not recognized. Choose from the following list: C1 C2 cluster::*> system cluster-switch log setup-password Enter the switch name: C1 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::*>
これらのコマンドのいずれかでエラーが返される場合は、ネットアップサポートにお問い合わせください。 -
ケースの自動作成を抑制した場合は、 AutoSupport メッセージを呼び出して作成を再度有効にします。
「 system node AutoSupport invoke -node * -type all -message MAINT= end 」というメッセージが表示されます