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

將CN1610叢集交換器移轉至BS-53248叢集交換器

貢獻者

若要將叢集中的CN1610叢集交換器移轉至Broadcom支援的BS-53248叢集交換器、請檢閱移轉需求、然後遵循移轉程序。

支援下列叢集交換器:

  • CN1610.

  • Bes - 53248-

檢閱要求

確認您的組態符合下列需求:

  • 將 BS-53248 交換器上的部分連接埠設定為在 10GbE 執行。

  • 從節點到 BS-53248 叢集交換器的 10GbE 連線能力已規劃、移轉及記錄。

  • 叢集運作正常(記錄中不應有錯誤或類似問題)。

  • 初始自訂 BS-53248 交換器已完成、因此:

    • BS-53248 交換器正在執行最新建議版本的 EFOS 軟體。

    • 參考組態檔(RCT)已套用至交換器。

    • 任何站台自訂、例如DNS、NTP、SMTP、SNMP、和SSH、在新交換器上設定。

節點連線

叢集交換器支援下列節點連線:

  • NetApp CN1610 :連接埠 0/1 到 0/12 ( 10GbE )

  • BS-53248 :連接埠 0/1-0/16 ( 10GbE/25GbE )

    註 購買連接埠授權即可啟動其他連接埠。

ISL連接埠

叢集交換器使用下列交換器間連結(ISL)連接埠:

  • NetApp CN1610 :連接埠 0/13 至 0/16 ( 10GbE )

  • BS-53248 :連接埠 0/55-0/56 ( 100GbE )

"NetApp Hardware Universe SUR_" 包含ONTAP 有關支援功能的資訊、支援的EFOS韌體、以及連接至BE-53248叢集交換器的纜線。

ISL纜線

適當的ISL纜線如下:

  • *開頭:*適用於CN1610至CN1610(SFP+至SFP+)、四條SFP+光纖或銅線直接連接纜線。

  • *最終版本:*適用於BS53248至BS53248(QSFP28至QSFP28)、兩條QSFP28光纖收發器/光纖或銅線直接附加纜線。

移轉交換器

請遵循此程序、將CN1610叢集交換器移轉至BS-53248叢集交換器。

關於範例

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

  • 這些範例使用兩個節點、每個節點都部署兩個10 GbE叢集互連連接埠: e0ae0b

  • 命令輸出可能會因ONTAP 各種版本的不相同的更新而有所不同。

  • 要更換的CN1610交換器是「CL1」和「CL2」。

  • 用於更換CN1610交換器的BS-53248交換器為「CS1」和「CS2」。

  • 節點是「node1」和「node2」。

  • 交換器CL2會先由CS2取代、接著由CS1取代CL1。

  • BS-53248交換器預先載入支援版本的參考組態檔(RCF)和乙太網路架構作業系統(EFOS)、並將ISL纜線連接至連接埠55和56。

  • 叢集LIF名稱為節點1的「node1_clus1」和「node1_clus2」、節點2的「node2_clus1」和「node2_clus2」。

關於這項工作

本程序涵蓋下列案例:

  • 叢集從兩個節點開始、連接至兩個CN1610叢集交換器。

  • CN1610交換器CL2由BS-53248交換器CS2取代:

    • 關閉連接至叢集節點的連接埠。必須同時關閉所有連接埠、以避免叢集不穩定。

    • 從連接至CL2的所有節點上的所有叢集連接埠拔下纜線、然後使用支援的纜線將連接埠重新連接至新叢集交換器CS2。

  • CN1610交換器CL1由BY-53248交換器CS1取代:

    • 關閉連接至叢集節點的連接埠。必須同時關閉所有連接埠、以避免叢集不穩定。

    • 從連接至CL1的所有節點上的所有叢集連接埠拔下纜線、然後使用支援的纜線將連接埠重新連接至新叢集交換器CS1。

註 在此程序期間、不需要運作中的交換器間連結(ISL)。這是因為RCF版本變更可能會暫時影響ISL連線。為確保叢集作業不中斷、下列程序會在目標交換器上執行步驟時、將所有叢集生命體移轉至作業夥伴交換器。

