Sun Cluster 3.0 系統管理手冊

2.2.1 如何關閉叢集節點

  1. (選擇性)。在執行 Oracle Parallel Server(OPS)的叢集節點時,請關閉所有的 OPS 資料庫實例。

    請參閱 Oracle Parallel Server 產品文件來取得關機程序。

  2. 成為要關機之叢集節點的超級使用者(superuser)。

  3. 使用 scswitch 以及 shutdown 指令來關閉叢集節點。

    在要關機的節點上,輸入下列指令。


    # scswitch -S -h node
    # shutdown -g 0 -y
    
  4. 確認叢集節點已經到達 ok PROM 提示。

  5. 必要時請關閉節點電源。

2.2.1.1 範例-關閉叢集節點

以下範例顯示關閉 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# 
INIT: New run level: 0
The system is coming down.  Please wait.
Notice: rgmd is being stopped.
Notice: rpc.pmfd is being stopped.
Notice: rpc.fed is being stopped.
umount: /global/.devices/node@1 busy
umount: /global/phys-schost-1 busy
The system is down.
syncing file systems... done
Program terminated
ok 

2.2.1.2 下一步

請參閱 "2.2.2 如何啟動叢集節點" 來重新啟動已經關機的叢集節點。