以下示例展示关闭节点 phys-schost-1、然后在非群集模式下重新启动时的控制台输出。 -g0 选项将宽延期设置为零,而 -y 表示在遇到确认问题时,自动回答 yes,-i0 调用 0 运行级别(零)。群集中其它节点的控制台上也显示此节点的关闭消息。
# scswitch -S -h phys-schost-1 # shutdown -g0 -y -i0 May 2 10:08:46 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# ... rg_name = schost-sa-1 ... offline node = phys-schost-2 ... num of node = 0 ... phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. syslogd: going down on signal 15 ... The system is down. syncing file systems... done WARNING: node 1 is being shut down. Program terminated ok boot -x ... Not booting as part of cluster ... The system is ready. phys-schost-1 console login: |