步驟1:準備移轉

  1. 如果AutoSupport 此叢集啟用了「支援」功能、請叫用AutoSupport 下列訊息來禁止自動建立案例:

    「系統節點AutoSupport 不完整地叫用節點*-type all -Message MAn=xh」

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

    註 此資訊可通知技術支援人員執行此維護工作、以便在維護期間抑制自動建立案例。AutoSupport

    下列命令會禁止自動建立兩小時的個案:

    cluster1::*> system node autosupport invoke -node * -type all -message MAINT=2h
  2. 將權限等級變更為進階、並在系統提示您繼續時輸入* y*:

    "進階權限"

    出現進階提示(*>)。

步驟2:設定連接埠和纜線

  1. 在新的交換器上、確認 ISL 已連接好纜線、且在交換器 CS1 和 CS2 之間運作正常:

    「How port-channel」

    顯示範例

    以下範例顯示交換器CS1上的ISL連接埠為* up*:

    (cs1)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
    (cs1) #

    以下範例顯示交換器CS2上的ISL連接埠為* up*:

    (cs2)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
  2. 在連接至現有叢集交換器的每個節點上顯示叢集連接埠:

    「network device-dDiscovery show -protocol cup」

    顯示範例

    以下範例顯示每個叢集互連交換器的每個節點已設定多少個叢集互連介面:

    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node2      /cdp
                e0a    CL1                       0/2               CN1610
                e0b    CL2                       0/2               CN1610
    node1      /cdp
                e0a    CL1                       0/1               CN1610
                e0b    CL2                       0/1               CN1610
  3. 確定每個叢集介面的管理或作業狀態。

    1. 確認所有叢集連接埠都已存在 up 使用 healthy 狀態:

      「網路連接埠show -IPSpace Cluster」

      顯示範例
      cluster1::*> network port show -ipspace Cluster
      
      Node: node1
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
      
      Node: node2
                                                                             Ignore
                                                        Speed(Mbps) Health   Health
      Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
      --------- ------------ ---------------- ---- ---- ----------- -------- ------
      e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
      e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    2. 確認所有叢集介面(l生命)都位於其主連接埠上:

      「網路介面show -vserver叢集」

    顯示範例
    cluster1::*> network interface show -vserver Cluster
    
                Logical    Status     Network            Current       Current Is
    Vserver     Interface  Admin/Oper Address/Mask       Node          Port    Home
    ----------- ---------- ---------- ------------------ ------------- ------- ----
    Cluster
                node1_clus1  up/up    169.254.209.69/16  node1         e0a     true
                node1_clus2  up/up    169.254.49.125/16  node1         e0b     true
                node2_clus1  up/up    169.254.47.194/16  node2         e0a     true
                node2_clus2  up/up    169.254.19.183/16  node2         e0b     true
  4. 驗證叢集是否顯示兩個叢集交換器的資訊:

更新版本ONTAP

從 ONTAP 9.8 開始、請使用命令: system switch ethernet show -is-monitoring-enabled-operational true

cluster1::*> system switch ethernet show -is-monitoring-enabled-operational true
Switch                        Type             Address       Model
----------------------------- ---------------- ------------- --------
CL1                           cluster-network  10.10.1.101   CN1610
     Serial Number: 01234567
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP

CL2                           cluster-network  10.10.1.102   CN1610
     Serial Number: 01234568
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP
cluster1::*>
更新版本ONTAP

對於 ONTAP 9.7 及更早版本、請使用命令: system cluster-switch show -is-monitoring-enabled-operational true

cluster1::*> system cluster-switch show -is-monitoring-enabled-operational true
Switch                        Type             Address       Model
----------------------------- ---------------- ------------- --------
CL1                           cluster-network  10.10.1.101   CN1610
     Serial Number: 01234567
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP

CL2                           cluster-network  10.10.1.102   CN1610
     Serial Number: 01234568
      Is Monitored: true
            Reason:
  Software Version: 1.3.0.3
    Version Source: ISDP
