以下示例说明关闭节点 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 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 phys-schost-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: |