請勿在叢集主控台上使用 send brk 來關閉叢集節點。叢集中並不支援這個指令。
SPARC:如果叢集正在執行 Oracle Parallel Server or Oracle Real Application Clusters,請關閉所有資料庫實例。
請參閱 Oracle Parallel Server or Oracle Real Application Clusters 產品說明文件,以取得關機程序的說明。
成為要關機之叢集節點的超級使用者。
將所有的資源群組、資源以及裝置群組,從要關閉的節點切換到其他叢集成員。
在要關閉的節點上,鍵入下列指令。
# scswitch -S -h node |
從指定的節點撤出所有的裝置服務與資源群組。
指定您要用來轉換資源群組及裝置群組的節點。
關閉叢集節點。
在要關閉的節點上,鍵入下列指令。
# shutdown -g0 -y -i0 |
在 [目前的啟動參數] 畫面上,請確認叢集節點顯示 ok 提示符號或 Select (b)oot or (i)nterpreter 提示符號。
必要時請關閉節點電源。
以下範例顯示關閉 phys-schost-1 節點時的主控台輸出。-g0 選項將寬限期設成零,-y 提供自動的 yes 回應,以確認問題,以及 -i0 啟動執行層次 0 (零)。這個節點的關閉訊息出現在叢集中另一個節點的主控台上。
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Wed Mar 10 13:47:32 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 |
以下範例顯示關閉 phys-schost-1 節點時的主控台輸出。-g0 選項將寬限期設成零,-y 提供自動的 yes 回應,以確認問題,以及 -i0 啟動執行層次 0 (零)。這個節點的關閉訊息出現在叢集中另一個節點的主控台上。
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 Shutdown started. Wed Mar 10 13:47:32 PST 2004 Changing to init state 0 - please wait Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32... THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) failfasts disabled on node 1 Print services already stopped. Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15 umount: /global/.devices/node@2 busy umount: /global/.devices/node@1 busy The system is down. syncing file systems... done WARNING: CMM: Node being shut down. Type any key to continue |
請參閱如何啟動叢集節點 以重新啟動已關閉的叢集節點。