cluster1::*>
  1. 停用叢集生命週轉的自動還原功能。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert false
  2. 在叢集交換器 CL2 上、關閉連接至節點叢集連接埠的連接埠、以便容錯移轉叢集生命期:

    (CL2)# configure
    (CL2)(Config)# interface 0/1-0/16
    (CL2)(Interface 0/1-0/16)# shutdown
    (CL2)(Interface 0/1-0/16)# exit
    (CL2)(Config)# exit
    (CL2)#
  3. 驗證叢集生命期是否已容錯移轉至叢集交換器 CL1 上託管的連接埠。這可能需要幾秒鐘的時間。

    「網路介面show -vserver叢集」

    顯示範例
    cluster1::*> network interface show -vserver Cluster
                Logical      Status     Network            Current       Current Is
    Vserver     Interface    Admin/Oper Address/Mask       Node          Port    Home
    ----------- ------------ ---------- ------------------ ------------- ------- ----
    Cluster
                node1_clus1  up/up      169.254.209.69/16  node1         e0a     true
                node1_clus2  up/up      169.254.49.125/16  node1         e0a     false
                node2_clus1  up/up      169.254.47.194/16  node2         e0a     true
                node2_clus2  up/up      169.254.19.183/16  node2         e0a     false
  4. 驗證叢集是否正常:

    「叢集展示」

    顯示範例
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  5. 將所有叢集節點連線纜線從舊版 CL2 交換器移至新的 CS2 交換器。

  6. 確認移至 CS2 的網路連線健全狀況:

    「網路連接埠show -IPSpace Cluster」

    顯示範例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    
    Node: node2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false

    所有已移動的叢集連接埠都應該是 up

  7. 檢查叢集連接埠上的鄰近資訊:

    「network device-dDiscovery show -protocol cup」

    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node2      /cdp
                e0a    CL1                       0/2               CN1610
                e0b    cs2                       0/2               BES-53248
    node1      /cdp
                e0a    CL1                       0/1               CN1610
                e0b    cs2                       0/1               BES-53248
  8. 從交換器 CS2 的觀點來看、確認交換器連接埠連線狀況良好:

    cs2# show port all
    cs2# show isdp neighbors
  9. 在叢集交換器 CL1 上、關閉連接至節點叢集連接埠的連接埠、以便容錯移轉叢集生命期:

    (CL1)# configure
    (CL1)(Config)# interface 0/1-0/16
    (CL1)(Interface 0/1-0/16)# shutdown
    (CL1)(Interface 0/13-0/16)# exit
    (CL1)(Config)# exit
    (CL1)#

    所有叢集生命都會容錯移轉至 CS2 交換器。

  10. 驗證叢集生命安全移轉到交換器 CS2 上主控的連接埠。這可能需要幾秒鐘的時間:

    「網路介面show -vserver叢集」

    顯示範例
    cluster1::*> network interface show -vserver Cluster
                Logical      Status     Network            Current       Current Is
    Vserver     Interface    Admin/Oper Address/Mask       Node          Port    Home
    ----------- ------------ ---------- ------------------ ------------- ------- ----
    Cluster
                node1_clus1  up/up      169.254.209.69/16  node1         e0b     false
                node1_clus2  up/up      169.254.49.125/16  node1         e0b     true
                node2_clus1  up/up      169.254.47.194/16  node2         e0b     false
                node2_clus2  up/up      169.254.19.183/16  node2         e0b     true
  11. 驗證叢集是否正常:

    「叢集展示」

    顯示範例
    cluster1::*> cluster show
    Node       Health  Eligibility   Epsilon
    ---------- ------- ------------- -------
    node1      true    true          false
    node2      true    true          false
  12. 將叢集節點連線纜線從 CL1 移至新的 CS1 交換器。

  13. 確認移至 CS1 的網路連線健全狀況:

    「網路連接埠show -IPSpace Cluster」

    顯示範例
    cluster1::*> network port show -ipspace Cluster
    
    Node: node1
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false
    
    Node: node2
                                                                           Ignore
                                                      Speed(Mbps) Health   Health
    Port      IPspace      Broadcast Domain Link MTU  Admin/Oper  Status   Status
    --------- ------------ ---------------- ---- ---- ----------- -------- ------
    e0a       Cluster      Cluster          up   9000  auto/10000 healthy  false
    e0b       Cluster      Cluster          up   9000  auto/10000 healthy  false

    所有已移動的叢集連接埠都應該是 up

  14. 檢查叢集連接埠上的鄰近資訊:

    「網路裝置探索秀」

    顯示範例
    cluster1::*> network device-discovery show -protocol cdp
    Node/       Local  Discovered
    Protocol    Port   Device (LLDP: ChassisID)  Interface         Platform
    ----------- ------ ------------------------- ----------------  ----------------
    node1      /cdp
                e0a    cs1                       0/1               BES-53248
                e0b    cs2                       0/1               BES-53248
    node2      /cdp
                e0a    cs1                       0/2               BES-53248
                e0b    cs2                       0/2               BES-53248
  15. 從交換器 CS1 的觀點來看、確認交換器連接埠連線狀況良好:

    cs1# show port all
    cs1# show isdp neighbors
  16. 確認 CS1 和 CS2 之間的 ISL 仍可運作:

    「How port-channel」

    顯示範例

    以下範例顯示交換器CS1上的ISL連接埠為* up*:

    (cs1)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
    (cs1) #

    以下範例顯示交換器CS2上的ISL連接埠為* up*:

    (cs2)# show port-channel 1/1
    Local Interface................................ 1/1
    Channel Name................................... Cluster-ISL
    Link State..................................... Up
    Admin Mode..................................... Enabled
    Type........................................... Dynamic
    Port channel Min-links......................... 1
    Load Balance Option............................ 7
    (Enhanced hashing mode)
    
    Mbr    Device/       Port       Port
    Ports  Timeout       Speed      Active
    ------ ------------- ---------  -------
    0/55   actor/long    100G Full  True
           partner/long
    0/56   actor/long    100G Full  True
           partner/long
  17. 如果未自動移除已更換的 CN1610 交換器、請將其從叢集的交換器表中刪除:

