Sun Cluster 3.0 U1 系統管理手冊

2.2.3 如何重新啟動叢集節點

  1. 如果叢集節點正在執行 Oracle Parallel Server (OPS),請關閉所有 OPS 資料庫實例。

    請參閱 Oracle Parallel Server 產品文件,以取得關機程序。

  2. 成為要關機之叢集節點的超級使用者。

  3. 使用 scswitch 以及 shutdown 指令來關閉叢集節點。

    在要關機的節點上,輸入下列指令。-i 6 選項含有 shutdown 指令,可讓節點在關閉成 ok 提示後重新開機。


    # scswitch -S -h nodelist
    # shutdown -g0 -y -i6
    

    註解 -

    叢集節點和叢集交互連接之間必須有運轉中的連線,才能夠成為叢集成員。


  4. 確認節點啟動成功而且在線上。


    # scstat -n
    

2.2.3.1 範例 - 重新啟動叢集節點

以下範例顯示關閉 phys-schost-1 節點時的主控台輸出。這個節點的關機與啟動訊息會顯示在叢集中其他節點的主控台上。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i6
May 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 #5932401.
Ethernet address 8:8:20:99:ab:77, Host ID: 8899ab77.
...
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: