Sun Cluster 3.0 系统管理指南

2.2.1 如何关闭群集节点

  1. (可选)。对于运行 Oracle Parallel Server (OPS) 的群集节点,请关闭所有 OPS 数据库 实例。

    有关关闭过程,请参阅 Oracle Parallel Server 产品文档。

  2. 成为要关闭的群集节点上的超级用户。

  3. 使用 scswitchshutdown 两个命令关闭群集节点。

    在要关闭的节点上,输入以下命令。


    # scswitch -S -h node
    # shutdown -g 0 -y
    
  4. 检验群集节点是否已在 ok PROM 提示符下。

  5. 如有必要,请关闭节点电源。

2.2.1.1 示例-关闭群集节点

以下示例展示关闭节点 phys-schost-1 时的控制台输出。-g 0 选项将宽延期设置为 零,-y 自动提供对确认问题的 yes 响应。群集中其他节点的 控制台上也显示此节点的关闭消息。


# scswitch -S -h phys-schost-1
# shutdown -g 0 -y
Sep  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 

2.2.1.2 从此处可转到何处

要重新启动已关闭的群集节点,请参见"2.2.2 如何引导群集节点"