更新版本ONTAP

從 ONTAP 9.8 開始、請使用命令: system switch ethernet delete -device device-name

cluster::*> system switch ethernet delete -device CL1
cluster::*> system switch ethernet delete -device CL2
更新版本ONTAP

對於 ONTAP 9.7 及更早版本、請使用命令: system cluster-switch delete -device device-name

cluster::*> system cluster-switch delete -device CL1
cluster::*> system cluster-switch delete -device CL2

步驟3:驗證組態

  1. 在叢集生命體上啟用自動還原。

    cluster1::*> network interface modify -vserver Cluster -lif * -auto-revert true
  2. 驗證叢集生命區是否已還原至其主連接埠(這可能需要一分鐘時間):

    「網路介面show -vserver叢集」

    如果叢集l生命 尚未還原至其主連接埠、請手動還原它們:

    「網路介面回復-vserver叢集-lIF *」

  3. 驗證叢集是否正常:

    「叢集展示」

  4. Ping遠端叢集介面以驗證連線能力:

    cluster ping-cluster -node <name>

    顯示範例
    cluster1::*> cluster ping-cluster -node node2
    Host is node2
    Getting addresses from network interface table...
    Cluster node1_clus1 169.254.209.69  node1     e0a
    Cluster node1_clus2 169.254.49.125  node1     e0b
    Cluster node2_clus1 169.254.47.194  node2     e0a
    Cluster node2_clus2 169.254.19.183  node2     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.47.194 to Remote 169.254.209.69
        Local 169.254.47.194 to Remote 169.254.49.125
        Local 169.254.19.183 to Remote 169.254.209.69
        Local 169.254.19.183 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)
  5. 若要設定記錄收集、請針對每個交換器執行下列命令。系統會提示您輸入用於記錄收集的交換器名稱、使用者名稱和密碼。

    「系統交換器乙太網路記錄設定密碼」

    顯示範例
    cluster1::*> system switch ethernet log setup-password
    Enter the switch name: <return>
    The switch name entered is not recognized.
    Choose from the following list:
    cs1
    cs2
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs1
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
    
    cluster1::*> system switch ethernet log setup-password
    
    Enter the switch name: cs2
    Would you like to specify a user other than admin for log collection? {y|n}: n
    
    Enter the password: <enter switch password>
    Enter the password again: <enter switch password>
  6. 若要啟動記錄收集、請執行下列命令、以先前命令中使用的切換參數取代裝置。這會同時啟動記錄收集的兩種類型:詳細的 * 支援 * 記錄檔和 * 定期 * 資料的每小時集合。

    system switch ethernet log modify -device <switch-name> -log-request true

    顯示範例
    cluster1::*> system switch ethernet log modify -device cs1 -log-request true
    
    Do you want to modify the cluster switch log collection configuration?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.
    
    cluster1::*> system switch ethernet log modify -device cs2 -log-request true
    
    Do you want to modify the cluster switch log collection configuration?
    {y|n}: [n] y
    
    Enabling cluster switch log collection.

    等待 10 分鐘、然後檢查記錄收集是否完成:

    system switch ethernet log show

    警告 如果這些命令中有任何一個傳回錯誤、或記錄集合未完成、請聯絡 NetApp 支援部門。
  7. 如果您禁止自動建立個案、請叫用AutoSupport 下列訊息來重新啟用:

    「系統節點AutoSupport 不完整地叫用節點*-type all -most MAn=end」

    cluster::*> system node autosupport invoke -node * -type all -message MAINT=END