請執行 scshutdown(1M) 指令來關閉叢集,接著在每一個節點上使用 boot 指令來啟動叢集。
(選擇性)。在執行 Oracle Parallel Server(OPS)的叢集時,請關閉所有的 OPS 資料庫實例。
請參閱 Oracle Parallel Server 產品文件來取得關機程序。
成為叢集中某個節點的超級使用者(superuser)。
使用 scshutdown 指令來關閉叢集。
從叢集中的單一節點,請輸入下列指令。
# scshutdown -g 0 -y |
這樣會關閉每一個節點使其顯示 ok PROM 提示。
叢集節點和叢集交互連接之間必須有運轉中的連線,才能夠成為叢集成員。
啟動每一個節點。
節點的啟動順序沒有任何影響,除非您在二次關機之間進行變更。在這種情況時,您必須先啟動最後配置的節點。
ok boot |
當叢集元件啟動時,訊息會出現在啟動節點的主控台上。
確認節點啟動成功而且維持運轉。
scstat 指令可報告節點的狀態。
# scstat -n |
以下範例顯示先停止叢集正常作業並關閉所有節點使其顯示 ok 提示,然後重新啟動叢集時的主控台輸出。-g 0 選項可將寬限值設成零,-y 可對確認問題自動提供 yes(是)的回應。關機訊息還會出現在叢集中其他節點的主控台上。
# scshutdown -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. ... The system is down. syncing file systems... done Program terminated ok boot Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster ... NOTICE: Node 1: attempting to join cluster ... NOTICE: Node 2 (incarnation # 937690106) has become reachable. NOTICE: Node 3 (incarnation # 937690290) has become reachable. NOTICE: cluster has reached quorum. ... NOTICE: Cluster members: 1 2 3 ... NOTICE: Node 1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: |