以下示例将显示关闭节点 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# 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 |