您還可以非叢集模式啟動節點,使該節點不會參與成為叢集的成員。這在安裝叢集軟體或執行某些管理程序 (如修補節點) 時,非常有用。
在以非叢集模式啟動的叢集上成為超級使用者。
使用 scswitch 和 shutdown 指令來關閉節點。
# scswitch -S -h nodelist # shutdown -g0 -y -i0 |
確認節點顯示在 ok 提示。
使用 boot(1M) 指令以及 -x 選項,以非叢集模式啟動節點。
ok boot -x |
節點的主控台出現的訊息指出,節點不是叢集的一部份。
以下範例顯示 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: |