您還可以非叢集模式啟動節點,使該節點不是叢集的成員。這在安裝叢集軟體或執行某些管理程序如修補節點時,非常有用。
在要以非叢集模式啟動的叢集上成為超級使用者(superuser)
使用 scswitch 與 shutdown 指令來關閉節點。
# scswitch -S -h node # shutdown -g 0 -y |
確認節點顯示 ok PROM 提示。
使用 boot(1M) 指令以及 -x 選項,以非叢集模式啟動節點。
ok boot -x |
節點的主控台出現的訊息指出,節點不是叢集的一部份。
以下範例顯示 phys-schost-1 節點先關閉再以非叢集模式啟動時的主控台輸出。-g -0 選項可將寬限值設成零,-y 可對確認問題自動提供 yes(是)的回應。這個節點的關閉訊息出現在叢集中另一個節點的主控台上。
# scswitch -S -h phys-schost-1 # shutdown -g 0 -y Sep 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: |