Skip to main content
ONTAP MetroCluster
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

線上或離線 MetroCluster IP 介面連接埠

貢獻者

執行維護工作時、您可能需要將 MetroCluster IP 介面連接埠離線或上線。

關於這項工作

"啟用主控台記錄" 在執行此工作之前。

步驟

您可以使用下列步驟將 MetroCluster IP 介面連接埠上線或離線。

  1. 將權限層級設為進階。

    set -privilege advanced
    • 輸出範例 *

    Cluster A_1::> set -privilege advanced
    Warning: These advanced commands are potentially dangerous; use them only when
             directed to do so by NetApp personnel.
    Do you want to continue? {y|n}: y
  2. 將 MetroCluster IP 介面連接埠離線。

    system ha interconnect link off -node <node_name> -link <link_num, 0 or 1>
    • 輸出範例 *

      Cluster_A1::*> system ha interconnect link off -node node-a1 -link 0
      1. 驗證 MetroCluster IP 介面是否離線。

        Cluster_A1::*> system ha interconnect port show
    • 輸出範例 *

    Cluster_A1::*> system ha interconnect port show
                                   Physical  Link
                    Link           Layer     Layer      Physical   Physical  Active
    Node            Monitor  Port  State     State       Link Up  Link Down  Link
    --------------  -------  ----  --------  ---------  --------  ---------  ------
    node-a1        off
                                0  disabled  down              4          3  false
                                1  linkup    active            4          2  true
    node-a2        off
                                0  linkup    active            4          2  true
                                1  linkup    active            4          2  true
    2 entries were displayed.
  3. 將 MetroCluster IP 介面連接埠上線。

    system ha interconnect link on -node <node_name> -link <link_num, 0 or 1>
    • 輸出範例 *

      Cluster_A1::*> system ha interconnect link on -node node-a1 -link 0
      1. 驗證 MetroCluster IP 介面連接埠是否在線上。

        Cluster_A1::*> system ha interconnect port show
    • 輸出範例 *

    Cluster_A1::*> system ha interconnect port show
                                   Physical  Link
                    Link           Layer     Layer      Physical   Physical  Active
    Node            Monitor  Port  State     State       Link Up  Link Down  Link
    --------------  -------  ----  --------  ---------  --------  ---------  ------
    node-a1        off
                                0  linkup    active            5          3  true
                                1  linkup    active            4          2  true
    node-a2        off
                                0  linkup    active            4          2  true
                                1  linkup    active            4          2  true
    2 entries were displayed.