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

將 node2 磁碟重新指派給 node4

貢獻者 netapp-pcarriga

您需要先將屬於 node2 的磁碟重新指派給 node4 ,然後再驗證 node4 安裝。

步驟
  1. 驗證node2已在啟動選單停止,並將node2的磁碟重新指派給node4:

    boot_after_controller_replacement

    短暫延遲之後、系統會提示您輸入要取代的節點名稱。如果有共享磁碟(也稱為進階磁碟分割(ADP)或分割磁碟)、系統會提示您輸入HA合作夥伴的節點名稱。

    這些提示可能會被隱藏在主控台訊息中。如果您未輸入節點名稱或輸入不正確的名稱、系統會提示您再次輸入名稱。

    展開主控台輸出範例
    LOADER-A> boot_ontap menu ...
    *******************************
    *                             *
    * Press Ctrl-C for Boot Menu. *
    *                             *
    *******************************
    .
    .
    Please choose one of the following:
    
    (1) Normal Boot.
    (2) Boot without /etc/rc.
    (3) Change password.
    (4) Clean configuration and initialize all disks.
    (5) Maintenance mode boot.
    (6) Update flash from backup config.
    (7) Install new software first.
    (8) Reboot node.
    (9) Configure Advanced Drive Partitioning.
    Selection (1-9)? 22/7
    .
    .
    (boot_after_controller_replacement) Boot after controller upgrade
    (9a)                                Unpartition all disks and remove their ownership information.
    (9b)                                Clean configuration and initialize node with partitioned disks.
    (9c)                                Clean configuration and initialize node with whole disks.
    (9d)                                Reboot the node.
    (9e)                                Return to main boot menu.
    
    Please choose one of the following:
    
    (1) Normal Boot.
    (2) Boot without /etc/rc.
    (3) Change password.
    (4) Clean configuration and initialize all disks.
    (5) Maintenance mode boot.
    (6) Update flash from backup config.
    (7) Install new software first.
    (8) Reboot node.
    (9) Configure Advanced Drive Partitioning.
    Selection (1-9)? boot_after_controller_replacement
    .
    This will replace all flash-based configuration with the last backup to disks. Are you sure you want to continue?: yes
    .
    .
    Controller Replacement: Provide name of the node you would like to replace: <name of the node being replaced>
    Controller Replacement: Provide High Availability partner of node1: <nodename of the partner of the node being replaced>
    Changing sysid of node <node being replaced> disks.
    Fetched sanown old_owner_sysid = 536953334 and calculated old sys id = 536953334
    Partner sysid = 4294967295, owner sysid = 536953334
    .
    .
    .
    Terminated
    <node reboots>
    .
    .
    System rebooting...
    .
    Restoring env file from boot media...
    copy_env_file:scenario = head upgrade
    Successfully restored env file from boot media...
    .
    .
    System rebooting...
    .
    .
    .
    WARNING: System ID mismatch. This usually occurs when replacing a boot device or NVRAM cards!
    Override system ID? {y|n} y
    Login: ...
  2. 如果系統進入重新啟動循環並顯示以下訊息 no disks found,這是因為它已將連接埠重置回目標模式,因此無法看到任何磁碟。執行步驟3.透過步驟8.在 node4 上解決此問題。

  3. 在自動開機期間按 Ctrl-C 、在 loader> 提示下停止節點。

  4. 在載入程式提示下、進入維護模式:

    Boot_ONTAP maint

  5. 在維護模式中、顯示所有先前設定的啟動器連接埠、這些連接埠現在都處於目標模式:

    「ucadmin show」

    將連接埠改回啟動器模式:

    「ucadmin modify -m fs -t initiator -f Adapter name'」

  6. 確認連接埠已變更為啟動器模式:

    「ucadmin show」

  7. 結束維護模式:

    《停止》

    註

    如果您要從支援外部磁碟的系統升級到也支援外部磁碟的系統,請前往步驟8.

    如果您要從使用外部磁碟的系統升級到同時支援內部和外部磁碟的系統,例如 AFF A800 系統,請前往步驟9.

  8. 在載入程式提示下開機:

    Boot_ONTAP功能表

    現在、在開機時、節點可以偵測先前指派給它的所有磁碟、並可依預期開機。

    當您要取代的叢集節點使用根磁碟區加密時、 ONTAP 無法從磁碟讀取磁碟區資訊。還原根磁碟區的金鑰:

    1. 返回特殊的開機功能表:

      LOADER> boot_ontap menu

    Please choose one of the following:
    (1) Normal Boot.
    (2) Boot without /etc/rc.
    (3) Change password.
    (4) Clean configuration and initialize all disks.
    (5) Maintenance mode boot.
    (6) Update flash from backup config.
    (7) Install new software first.
    (8) Reboot node.
    (9) Configure Advanced Drive Partitioning.
    (10) Set Onboard Key Manager recovery secrets.
    (11) Configure node for external key management.
    
    Selection (1-11)? 10
    1. 選取*(10)Set Onboard Key Manager恢復機密*

    2. 輸入 y 出現下列提示:

      This option must be used only in disaster recovery procedures. Are you sure? (y or n): y

    3. 在提示字元下、輸入金鑰管理程式的通關密碼。

    4. 出現提示時輸入備份資料。

      註 您必須已取得中的通關密碼和備份資料 "準備節點以進行升級" 本程序的一節。
    5. 系統重新開機至特殊開機功能表後、請執行選項*(1)正常開機*

      註 您可能會在這個階段遇到錯誤。如果發生錯誤、請重複中的子步驟 步驟22 直到系統正常開機為止。
  9. 如果要從具有外部磁碟的系統升級到支援內部和外部磁碟的系統(例如AFF A800系統),請將節點 2 聚合設定為根聚合,以確認節點 4 從節點 2 的根聚合啟動。若要設定根聚合,請前往 node4 上的啟動選單並選擇選項 `5`進入維護模式。

    警告 您必須依照所示的確切順序執行下列子步驟;否則可能導致中斷運作、甚至資料遺失。

    下列程序會將node4設定為從節點2的根Aggregate開機:

    1. 進入維護模式:

      Boot_ONTAP maint

    2. 檢查node2 Aggregate的RAID、plex和Checksum資訊:

      「aggr狀態-r」

    3. 檢查node2 Aggregate的狀態:

      「aggr狀態」

    4. 如有必要、請將node2 Aggregate上線:

      "aggr_online root_aggr_from node2(aggr_online root_aggr_from node2)"

    5. 防止節點4從其原始根Aggregate開機:

      「aggr offline root_aggr_on_node4

    6. 將node2根Aggregate設為節點4的新根Aggregate:

      "aggr options aggr_fe node2 root"