可以引导一个节点,使之不充当群集成员,即以非群集模式引导。这在安装群集 软件或执行某些管理过程(如修补一个节点)时有用。
成员要在非群集模式下启动的节点上的超级用户。
使用 scswitch 和 shutdown 两个命令关闭节点。
# scswitch -S -h node # shutdown -g 0 -y |
检验群集节点是否已在 ok PROM 提示符下。
使用 boot(1M) 命令加上 -x 选项来在非群集模式下引导节点。
ok boot -x |
该节点的控制台上显示的消息称该节点不是群集的一部分。
以下示例展示关闭节点 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# ... 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 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: |