Sun Cluster 3.0 系统管理指南

2.2.3 如何重新引导群集节点

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

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

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

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

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


    # scswitch -S -h node
    # shutdown -g 0 -y -i 6
    

    shutdown-i 6 选项使节点 在 ok PROM 提示符下关闭后又重新引导。


    注意:

    群集节点必须有到群集互联的工作连接,才能获得群 集成员的身份。


  4. 检验节点是否已引导且没有错误,并且处于联机状态。

    scstat(1M) 命令报告一个节点的状态。


    # scstat -n
    

2.2.3.1 示例-重新引导一个群集节点

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


# scswitch -S -h phys-schost-1
# shutdown -g 0 -y -i 6
Sep  2 10:08:46 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled.
phys-schost-1# 
INIT: New run level: 6
The system is coming down.  Please wait.
System services are now being stopped.
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
rebooting...
Resetting ... 
,,,
Sun Ultra 1 SBus (UltraSPARC 143MHz), No Keyboard
OpenBoot 3.11, 128 MB memory installed, Serial #7982421.
Ethernet address 8:0:20:79:cd:55, Host ID: 8079cd55.
...
Rebooting with command: boot
...
Hostname: phys-schost-1
Booting as part of a cluster
...
NOTICE: Node 1: attempting to join cluster
...
NOTICE: Node 1: joined cluster
...
The system is coming up.  Please wait.
The system is ready.
phys-schost-1 console login: