Sun Cluster 軟體安裝指南 (適用於 Solaris 作業系統)

Procedure如何取消配置 Sun Cluster 軟體來修正安裝問題

如果安裝的節點無法加入叢集或您需要校正配置資訊,請執行此程序。例如,在所有節點上執行此程序來重新配置傳輸配接卡或私用網路位址。


備註 –

如果節點已加入叢集,並且已不再處於安裝模式 (如如何驗證法定配置與安裝模式中的步驟 2 所述),則請勿執行此程序,而是應參閱「Sun Cluster 系統管理指南(適用於 Solaris 作業系統)」中的「如何從叢集節點移除 Sun Cluster 軟體」


開始之前

嘗試重新執行節點的叢集配置。您可以藉由在節點上重複 Sun Cluster 軟體配置來修正特定的叢集節點配置錯誤。

  1. 將您想要取消配置的每個節點增加到叢集的節點認證清單。

    若您要取消配置單一節點叢集,請跳至步驟 2

    1. 在您要取消配置之節點以外的使用中叢集成員上,登入為超級使用者。

    2. 指定要增加至認證清單之節點的名稱。


      phys-schost# /usr/cluster/bin/claccess allow -h nodename
      
      -h nodename

      指定要增加到認證清單中的節點名稱。

      您也可以使用 clsetup 公用程式來執行此作業。請參閱「Sun Cluster 系統管理指南(適用於 Solaris 作業系統)」中的「如何新增節點至已授權的節點清單」,以取得相關程序資訊。

  2. 在您要取消配置的節點上登入為超級使用者。

  3. 關閉節點。


    phys-schost# shutdown -g0 -y -i0
    
  4. 重新啟動節點為非叢集模式。

    • 在 SPARC 架構的系統上,執行下列指令:


      ok boot -x
      
    • 在 x86 架構的系統上,執行下列指令:

      1. 在 GRUB 功能表上,使用箭頭鍵選取適當的 Solaris 項目,然後輸入 e 編輯其指令。

        GRUB 功能表會以類似以下的方式顯示:


        GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
        +----------------------------------------------------------------------+
        | Solaris 10 /sol_10_x86                                               |
        | Solaris failsafe                                                     |
        |                                                                      |
        +----------------------------------------------------------------------+
        Use the ^ and v keys to select which entry is highlighted.
        Press enter to boot the selected OS, 'e' to edit the
        commands before booting, or 'c' for a command-line.

        如需有關以 GRUB 為基礎的啟動之更多資訊,請參閱「System Administration Guide: Basic Administration」中的第 11 章「GRUB Based Booting (Tasks)」

      2. 在啟動參數畫面,使用箭頭鍵選取 kernel 項目並輸入 e 來編輯該項目。

        GRUB 啟動參數畫面會以類似以下的方式顯示:


        GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
        +----------------------------------------------------------------------+
        | root (hd0,0,a)                                                       |
        | kernel /platform/i86pc/multiboot                                     |
        | module /platform/i86pc/boot_archive                                  |
        +----------------------------------------------------------------------+
        Use the ^ and v keys to select which entry is highlighted.
        Press 'b' to boot, 'e' to edit the selected command in the
        boot sequence, 'c' for a command-line, 'o' to open a new line
        after ('O' for before) the selected line, 'd' to remove the
        selected line, or escape to go back to the main menu.
      3. 增加 -x 到指令來指定系統啟動為非叢集模式。


        [ Minimal BASH-like line editing is supported. For the first word, TAB
        lists possible command completions. Anywhere else TAB lists the possible
        completions of a device/filename. ESC at any time exits. ]
        
        grub edit> kernel /platform/i86pc/multiboot -x
        
      4. 按 Enter 接受變更,並返回啟動參數畫面。

        畫面會顯示已編輯的指令。


        GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
        +----------------------------------------------------------------------+
        | root (hd0,0,a)                                                       |
        | kernel /platform/i86pc/multiboot -x                                  |
        | module /platform/i86pc/boot_archive                                  |
        +----------------------------------------------------------------------+
        Use the ^ and v keys to select which entry is highlighted.
        Press 'b' to boot, 'e' to edit the selected command in the
        boot sequence, 'c' for a command-line, 'o' to open a new line
        after ('O' for before) the selected line, 'd' to remove the
        selected line, or escape to go back to the main menu.-
      5. 輸入 b 將節點啟動為非叢集模式。


        備註 –

        對核心啟動參數指令所做的這個變更不會在系統啟動後持續。下次您重新啟動節點時,將會啟動至叢集模式。若要轉而啟動為非叢集模式,請再次執行上述步驟以增加 -x 選項到核心啟動參數指令。


  5. 變更至不包含 Sun Cluster 套裝軟體提供的任何檔案的目錄,如根 (/) 目錄。


    phys-schost# cd /
    
  6. 從叢集配置移除節點。


    phys-schost# /usr/cluster/bin/clnode remove
    

    已從叢集配置移除節點,但 Sun Cluster 軟體不會從節點移除。

    如需更多資訊,請參閱「clnode(1CL) 線上手冊」。

  7. 對每個要取消配置的其他節點重複步驟 2步驟 6

  8. (可選擇) 解除安裝 Sun Cluster 架構和資料服務套裝軟體。


    備註 –

    若您不需要移除或解除安裝 Sun Cluster 軟體,則可以跳過此步驟。


    此步驟同時也會從 Sun Java Enterprise System (Java ES) 產品註冊移除 Sun Cluster 項目。若 Java ES 產品註冊包含已安裝 Sun Cluster 軟體的記錄,Java ES 安裝程式會將 Sun Cluster 元件顯示為灰色,而且不允許重新安裝。

    1. 啟動 uninstall 程式。

      執行以下指令,其中版本 為 Java ES 的發行版本,而您就是從這個版本安裝 Sun Cluster 軟體。


      phys-schost# /var/sadm/prod/SUNWentsysver/uninstall
      
    2. 遵循螢幕上的指示選取要解除安裝的 Sun Cluster 元件。


      備註 –

      若已安裝 Sun Cluster Geographic Edition 軟體,就必須同時解除安裝該軟體。


      如需有關使用 uninstall 程式的更多資訊,請參閱「Sun Java Enterprise System 5 Installation Guide for UNIX」中的第 8 章「Uninstalling」

接下來的步驟

若要在節點上重新安裝或重新配置 Sun Cluster 軟體,請參閱表 2–1。此表列出了所有安裝作業和執行作業的順序。

若要從叢集實際移除節點,請參閱「Sun Cluster 3.1 - 3.2 Hardware Administration Manual for Solaris OS」中的「How to Remove an Interconnect Component」,以及適於您所用儲存陣列的「Sun Cluster Hardware Administration Collection」手冊中的移除程序。