(選擇性)。在執行 Oracle Parallel Server(OPS)的叢集節點,請關閉所有的 OPS 資料庫實例。
請參閱 Oracle Parallel Server 產品文件來取得關機程序。
成為要關機之叢集節點的超級使用者(superuser)。
使用 scswitch 以及 shutdown 指令來關閉叢集節點。
在要關機的節點上,輸入下列指令。
# scswitch -S -h node # shutdown -g 0 -y -i 6 |
此項 -i 6 選擇含 shutdown 指令,可讓節點在關閉成 ok PROM 提示後重新開機。
叢集節點和叢集交互連接之間必須有運轉中的連線,才能夠成為叢集成員。
確認節點啟動成功而且在線上。
scstat(1M) 指令可報告節點的狀態。
# scstat -n |
以下範例顯示節點 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: |