以下示例展示停止正常节点操作并将所有节点都关闭到 ok 提示符下时的控制台输出。 -g 0 选项将关闭宽延期设置为零,而 -y 表示在遇到确认问题时,自动回答 yes。群集中其它节点的控制台上也显示关闭消息。
# scshutdown -g0 -y May 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. 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 |