Sun Cluster 3.0 U1 系統管理手冊

2.2.4 如何以非叢集模式啟動叢集節點

您還可以非叢集模式啟動節點,使該節點不會參與成為叢集的成員。這在安裝叢集軟體或執行某些管理程序 (如修補節點) 時,非常有用。

  1. 在以非叢集模式啟動的叢集上成為超級使用者。

  2. 使用 scswitchshutdown 指令來關閉節點。


    # scswitch -S -h nodelist
    # shutdown -g0 -y -i0
    

  3. 確認節點顯示在 ok 提示。

  4. 使用 boot(1M) 指令以及 -x 選項,以非叢集模式啟動節點。


    ok boot -x
    

    節點的主控台出現的訊息指出,節點不是叢集的一部份。

2.2.4.1 範例 - 以非叢集模式啟動叢集節點

以下範例顯示 phys-schost-1 節點先關閉再以非叢集模式啟動時的主控台輸出。--g0 選項設定寬限期為零, -y 提供自動的 yes 回應,以確認問題,而-i0 啟動執行層次 0 (零)。這個節點的關閉訊息出現在叢集中另一個節點的主控台上。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
May 2 10:08:46 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled.
phys-schost-1# 
...
rg_name = schost-sa-1 ...
offline node = phys-schost-2 ...
num of  node = 0 ...
phys-schost-1# 
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
Print services stopped.
syslogd: going down on signal 15
...
The system is down.
syncing file systems... done
WARNING: node 1 is being shut down.
Program terminated

ok boot -x
...
Not booting as part of cluster
...
The system is ready.
phys-schost-1 console login: