(可选)。对于运行 Oracle Parallel Server (OPS) 的群集节点,请关闭所有 OPS 数据库 实例。
有关关闭过程,请参阅 Oracle Parallel Server 产品文档。
成为要关闭的群集节点上的超级用户。
使用 scswitch 和 shutdown 两个命令关闭群集节点。
在要关闭的节点上,输入以下命令。
# scswitch -S -h node # shutdown -g 0 -y |
检验群集节点是否已在 ok PROM 提示符下。
如有必要,请关闭节点电源。
以下示例展示关闭节点 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.2 如何引导群集节点"。