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

準備安裝NX-OS軟體和RCF

貢獻者

在安裝NX-OS軟體和參考組態檔(RCF)之前、請遵循此程序。

關於範例

本程序中的範例使用下列交換器和節點命名法:

  • 兩個Cisco交換器的名稱為CS1和CS2。

  • 節點名稱為cluster1-01和cluster1-02。

  • 叢集LIF名稱為cluster1-01_clus1、cluster1-01_clus2(叢集1-01)和cluster1-02_clus2(叢集1-01)、cluster1-02_clus2(叢集1-02)。

  • 「cluster1:*:>」提示會指出叢集的名稱。

關於這項工作

此程序需要同時使用ONTAP 支援指令和Cisco Nexus 9000系列交換器的指令;ONTAP 除非另有說明、否則會使用支援指令。

步驟
  1. 如果AutoSupport 此叢集啟用了「支援功能」、請叫用AutoSupport 下列訊息來抑制自動建立案例:「System Node AutoSupport Rsepooke -Node *-type all -most MAn=x h」

    其中x是維護時段的持續時間(以小時為單位)。

    註 此資訊可通知技術支援人員執行此維護工作、以便在維護期間抑制自動建立案例。AutoSupport
  2. 將權限等級變更為進階、並在系統提示您繼續時輸入* y*:

    set -privilege advanced

    出現進階提示(「*>」)。

  3. 顯示每個叢集互連交換器的每個節點已設定多少個叢集互連介面:

    network device-discovery show -protocol cdp
    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------- --------
    cluster1-02/cdp
                e0a    cs1                       Eth1/2            N9K-C9336C
                e0b    cs2                       Eth1/2            N9K-C9336C
    cluster1-01/cdp
                e0a    cs1                       Eth1/1            N9K-C9336C
                e0b    cs2                       Eth1/1            N9K-C9336C
    
    4 entries were displayed.
  4. 檢查每個叢集介面的管理或作業狀態。

    1. 顯示網路連接埠屬性:

      network port show -ipspace Cluster
      顯示範例
      cluster1::*> network port show -ipspace Cluster
      
      Node: cluster1-02
                                                        Speed(Mbps) Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status
      --------- ------------ ---------------- ---- ---- ----------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy
      
      Node: cluster1-01
                                                        Speed(Mbps) Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status
      --------- ------------ ---------------- ---- ---- ----------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy
      
      4 entries were displayed.
    2. 顯示關於生命的資訊:

      network interface show -vserver Cluster
      顯示範例
      cluster1::*> network interface show -vserver Cluster
      
                  Logical            Status     Network            Current       Current Is
      Vserver     Interface          Admin/Oper Address/Mask       Node          Port    Home
      ----------- ------------------ ---------- ------------------ ------------- ------- ----
      Cluster
                  cluster1-01_clus1  up/up      169.254.209.69/16  cluster1-01   e0a     true
                  cluster1-01_clus2  up/up      169.254.49.125/16  cluster1-01   e0b     true
                  cluster1-02_clus1  up/up      169.254.47.194/16  cluster1-02   e0a     true
                  cluster1-02_clus2  up/up      169.254.19.183/16  cluster1-02   e0b     true
      
      4 entries were displayed.
  5. 驗證遠端叢集介面的連線能力:

更新版本ONTAP

您可以使用 network interface check cluster-connectivity 命令以啟動叢集連線的存取檢查、然後顯示詳細資料:

network interface check cluster-connectivity startnetwork 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
------ -------------------------- -------------------- ------------------- -----------
node1
       3/5/2022 19:21:18 -06:00   cluster1-01_clus2    cluster1-02-clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-01_clus2    cluster1-02_clus2   none
node2
       3/5/2022 19:21:18 -06:00   cluster1-02_clus2    cluster1-01_clus1   none
       3/5/2022 19:21:20 -06:00   cluster1-02_clus2    cluster1-01_clus2   none
所有 ONTAP 版本

對於所有 ONTAP 版本、您也可以使用 cluster ping-cluster -node <name> 檢查連線能力的命令:

cluster ping-cluster -node <name>

cluster1::*> cluster ping-cluster -node local
Host is cluster1-02
Getting addresses from network interface table...
Cluster cluster1-01_clus1 169.254.209.69 cluster1-01     e0a
Cluster cluster1-01_clus2 169.254.49.125 cluster1-01     e0b
Cluster cluster1-02_clus1 169.254.47.194 cluster1-02     e0a
Cluster cluster1-02_clus2 169.254.19.183 cluster1-02     e0b
Local = 169.254.47.194 169.254.19.183
Remote = 169.254.209.69 169.254.49.125
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 4 path(s):
    Local 169.254.19.183 to Remote 169.254.209.69
    Local 169.254.19.183 to Remote 169.254.49.125
    Local 169.254.47.194 to Remote 169.254.209.69
    Local 169.254.47.194 to Remote 169.254.49.125
Larger than PMTU communication succeeds on 4 path(s)
RPC status:
2 paths up, 0 paths down (tcp check)
2 paths up, 0 paths down (udp check)
  1. 驗證是否已在所有叢集生命體上啟用自動還原命令:

    network interface show -vserver Cluster -fields auto-revert
    顯示範例
    cluster1::*> network interface show -vserver Cluster -fields auto-revert
    
              Logical
    Vserver   Interface           Auto-revert
    --------- ––––––-------------- ------------
    Cluster
              cluster1-01_clus1   true
              cluster1-01_clus2   true
              cluster1-02_clus1   true
              cluster1-02_clus2   true
    4 entries were displayed.
接下來呢?

"安裝NX-OS軟體"