Sun Cluster のシステム管理 (Solaris OS 版)

Procedureクラスタノードを再起動する

クラスタ内のほかのアクティブノードを停止または再起動したい場合は、少なくとも再起動中のノードが次の状態になるまで待ってください。

ログインプロンプトが表示されてからでなければ、そのノードは、停止または再起動するクラスタ内の他のノードからサービスを引き継げません。非大域ゾーンの再起動については、『System Administration Guide: Solaris Containers-Resource Management and Solaris Zones』の第 20 章「Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)」を参照してください。

この手順では、長形式の Sun Cluster コマンドを使用して説明します。多くのコマンドには短縮形もあります。コマンド名の形式の長短を除き、コマンドは同一です。コマンドのリストとその短形式については、付録 A 「Sun Cluster オブジェクト指向コマンド」を参照してください。

  1. SPARC:Oracle Parallel Server/Real Application Clusters が動作しているクラスタノードの場合、データベースのすべてのインスタンスを停止します。

    停止の手順については、Oracle Parallel Server/Real Application Clusters 製品のマニュアルを参照してください。

  2. 停止するクラスタノードで、スーパーユーザーになるか、RBAC の承認 solaris.cluster.admin を提供する役割になります。

  3. clnode evacuate および shutdown コマンドを使用してクラスタノードを停止します。

    停止するノードで次のコマンドを入力します。clnode evacuate コマンドは、すべてのデバイスグループを、指定ノードから次に優先されるノードに切り替えます。またこのコマンドは、指定のノード上の大域または非大域ゾーンから、ほかのノード上の次に優先される大域または非大域ゾーンへ、すべてのリソースグループを切り替えます。

    • SPARC ベースのシステム上で、以下のコマンドを実行します。


      # clnode evacuate  node
      # shutdown -g0 -y -i6
      
    • x86 ベースのシステムでは、次の操作を実行します。


      # clnode evacuate  node
      

      GRUB メニューが表示された時点で、適切な Solaris エントリを選択し Enter キーを押します。GRUB メニューは次のようになっています。


      GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
      +-------------------------------------------------------------------------+
      | Solaris 10 /sol_10_x86                                                  |
      | Solaris failsafe                                                        |
      |                                                                         |
      +-------------------------------------------------------------------------+
      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, 'e' to edit the
      commands before booting, or 'c' for a command-line.

    注 –

    クラスタメンバーシップを取得できるように、クラスタノードにはクラスタインターコネクトとの動作中の接続が必要です。


  4. ノードが問題なく起動し、オンラインであることを確認します。


    # cluster status -t node
    

例 3–8 SPARC: クラスタノードの再起動

次の例に、ノード phys-schost-1 が再起動した場合のコンソール出力を示します。このノードの停止時および起動時の通知メッセージは、クラスタ内の他のノードのコンソールに表示されます。


# clnode evacuate phys-schost-1
# shutdown -g0 -y -i6
Shutdown started.    Wed Mar 10 13:47:32 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 phys-schost-1: attempting to join cluster
...
NOTICE: Node phys-schost-1: joined cluster
...
The system is coming up.  Please wait.
The system is ready.
phys-schost-1 console login: 


例 3–9 x86: クラスタノードの再起動

次に、ノード phys-schost-1 を再起動したときのコンソールの出力例を示します。このノードの停止時および起動時の通知メッセージは、クラスタ内の他のノードのコンソールに表示されます。


# clnode evacuate phys-schost-1
ok boot
Rebooting with command: boot 
...
Hostname: phys-schost-1
Booting as part of a cluster
...
NOTICE: Node phys-schost-1: attempting to join cluster
...
NOTICE: Node phys-schost-1: joined cluster
...
The system is coming up.  Please wait.
checking ufs filesystems
...
reservation program successfully exiting
Print services started.
volume management starting.
The system is ready.
phys-schost-1 console login: