此程序說明如何啟動叢集,該叢集的節點已關閉且位於 SPARC 系統上的 ok 提示符號或位於以 GRUB 為基礎的 x86 系統上的 Press any key to continue 訊息。
此程序提供長形式的 Sun Cluster 指令。大多數指令還有簡短的形式。除了指令名稱有長形式和短形式之分外,指令本身是相同的。如需指令及其短形式的清單,請參閱附錄 ASun Cluster 以物件為導向的指令。
啟動每個節點進入叢集模式。
在基於 SPARC 的系統上,執行下列動作︰
ok boot |
在基於 x86 的系統上,執行下列動作︰
當螢幕顯示 GRUB 功能表時,請選取合適的 Solaris 項目然後按下 Enter。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)」。
確認節點啟動成功而且是在線上狀態。
cluster(1CL) 狀態指令可報告節點的狀態。
# cluster status -t node |
如果叢集節點的 /var 檔案系統已滿,Sun Cluster 可能無法在該節點上重新啟動。如果出現此問題,請參閱如何修復整個 /var 檔案系統。
以下範例顯示 phys-schost-1 節點啟動為叢集時的主控台輸出。類似的訊息會出現在叢集中其他節點的主控台上。
ok boot Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster NOTICE: Node phys-schost-1 with votecount = 1 added. NOTICE: Node phys-schost-2 with votecount = 1 added. NOTICE: Node phys-schost-3 with votecount = 1 added. ... NOTICE: Node phys-schost-1: attempting to join cluster ... NOTICE: Node phys-schost-2 (incarnation # 937690106) has become reachable. NOTICE: Node phys-schost-3 (incarnation # 937690290) has become reachable. NOTICE: cluster has reached quorum. NOTICE: node phys-schost-1 is up; new incarnation number = 937846227. NOTICE: node phys-schost-2 is up; new incarnation number = 937690106. NOTICE: node phys-schost-3 is up; new incarnation number = 937690290. NOTICE: Cluster members: phys-schost-1 phys-schost-2 phys-schost-3. ... |