若雙分割區升級失敗,而且叢集狀態符合以下所有 條件的話,請執行此程序:
第一個分割區的節點已升級。
第二個分割區的節點都尚未升級。
第二個分割區的節點都不在叢集模式下。
若第一個分割區的升級成功,但您想要取消升級,也可以執行此程序。
請勿在第二個分割區上開始雙分割區升級處理後執行此程序。請改而執行如何從失敗的雙分割區升級回復。
在開始之前,請確認已停止所有的第二分割區節點。可以停止第一分割區節點,或者在非叢集模式下執行。
以超級使用者的身分執行所有步驟。
完成以下步驟,將第二分割區的每個節點啟動為非叢集模式。
在 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)」。
在啟動參數畫面中,使用方向鍵選取核心項目並鍵入 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. |
將 -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 |
按 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.- |
鍵入 b 將節點啟動至非叢集模式。
對核心啟動參數指令所做的這個變更不會在系統啟動後持續。下次您重新啟動節點時,將會啟動至叢集模式。若要轉而啟動為非叢集模式,請再次執行上述步驟來增加 -x 選項到核心啟動參數指令。
在第二分割區的每個節點上,執行 scinstall -u recover 指令。
# /usr/cluster/bin/scinstall -u recover |
此指令會復原原始的 CCR 資訊、復原原始的 /etc/vfstab 檔案,以及消除對啟動的修改。
將第二分割區的每個節點啟動為叢集模式。
# shutdown -g0 -y -i6 |
啟動第二分割區的節點時,第二分割區會重新繼續支援叢集資料服務,並以原始配置執行舊版軟體。
從備份媒體將原始軟體和配置資料復原到第一分割區的節點。
將第一分割區的每個節點啟動為叢集模式。
# shutdown -g0 -y -i6 |
節點會重新連結叢集。