Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

2ノードのスイッチレス クラスタから2ノードのスイッチ クラスタへの移行用にポートを構成する

共同作成者 netapp-yvonneo

Nexus 3232C スイッチ上の 2 ノード スイッチレス クラスタから 2 ノード スイッチ クラスタへの移行用にポートを構成するには、次の手順に従います。

手順
  1. n1_clus1 および n2_clus1 LIF を宛先ノードの物理ポートに移行します。

    network interface migrate -vserver vserver-name -lif lif-name source-node source-node-name -destination-port destination-port-name

    例を表示

    次の例に示すように、各ローカル ノードに対してコマンドを実行する必要があります。

    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
  2. クラスター インターフェースが正常に移行されたことを確認します。

    network interface show -role cluster

    例を表示

    次の例は、移行が完了した後、n1_clus1 および n2_clus1 LIF の「Is Home」ステータスが「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            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.
  3. 手順 9 で移行された n1_clus1 および n2_clus1 LIF のクラスタ ポートをシャットダウンします。

    network port modify -node node-name -port port-name -up-admin false

    例を表示

    次の例に示すように、各ポートに対してコマンドを実行する必要があります。

    cluster::*> network port modify -node n1 -port e4a -up-admin false
    cluster::*> network port modify -node n2 -port e4a -up-admin false
  4. リモート クラスタ インターフェイスの接続を確認します。

ONTAP 9.9.1以降

使用することができます `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のすべてのリリース

すべての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        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 9000 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)
  1. ノードn1のe4aからケーブルを外します。

    実行中の設定を参照し、Nexus 3232C スイッチでサポートされているケーブルを使用して、スイッチ C1 の最初の 40 GbE ポート (この例ではポート 1/7) を n1 の e4a に接続できます。

  2. ノード n2 の e4a からケーブルを外します。

    実行中の設定を参照し、サポートされているケーブルを使用して、e4a を C1 の次の使用可能な 40 GbE ポート (ポート 1/8) に接続できます。

  3. C1 上のすべてのノード向けポートを有効にします。

    Ciscoコマンドの詳細については、 "Cisco Nexus 3000 シリーズ NX-OS コマンド リファレンス"

    例を表示

    次の例は、RCFでサポートされている設定を使用して、Nexus 3232CクラスタスイッチC1とC2でポート1~30が有効になっていることを示しています。 NX3232_RCF_v1.0_24p10g_26p100g.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
  4. 各ノードで最初のクラスター ポート e4a を有効にします。

    network port modify -node node-name -port port-name -up-admin true

    例を表示
    cluster::*> network port modify -node n1 -port e4a -up-admin true
    cluster::*> network port modify -node n2 -port e4a -up-admin true
  5. 両方のノードでクラスターが起動していることを確認します。

    network port show -role cluster

    例を表示
    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.
  6. 各ノードについて、移行されたすべてのクラスタ相互接続 LIF を元に戻します。

    network interface revert -vserver cluster -lif lif-name

    例を表示

    次の例に示すように、各 LIF を個別にホーム ポートに戻す必要があります。

    cluster::*> network interface revert -vserver cluster -lif n1_clus1
    cluster::*> network interface revert -vserver cluster -lif n2_clus1
  7. すべての LIF がホーム ポートに戻っていることを確認します。

    network interface show -role cluster

    その `Is Home`列には次の値が表示されます `true`に記載されているすべてのポートについて `Current Port`カラム。表示されている値が `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.
  8. 各ノードのクラスター ポートの接続を表示します。

    network device-discovery show

    例を表示
    cluster::*> network device-discovery show
                Local  Discovered
    Node        Port   Device              Interface        Platform
    ----------- ------ ------------------- ---------------- ----------------
    n1         /cdp
                e4a    C1                  Ethernet1/7      N3K-C3232C
                e4e    n2                  e4e              FAS9000
    n2         /cdp
                e4a    C1                  Ethernet1/8      N3K-C3232C
                e4e    n1                  e4e              FAS9000
  9. 各ノードのコンソールで clus2 をポート e4a に移行します。

    network interface migrate cluster -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 e4a
    cluster::*> network interface migrate -vserver cluster -lif n2_clus2 -source-node n2
    -destination-node n2 -destination-port e4a
  10. 両方のノードでクラスター ポート clus2 LIF をシャットダウンします。

    network port modify

    例を表示

    次の例では、指定されたポートが次のように設定されていることを示しています。 `false`両方のノードのポートをシャットダウンします。

    cluster::*> network port modify -node n1 -port e4e -up-admin false
    cluster::*> network port modify -node n2 -port e4e -up-admin false
  11. クラスタ 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.
  12. ノード n1 の e4e からケーブルを外します。

    実行中の設定を参照し、Nexus 3232C スイッチ モデルに適したケーブルを使用して、スイッチ C2 の最初の 40 GbE ポート (この例ではポート 1/7) をノード n1 の e4e に接続できます。

  13. ノード n2 の e4e からケーブルを外します。

    実行中の設定を参照し、Nexus 3232C スイッチ モデルに適したケーブルを使用して、e4e を C2 の次の使用可能な 40 GbE ポート (ポート 1/8) に接続できます。

  14. C2 上のすべてのノード向けポートを有効にします。

    例を表示

    次の例は、RCFでサポートされている設定を使用して、Nexus 3132Q-VクラスタスイッチC1とC2でポート1~30が有効になっていることを示しています。 NX3232C_RCF_v1.0_24p10g_26p100g.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
  15. 各ノードで 2 番目のクラスター ポート e4e を有効にします。

    network port modify

    例を表示

    次の例は、各ノードで 2 番目のクラスター ポート e4e が起動されることを示しています。

    cluster::*> network port modify -node n1 -port e4e -up-admin true
    cluster::*> *network port modify -node n2 -port e4e -up-admin true*s
  16. 各ノードについて、移行されたすべてのクラスタ相互接続 LIF を元に戻します。

    network interface revert

    例を表示

    次の例は、移行された LIF がホーム ポートに戻されることを示しています。

    cluster::*> network interface revert -vserver Cluster -lif n1_clus2
    cluster::*> network interface revert -vserver Cluster -lif n2_clus2
次の手順

"移行を完了する"