CN1610
クラスター・スイッチを使用した 2 ノード・スイッチ・
クラスターへの移行
クラスター・ネットワーク・スイッチを使用している既存の 2 ノード・スイッチレス・クラスター環境が
ある場合、CN1610 クラスター・ネットワーク・スイッチを使用して、2 ノード・スイッチ・クラスター環
境に移行できます。実行する手順は、各コントローラー上に 2 つの専用クラスター・ネットワーク・ポー
トがあるのか (ほとんどのシステムでは必要)、または各コントローラー上に単一のクラスター・ポートし
かないのか (N3150、N3220、および N3240 ストレージ・システムでサポートされているオプション) に応
じて異なります。
このタスクについて
次の 2 つの移行オプションを選択できます。
v
スイッチレス・クラスターからスイッチ CN1610 クラスター環境への移行
v
スイッチレス・クラスター (単一のクラスター・ネットワーク接続を使用するシステム) からの移行
スイッチレス・クラスターからスイッチ CN1610 クラスター環境への移行
既存の 2 ノード・スイッチレス・クラスター環境がある場合、CN1610 クラスター・ネットワーク・スイ
ッチを使用して、2 ノード・スイッチ・クラスター環境に移行できます。
始める前に
2
ノード・スイッチレス構成:
v
2
ノード・スイッチレス構成が正しくセットアップされて機能している必要があります。
v
各ノードで Data ONTAP 8.2 以降が実行されている必要があります。
v
すべてのクラスター・ポートが稼働状態である必要があります。
v
すべてのクラスター LIF が稼働状態であり、それぞれのホーム・ポート上にある必要があります。
CN1610
クラスター・スイッチ構成:
v
CN1610
クラスター・スイッチ・インフラストラクチャーが冗長化されており、両方のスイッチ上で完全
に機能する必要があります。お使いのスイッチに最新の RCF バージョンと FASTPATH バージョンが
配置されていることを確認するには、IBM N シリーズ・サポート Web サイトを参照してください。
v
両方のスイッチ上で管理ネットワーク接続が可能である必要があります。
v
コンソールからクラスター・スイッチにアクセスできる必要があります。
v
ノード/スイッチ間およびスイッチ間の必要なケーブル接続が完了している必要があります。 CN1610 ス
イッチでは、平衡型ケーブルまたはファイバー・ケーブルがサポートされています。ケーブル接続につ
いて詳しくは、お使いのストレージ・システムの「
取り付けとセットアップの入門
」および「
クラスタ
ー化
Data ONTAP
スイッチのセットアップと構成のガイド
(Clustered Data ONTAP Switch Setup and
Configuration Guide)
」を参照してください。
このタスクについて
この手順では、2 ノード・スイッチレス環境内のノードを 2 ノード・スイッチ環境に移行します。この手
順における例では、スイッチとノードについて次の呼称を使用しています。
v
cs1
と cs2 は CN1610 スイッチを指します。
v
clus1
と clus2 はクラスター論理インターフェース (LIF) を指します。
v
Vserver
の名前は node1 と node2 です。
v
cluster::*>
というプロンプトは、クラスターの名前を示します。
v
この手順で例として使用しているクラスター・ポートは、e1a と e2a です。サポートされているクラス
ター・ポートについては、お使いのストレージ・システムの「
取り付けとセットアップの入門
」を参照
してください。
手順
1.
新規クラスター・スイッチ cs1 と cs2 の両方ですべてのノード接続ポートを無効にします。ISL ポー
トは無効にしないでください。
スイッチ cs1 上でノード接続ポート 1 から 12 を無効にします。
(cs1)# configure (cs1)(Config)# interface 0/1-0/12 (cs1)(Interface 0/1-0/12)# shutdown (cs1)(Interface 0/1-0/12)# exit (cs1)(Config)# exitスイッチ cs2 上でノード接続ポート 1 から 12 を無効にします。
(cs2)# configure (cs2)(Config)# interface 0/1-0/12 (cs2)(Interface 0/1-0/12)# shutdown (cs2)(Interface 0/1-0/12)# exit (cs2)(Config)# exit2. show port channel
コマンドを使用して、2 つの CN1610 クラスター・スイッチ cs1 および cs2 の
間の ISL 上の ISL および物理ポートが稼働していることを確認します。
cs1
スイッチの結果:
(cs1)# show port-channel 3/1
Local Interface... 3/1 Channel Name... ISL-LAG Link State... Up Admin Mode... Enabled Type... Static Load Balance Option... 7 (Enhanced hashing mode)
Mbr Device/ Port Port Ports Timeout Speed Active --- --- -- ---0/13 actor/long 10G Full True
partner/long
0/14 actor/long 10G Full True partner/long
0/15 actor/long 10G Full True partner/long
0/16 actor/long 10G Full True partner/long
cs2
スイッチの結果:
(cs2)# show port-channel 3/1
Local Interface... 3/1 Channel Name... ISL-LAG Link State... Up Admin Mode... Enabled Type... Static Load Balance Option... 7 (Enhanced hashing mode)
Mbr Device/ Port Port Ports Timeout Speed Active --- --- -- ---0/13 actor/long 10G Full True
partner/long
0/14 actor/long 10G Full True partner/long
0/15 actor/long 10G Full True partner/long
0/16 actor/long 10G Full True partner/long
3. show isdp neighbors
コマンドを使用して、近接デバイスのリストを表示します。
cs1
スイッチの結果:
(cs1)# show isdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Intf Holdtime Capability Platform Port ID --- --- --- ---cs2 0/13 11 S CN1610 0/13 cs2 0/14 11 S CN1610 0/14 cs2 0/15 11 S CN1610 0/15 cs2 0/16 11 S CN1610 0/16
cs2
スイッチの結果:
(cs2)# show isdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Intf Holdtime Capability Platform Port ID --- --- --- ---cs1 0/13 11 S CN1610 0/13 cs1 0/14 11 S CN1610 0/14 cs1 0/15 11 S CN1610 0/15 cs1 0/16 11 S CN1610 0/16
4. run * cdpd show-neighbors
コマンドを使用して、各クラスター・ポートがパートナー・クラスター・
ノード上の対応するポートに接続されていることを確認します。
次の例では、クラスター・ポート e1a と e2a がクラスター・パートナー・ノード上の同じポートに接
続されていることを確認しています。
cluster::*> run * cdpd show-neighbors 2 entries were acted on.
Node: node1
Local Remote Remote Remote Hold Remote Port Device Interface Platform Time Capability --- --- -- --- --- ---e1a node2 e1a N6270 137 H
e2a node2 e2a N6270 137 H
Node: node2
Local Remote Remote Remote Hold Remote Port Device Interface Platform Time Capability --- --- -- --- --- ---e1a node1 e1a N6270 161 H
e2a node1 e2a N6270 161 H
5. network interface show -role cluster
コマンドを使用して、すべてのクラスター LIF が稼働して動
作可能な状態であり、それらの Is Home 列に true と表示されることを確認します。
cluster::*> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- - - --- ----node1
clus1 up/up 10.10.10.1/16 node1 e1a true Clus2 up/up 10.10.10.2/16 node1 e2a true node2
clus1 up/up 10.10.11.1/16 node2 e1a true clus2 up/up 10.10.11.2/16 node2 e2a true 4 entries were displayed.
6.
両方のノードの clus1 と clus2 で、network interface modify コマンドを使用して、auto revert パ
ラメーターを false に設定します。
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
7.
各ノードのコンソールで network interface migrate コマンドを使用して、clus1 を ポート e2a に移
行します。 network interface show コマンドを使用して、移行が完了したことを確認します。
cluster::*> network interface migrate -vserver node1 -lif clus1 -source-node node1 -dest-node node1 -dest-port e2a cluster::*> network interface migrate -vserver node2 -lif clus1 -source-node node2 -dest-node node2 -dest-port e2a cluster::*> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- - - --- ----node1
clus1 up/up 10.10.10.1/16 node1 e2a false clus2 up/up 10.10.10.2/16 node1 e2a true node2
clus1 up/up 10.10.11.1/16 node2 e2a false clus2 up/up 10.10.11.2/16 node2 e2a true 4 entries were displayed.
8. network port modify
コマンドを使用して、両方のノードでクラスター・ポート e1a をシャットダウ
cluster::*> network port modify -node node1 -port e1a -up-admin false cluster::*> network port modify -node node2 -port e1a -up-admin false cluster::*> network port show -role cluster
Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper --- --- ---- --- --- --- ---node1
e1a clus1 down 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 node2
e1a clus1 down 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 4 entries were displayed.
9. node1
上の e1a からケーブルを取り外します。CN1610 スイッチでサポートされている適切なケーブ
ル接続を使用して、node1 上の e1a を cs1 上のポート 1 に接続します。ケーブル接続について詳し
くは、お使いのストレージ・システムの「
取り付けとセットアップの入門
」および「
クラスター化
Data ONTAP
スイッチのセットアップと構成のガイド
(Clustered Data ONTAP Switch Setup and
Configuration Guide)
」を参照してください。
10. node2
上のクラスター・ポート e1a からケーブルを取り外します。CN1610 スイッチでサポートされ
ている適切なケーブル接続を使用して、e1a を cs1 上のポート 2 に接続します。
11. cs1
上のすべてのノード接続ポートを有効にします。
(cs1)# configure (cs1)(Config)# interface 0/1-0/12 (cs1)(Interface 0/1-0/12)# no shutdown (cs1)(Interface 0/1-0/12)# exit (cs1)(Config)# exit12.
各ノード上で 1 つ目のクラスター・ポート e1a を有効にします。
cluster::*> network port modify -node node1 -port e1a -up-admin true cluster::*> network port modify -node node2 -port e1a -up-admin true
13.
すべてのクラスター・ポートが稼働していることを確認します。
cluster::*> network port show -role cluster
Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper --- --- ---- --- --- --- ---node1
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 node2
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 4 entries were displayed.
14. network interface revert
コマンドを使用して、両方のノード上の clus1 (先ほど移行したもの) を
e1a
に戻します。
cluster::*> network interface revert -vserver node1 -lif clus1 cluster::*> network interface revert -vserver node2 -lif clus1
15. network interface show
コマンドを使用して、すべてのクラスター LIF が稼働して動作可能な状態で
cluster::*> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- - - --- ----node1
clus1 up/up 10.10.10.1/16 node1 e1a true clus2 up/up 10.10.10.2/16 node1 e2a true node2
clus1 up/up 10.10.11.1/16 node2 e1a true clus2 up/up 10.10.11.2/16 node2 e2a true 4 entries were displayed.
16. cluster show
コマンドを使用して、ノード・メンバーの状況を表示します。
cluster::*> cluster show
Node Health Eligibility Epsilon --- --- --- ---node1 true true false node2 true true false
17.
各ノードのコンソールで network interface migrate コマンドを使用して、clus2 を ポート e1a に移
行します。 network interface show コマンドを使用して、移行が完了したことを確認します。
cluster::*> network interface migrate -vserver node1 -lif clus2 -source-node node1 -dest-node node1 -dest-port e1a cluster::*> network interface migrate -vserver node2 -lif clus2 -source-node node2 -dest-node node2 -dest-port e1a cluster::*> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- - - --- ----node1
clus1 up/up 10.10.10.1/16 node1 e1a true clus2 up/up 10.10.10.2/16 node1 e1a false node2
clus1 up/up 10.10.11.1/16 node2 e1a true clus2 up/up 10.10.11.2/16 node2 e1a false 4 entries were displayed.
18. network port modify
コマンドを使用して、両方のノード上のクラスター・ポート e2a をシャットダ
ウンします。 network port show コマンドを使用して、ポート状況を確認します。
cluster::*> network port modify -node node1 -port e2a -up-admin false cluster::*> network port modify -node node2 -port e2a -up-admin false cluster::*> network port show -role cluster
Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper --- --- ---- --- --- --- ---node1
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 down 9000 true/true full/full auto/10000 node2
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 down 9000 true/true full/full auto/10000 4 entries were displayed.
19. node1
上の e2a からケーブルを取り外します。CN1610 スイッチでサポートされている適切なケーブ
ル接続を使用して、node1 上の e2a を cs2 上のポート 1 に接続します。
20. node2
上で、クラスター・ポート e2a からケーブルを取り外します。CN1610 スイッチでサポートさ
れている適切なケーブル接続を使用して、e2a を cs2 上のポート 2 に接続します。
(cs2)# configure (cs2)(Config)# interface 0/1-0/12 (cs2)(Interface 0/1-0/12)# no shutdown (cs2)(Interface 0/1-0/12)# exit (cs2)(Config)# exit
22.
各ノード上の 2 つ目のクラスター・ポート e2a を有効にします。
cluster::*> network port modify -node node1 -port e2a -up-admin true cluster::*> network port modify -node node2 -port e2a -up-admin true
23.
すべてのクラスター・ポートが稼働していることを確認します。
cluster::*> network port show -role cluster
Auto-Negot Duplex Speed (Mbps) Node Port Role Link MTU Admin/Oper Admin/Oper Admin/Oper --- --- ---- --- --- --- ---node1
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 node2
e1a clus1 up 9000 true/true full/full auto/10000 e2a clus2 up 9000 true/true full/full auto/10000 4 entries were displayed.
24.
すべてのノード上で、network interface revert コマンドを使用して、clus1 (先ほど移行したもの)
を e1a に戻します。
cluster::*> network interface revert -vserver node1 -lif clus2 cluster::*> network interface revert -vserver node2 -lif clus2
25. network interface show
コマンドを使用して、すべてのインターフェースの Is Home 列に true と
表示されることを確認します。
cluster::*> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- -- --- --- ----node1
clus1 up/up 10.10.10.1/16 node1 e1a true clus2 up/up 10.10.10.2/16 node1 e2a true node2
clus1 up/up 10.10.11.1/16 node2 e1a true clus2 up/up 10.10.11.2/16 node2 e2a true
26. show isdp neighbors
コマンドを使用して、両方のノードが各スイッチへの 2 つの接続を保有してい
ることを確認します。
(cs1)# show isdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Intf Holdtime Capability Platform Port ID --- --- --- ---node1 0/1 132 H N6270 e1a node2 0/2 163 H N6270 e1a cs2 0/13 11 S CN1610 0/13 cs2 0/14 11 S CN1610 0/14 cs2 0/15 11 S CN1610 0/15 cs2 0/16 11 S CN1610 0/16 (cs2)# show isdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge, S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Intf Holdtime Capability Platform Port ID --- --- --- ---node1 0/1 132 H N6270 e2a node2 0/2 163 H N6270 e2a cs1 0/13 11 S CN1610 0/13 cs1 0/14 11 S CN1610 0/14 cs1 0/15 11 S CN1610 0/15 cs1 0/16 11 S CN1610 0/16
27. run * cdpd show-neighbors
コマンドを使用して、各クラスター・ポートが各クラスター・スイッチに
正しく接続されていることを確認します。
次の例では、クラスター・ポート e1a と e2a が各自のクラスター・スイッチ上の対応するポートに正
しく接続されていることを確認しています。
cluster::*> run * cdpd show-neighbors 2 entries were acted on.
Node: node1
Local Remote Remote Remote Hold Remote Port Device Interface Platform Time Capability --- --- -- --- --- ---e1a cs1 0/1 CN1610 13 S e2a cs2 0/1 CN1610 15 S Node: node2
Local Remote Remote Remote Hold Remote Port Device Interface Platform Time Capability --- --- -- --- --- ---e1a cs1 0/2 CN1610 12 S e2a cs2 0/2 CN1610 15 S
28.
両方のノードで、2 ノード・スイッチレス構成設定を無効にします。
cluster::*> network options switchless-cluster modify -enabled false
29.
設定が無効化されたことを確認します。
cluster::*> network options switchless-cluster show Enable Switchless Cluster: false
30.
両方のノード上の clus1 と clus2 で、network interface modify コマンドを使用して、auto revert
パラメーターを true に設定します。
cluster::*> network interface modify -vserver node1 -lif clus1 -auto-revert true cluster::*> network interface modify -vserver node1 -lif clus2 -auto-revert true cluster::*> network interface modify -vserver node2 -lif clus1 -auto-revert true cluster::*> network interface modify -vserver node2 -lif clus2 -auto-revert true
31. cluster show
コマンドを使用して、ノード・メンバーの状況を表示します。
cluster::*> cluster show
Node Health Eligibility Epsilon --- --- --- ---node1 true true false node2 true true false
詳しくは、「
クラスター化
Data ONTAP
スイッチのセットアップと構成のガイド
(Clustered Data
ONTAP Switch Setup and Configuration Guide)
」を参照してください。
2
ノード・スイッチ・クラスター (単一のクラスター・ネットワーク接続を
使用するシステム) への移行
既存の 2 ノード・スイッチレス・クラスター内に N3150、N3220、および N3240 システムがある場合
に、このクラスター内で各コントローラーがクラスター接続用に単一のバックツーバック 10-GbE 接続を
使用している場合、スイッチレス・クラスター・ネットワーク接続オプションを使用して、直接バックツー
バック接続をスイッチ接続に置き換えることができます。この手順は、システムを停止することなく実行で
きます。
始める前に
v
スイッチレス構成からスイッチ構成に移行するには、2 つのクラスター接続が必要です。
v
クラスターが正常な状態であり、バックツーバック接続で接続された 2 つのノードで構成されている必
要があります。各ノードで Data ONTAP 8.2 以降が実行されている必要があります。
v
スイッチレス・クラスター機能は、3 つ以上のノードで使用することはできません。
v
すべてのクラスター・ポートが稼働状態である必要があります。
このタスクについて
この手順では、スイッチレス環境内の直接クラスター接続を除去して、スイッチへの各接続をパートナー・
ノードへの接続に置き換えます。
手順
1.
いずれかのノードのシステム・コンソールで次のコマンドを入力して、ノードのクラスター状況を確認
します。
cluster show
このコマンドにより、次のような出力が生成されます。
Node Health Eligibility --- --- ---node1 true true node2 true true 2 entries were displayed.
Node Partner Possible State Description
--- --- --- ---node1 node2 true Connected to node2
node2 node1 true Connected to node1 2 entries were displayed.
3.
いずれかのノードのプロンプトで次のコマンドを入力して、拡張特権レベルに変更します。
set -privilege advanced
アドバンスト・モードに入って継続するかどうかを尋ねるプロンプトが表示された場合、y と応答入力
します。アドバンスト・モードのプロンプト (*>) が表示されます。
4.
スイッチレス・クラスターの現在の状態が true であることを確認してから、スイッチレス・クラスタ
ー・モードを無効にします。
network options switchless-cluster modify -enabled false
5.
次のコマンドを入力して、管理特権レベルに戻ります。
set -privilege admin
6.
次のコマンドを入力して、ターゲット・ノードをテークオーバーします。
storage failover takeover -ofnode target_node_name
どのノードがターゲット・ノードであってもかまいません。ターゲット・ノードは、テークオーバーさ
れると自動的にリブートして、Waiting for giveback... というメッセージを表示します。 この時点
では、アクティブ・ノードがテークオーバーされたパートナー (ターゲット) ・ノード用のデータを提
供しています。
7.
いずれかのノードで障害が発生した場合、その障害ノードのテークオーバー後に 2 分以上待ちます。
これにより、テークオーバーが確実に正常に完了します。
8.
ターゲット・ノードに Waiting for giveback... メッセージが表示された状態で、そのターゲット・
ノードをシャットダウンします。 このノードをシャットダウンするために使用する方法は、サービ
ス・プロセッサー (SP) を介したリモート管理を使用しているかどうかによって異なります。
SP
が構成されているか
シャットダウン方法
はい
障害ノードの SP にログインして、次のコマンドを入力
します。
system power off
いいえ
障害ノードのプロンプトで、Ctrl+C を押し、Y と応答入
力してノードを停止します。
9.
各コントローラー上で、10G クラスター・ポートをスイッチレス・クラスターに接続しているケーブ
ルを取り外します。
10.
両方のコントローラー上で、10-GbE クラスター・ポートをスイッチに接続します。 スイッチ上で接
続されている 10-GbE クラスター・ポートが、同じ VLAN の一部として構成されていることを確認し
ます。各コントローラー上のクラスター・ポートを別々のスイッチに接続しようとしている場合、各ス
イッチ上でクラスター・ポートが接続されているポートが同じ VLAN 用に構成されていること、およ
び両方のスイッチ上でトランキングが適切に構成されていることを確認します。
11.
次のコマンドを入力して、ストレージをターゲット・ノードにギブバックします。
storage failover giveback -ofnode node2
12.
ギブバック・オペレーションの進行をモニターするには storage failover show-giveback コマンドを
入力します。
13.
ギブバック・オペレーションが完了したら、storage failover show コマンドを入力して、が正常な状
態であり、テークオーバーが可能であることを確認します。 出力は以下のようなものになるはずで
す。
Node Partner Possible State Description
--- --- --- ---node1 node2 true Connected to node2
node2 node1 true Connected to node1 2 entries were displayed.
14.
クラスター・ポート LIF が正しく動作していることを確認します。
network interface show -role cluster
node1::> network interface show -role cluster
Logical Status Network Current Current Is Vserver Interface Admin/Oper Address/Mask Node Port Home --- -- -- -- - --- ----node1
clus1 up/up 192.168.177.121/24 node1 e1a true node2
clus1 up/up 192.168.177.123/24 node2 e1a true 2 entries were displayed.
15.
いずれかのノードのシステム・コンソールで次のコマンドを入力して、ノードのクラスター状況を確認
します。
cluster show
このコマンドにより、次のような出力が生成されます。
Node Health Eligibility --- --- ---node1 true true node2 true true 2 entries were displayed.