Sun Cluster 系统管理指南(适用于 Solaris OS)

x86: 示例 — 关闭群集节点

以下示例显示了关闭节点 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 PST 2004

Changing to init state 0 - please wait
Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32... 
THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

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)
failfasts disabled on node 1
Print services already stopped.
Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15
umount: /global/.devices/node@2 busy
umount: /global/.devices/node@1 busy
The system is down.
syncing file systems... done
WARNING: CMM: Node being shut down.
Type any key to continue