以下範例顯示在停止叢集正常作業並關閉所有節點使其顯示 ok 提示符號時的主控台輸出。 -g 0 選項可將關機寬限期設成零,-y 提供自動的 yes 回應,以確認問題。 關機訊息還會顯示在叢集中其他節點的主控台上。
# scshutdown -g0 -y 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. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate) The system is down. syncing file systems... done Program terminated ok |