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

第 3 章 クラスタの停止と起動

この章では、クラスタと個々のクラスタノードの停止方法と起動方法について説明します。

この章の関連手順の概要は、表 3–1表 3–2 を参照してください。

クラスタの停止と起動の概要

Sun Cluster scshutdown(1M) コマンドを使用して、クラスタサービス全体を正しい順序で正常に停止します。scshutdown コマンドは、クラスタの場所を移動するときにも使用できます。また、アプリケーションエラーによってデータが破壊された場合に、クラスタを停止するときにも使用できます。


注 –

クラスタ全体を正しく停止するには、shutdownhalt コマンドではなく、scshutdown コマンドを使用します。Solaris の shutdown コマンドは、ノードを個々に停止する場合に scswitch(1M) コマンドと一緒に使用します。詳細は、「クラスタを停止する」、または「単一クラスタノードの停止と起動」を参照してください。


scshutdown コマンドは、次の手順でクラスタのすべてのノードを停止します。

  1. 実行中のすべてのリソースグループをオフラインにする。

  2. すべてのクラスタファイルシステムをマウント解除する。

  3. アクティブなデバイスサービスを停止する。

  4. init 0 を実行してすべてのノードを OpenBootTM PROM ok プロンプトの状態にする (SPARC ベースシステムの場合) か、あるいはブートサブシステムの状態にする (x86 ベースシステムの場合)。ブートサブシステムの詳細は、『Solaris のシステム管理 (基本編)』「ブートサブシステム」で説明されています。


注 –

必要であれば、ノードを非クラスタモードで (つまり、ノードがクラスタメンバーシップを取得しないように) 起動できます。非クラスタモードは、クラスタソフトウェアをインストールしたり、特定の管理手順を実行する際に役立ちます。詳細は、「非クラスタモードでクラスタノードを起動する」を参照してください。


表 3–1 作業リスト: クラスタの停止と起動

タスク 

参照先 

クラスタの停止 

    -scshutdown(1M) を使用します

「クラスタを停止する」を参照

すべてのノードを起動してクラスタを起動 

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

「クラスタを起動する」を参照

クラスタの再起動 

    - scshutdownを使用します。

ok プロンプト、または「Current Boot Parameters」画面の Select (b)oot または (i)nterpreter プロンプトで、boot(1M) または b コマンドを使用して各ノードを個々に起動します。

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

「クラスタを再起動する」を参照

Procedureクラスタを停止する


注意 – 注意 –

クラスタノードを停止する場合は、クラスタコンソール上で send brk を使用してはいけません。この機能はクラスタ内ではサポートされません。


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

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

  2. クラスタ内にある任意のノード上でスーパーユーザーになります。

  3. ただちにクラスタを停止します。

    クラスタ内の 1 つのノードから、次のコマンドを入力します。


    # scshutdown -g0 -y
    
  4. SPARC ベースシステムでは、すべてのノードが ok プロンプトの状態になったことを確認します。x86 ベースシステムでは、すべてのノードが Boot Subsystem の状態になったことを確認します。

    SPARC ベースのシステムではすべてのクラスタノードが ok プロンプトになるまで、x86 ベースシステムではすべてのクラスタノードが Boot Subsystem の状態になるまで、どのノードの電源も切らないでください。

  5. 必要であればノードの電源を切ります。


例 3–1 SPARC: クラスタの停止

次に、正常なクラスタの動作を停止して、すべてのノードを ok プロンプトの状態にしたときのコンソールの出力例を示します。ここでは、-g 0 オプションで停止の猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定しています。停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scshutdown -g0 -y
Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: 
WARNING: CMM monitoring disabled.
phys-schost-1# 
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
The system is down.
syncing file systems... done
Program terminated
ok 


例 3–2 x86: クラスタの停止

次に、正常なクラスタの動作を停止して、すべてのノードを停止したときのコンソールの出力例を示します。ここでは、-g 0 オプションで停止の猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定しています。停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scshutdown -g0 -y
May  2 10:32:57 phys-schost-1 cl_runtime: 
WARNING: CMM: Monitoring disabled.  
root@phys-schost-1#
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
failfasts already disabled on node 1
Print services already stopped.
May  2 10:33:13 phys-schost-1 syslogd: going down on signal 15
The system is down.
syncing file systems... done
Type any key to continue 

参照

「クラスタを起動する」を参照し、停止したクラスタを再起動します。

Procedureクラスタを起動する

手順
  1. ノードが停止されて ok プロンプトの状態になっているか、あるいは「Current Boot Parameters」画面で Select (b)oot または (i)nterpreter プロンプトの状態になっているクラスタを起動する場合には、boot(1M) コマンドで各ノードを起動します。

    停止中に構成を変更した場合は、最新の構成情報を持つノードを最初に起動する必要があります。これ以外の場合は、どのような順序でノードを起動してもかまいません。

    • SPARC:


      ok boot
      
    • x86:


                            <<< Current Boot Parameters >>>
      Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
      sd@0,0:a
      Boot args:
      
      Type    b [file-name] [boot-flags] <ENTER>  to boot with options
      or      i <ENTER>                           to enter boot interpreter
      or      <ENTER>                             to boot with defaults
      
                        <<< timeout in 5 seconds >>>
      Select (b)oot or (i)nterpreter: b
      

    クラスタコンポーネントが起動すると、起動されたノードのコンソールにメッセージが表示されます


    注 –

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


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

    scstat(1M) コマンドを使用してノードの状態を表示します。


     # scstat -n
    

    注 –

    クラスタノードの /var ファイルシステムが満杯になると、そのノード上では Sun Cluster が再起動できなくなる可能性があります。この問題が発生した場合は、「満杯の /var ファイルシステムを修復する」を参照してください。



例 3–3 SPARC: クラスタの起動

次に、ノード phys-schost-1 を起動してクラスタに結合させたときのコンソールの出力例を示します。クラスタ内の他のノードのコンソールにも同様のメッセージが表示されます。


ok boot
Rebooting with command: boot 
...
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: Node phys-schost-1 with votecount = 1 added.
NOTICE: Node phys-schost-2 with votecount = 1 added.
NOTICE: Node phys-schost-3 with votecount = 1 added.
...
NOTICE: Node phys-schost-1: attempting to join cluster
...
NOTICE: Node phys-schost-2 (incarnation # 937690106) has become reachable.
NOTICE: Node phys-schost-3 (incarnation # 937690290) has become reachable.
NOTICE: cluster has reached quorum.
NOTICE: node phys-schost-1 is up; new incarnation number = 937846227.
NOTICE: node phys-schost-2 is up; new incarnation number = 937690106.
NOTICE: node phys-schost-3 is up; new incarnation number = 937690290.
NOTICE: Cluster members: phys-schost-1 phys-schost-2 phys-schost-3.
...


例 3–4 x86: クラスタの起動

次に、ノード phys-schost-1 を起動してクラスタに結合させたときのコンソールの出力例を示します。クラスタ内の他のノードのコンソールにも同様のメッセージが表示されます。


ATI RAGE SDRAM BIOS P/N GR-xlint.007-4.330
*                                        BIOS Lan-Console 2.0
Copyright (C) 1999-2001  Intel Corporation
MAC ADDR: 00 02 47 31 38 3C
AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064
2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

Press <F2> to enter SETUP, <F12> Network

Adaptec AIC-7899 SCSI BIOS v2.57S4
(c) 2000 Adaptec, Inc. All Rights Reserved.
    Press <Ctrl><A> for SCSISelect(TM) Utility!

Ch B,  SCSI ID: 0 SEAGATE  ST336605LC        160
       SCSI ID: 1 SEAGATE  ST336605LC        160
       SCSI ID: 6 ESG-SHV  SCA HSBP M18      ASYN
Ch A,  SCSI ID: 2 SUN      StorEdge 3310     160
       SCSI ID: 3 SUN      StorEdge 3310     160

AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064

2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124    

SunOS - Intel Platform Edition             Primary Boot Subsystem, vsn 2.0

                        Current Disk Partition Information

                 Part#   Status    Type      Start       Length
                ================================================
                   1     Active   X86 BOOT     2428       21852
                   2              SOLARIS     24280     71662420
                   3              <unused> 
                   4              <unused>
              Please select the partition you wish to boot: *       *

Solaris DCB

			       loading /solaris/boot.bin

SunOS Secondary Boot version 3.00

                  Solaris Intel Platform Edition Booting System

Autobooting from bootpath: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/
pci8086,341a@7,1/sd@0,0:a

If the system hardware has changed, or to boot from a different
device, interrupt the autoboot process by pressing ESC.
Press ESCape to interrupt autoboot in 2 seconds.
Initializing system
Please wait...
Warning: Resource Conflict - both devices are added

NON-ACPI device: ISY0050
     Port: 3F0-3F5, 3F7; IRQ: 6; DMA: 2
ACPI device: ISY0050
     Port: 3F2-3F3, 3F4-3F5, 3F7; IRQ: 6; DMA: 2

                     <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args: 

Type    b [file-name] [boot-flags] <ENTER>  to boot with options
or      i <ENTER>                           to enter boot interpreter
or      <ENTER>                             to boot with defaults

                  <<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter: 
Size: 275683 + 22092 + 150244 Bytes
/platform/i86pc/kernel/unix loaded - 0xac000 bytes used
SunOS Release 5.9 Version Generic_112234-07 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: e1000g2.
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) with votecount = 1 added.
NOTICE: CMM: Quorum device 1 (/dev/did/rdsk/d1s2) added; votecount = 1, bitmask
of nodes with configured paths = 0x3.
NOTICE: clcomm: Adapter e1000g3 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 online
NOTICE: clcomm: Adapter e1000g0 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being constructed
NOTICE: CMM: Node phys-schost-1: attempting to join cluster.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated
NOTICE: CMM: Quorum device /dev/did/rdsk/d1s2: owner set to node 1.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number = 1068496374.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) is up; new incarnation number = 1068496374.
NOTICE: CMM: Cluster members: phys-schost-1 phys-schost-2.
NOTICE: CMM: node reconfiguration #1 completed.
NOTICE: CMM: Node phys-schost-1: joined cluster.

Procedureクラスタを再起動する

scshutdown(1M) コマンドを実行してクラスタを停止してから、各ノードでboot(1M) コマンドを使用してクラスタを再起動します。

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

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

  2. クラスタ内にある任意のノード上でスーパーユーザーになります。

  3. クラスタを停止します。

    クラスタ内の 1 つのノードから、次のコマンドを入力します。


    # scshutdown -g0 -y 
    

    各ノードが停止します。


    注 –

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


  4. 各ノードを起動します。

    停止中に構成を変更した場合以外は、どのような順序でノードを起動してもかまいません。停止中に構成を変更した場合は、最新の構成情報を持つノードを最初に起動する必要があります。

    • SPARC:


      ok boot
      
    • x86:


                            <<< Current Boot Parameters >>>
      Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
      sd@0,0:a
      Boot args:
      
      Type    b [file-name] [boot-flags] <ENTER>  to boot with options
      or      i <ENTER>                           to enter boot interpreter
      or      <ENTER>                             to boot with defaults
      
                        <<< timeout in 5 seconds >>>
      Select (b)oot or (i)nterpreter: b
      

    クラスタコンポーネントが起動すると、起動されたノードのコンソールにメッセージが表示されます。

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

    scstat コマンドを使用してノードの状態を表示します。


     # scstat -n
    

    注 –

    クラスタノードの /var ファイルシステムが満杯になると、そのノード上では Sun Cluster が再起動できなくなる可能性があります。この問題が発生した場合は、「満杯の /var ファイルシステムを修復する」を参照してください。



例 3–5 SPARC: クラスタの再起動

次に、正常なクラスタの動作を停止してすべてのノードを ok プロンプトの状態にしてから、クラスタを再起動したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定しています。停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scshutdown -g0 -y
Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: 
WARNING: CMM monitoring disabled.
phys-schost-1# 
INIT: New run level: 0
The system is coming down.  Please wait.
...
The system is down.
syncing file systems... done
Program terminated
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-2 (incarnation # 937690106) has become reachable.
NOTICE: Node phys-schost-3 (incarnation # 937690290) has become reachable.
NOTICE: cluster has reached quorum.
...
NOTICE: Cluster members: phys-schost-1 phys-schost-2 phys-schost-3.
...
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:
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: 


例 3–6 x86: クラスタの再起動

次に、正常なクラスタの動作を停止してすべてのノードを停止し、続いてクラスタを再起動したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定しています。停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scshutdown -g0 -y
May  2 10:32:57 phys-schost-1 cl_runtime: 
WARNING: CMM: Monitoring disabled.  
root@phys-schost-1#
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
failfasts already disabled on node 1
Print services already stopped.
May  2 10:33:13 phys-schost-1 syslogd: going down on signal 15
The system is down.
syncing file systems... done
Type any key to continue

ATI RAGE SDRAM BIOS P/N GR-xlint.007-4.330
*                                        BIOS Lan-Console 2.0
Copyright (C) 1999-2001  Intel Corporation
MAC ADDR: 00 02 47 31 38 3C
AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064
2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

Press <F2> to enter SETUP, <F12> Network

Adaptec AIC-7899 SCSI BIOS v2.57S4
(c) 2000 Adaptec, Inc. All Rights Reserved.
    Press <Ctrl><A> for SCSISelect(TM) Utility!

Ch B,  SCSI ID: 0 SEAGATE  ST336605LC        160
       SCSI ID: 1 SEAGATE  ST336605LC        160
       SCSI ID: 6 ESG-SHV  SCA HSBP M18      ASYN
Ch A,  SCSI ID: 2 SUN      StorEdge 3310     160
       SCSI ID: 3 SUN      StorEdge 3310     160

AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064

2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124    

SunOS - Intel Platform Edition             Primary Boot Subsystem, vsn 2.0

                        Current Disk Partition Information

                 Part#   Status    Type      Start       Length
                ================================================
                   1     Active   X86 BOOT     2428       21852
                   2              SOLARIS     24280     71662420
                   3              <unused> 
                   4              <unused>
              Please select the partition you wish to boot: *       *

Solaris DCB

			       loading /solaris/boot.bin

SunOS Secondary Boot version 3.00

                  Solaris Intel Platform Edition Booting System

Autobooting from bootpath: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/
pci8086,341a@7,1/sd@0,0:a

If the system hardware has changed, or to boot from a different
device, interrupt the autoboot process by pressing ESC.
Press ESCape to interrupt autoboot in 2 seconds.
Initializing system
Please wait...
Warning: Resource Conflict - both devices are added

NON-ACPI device: ISY0050
     Port: 3F0-3F5, 3F7; IRQ: 6; DMA: 2
ACPI device: ISY0050
     Port: 3F2-3F3, 3F4-3F5, 3F7; IRQ: 6; DMA: 2

                     <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args: 

Type    b [file-name] [boot-flags] <ENTER>  to boot with options
or      i <ENTER>                           to enter boot interpreter
or      <ENTER>                             to boot with defaults

                  <<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter: b
Size: 275683 + 22092 + 150244 Bytes
/platform/i86pc/kernel/unix loaded - 0xac000 bytes used
SunOS Release 5.9 Version Generic_112234-07 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: e1000g2.
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) with votecount = 1 added.
NOTICE: CMM: Quorum device 1 (/dev/did/rdsk/d1s2) added; votecount = 1, bitmask
of nodes with configured paths = 0x3.
NOTICE: clcomm: Adapter e1000g3 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 online
NOTICE: clcomm: Adapter e1000g0 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being constructed
NOTICE: CMM: Node phys-schost-1: attempting to join cluster.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated
NOTICE: CMM: Quorum device /dev/did/rdsk/d1s2: owner set to node 1.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number = 1068496374.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) is up; new incarnation number = 1068496374.
NOTICE: CMM: Cluster members: phys-schost-1 phys-schost-2.
NOTICE: CMM: node reconfiguration #1 completed.
NOTICE: CMM: Node phys-schost-1: joined cluster.
WARNING: mod_installdrv: no major number for rsmrdt
ip: joining multicasts failed (18) on clprivnet0 - will use link layer
broadcasts for multicast
The system is coming up.  Please wait.
checking ufs filesystems
/dev/rdsk/c1t0d0s5: is clean.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online
NIS domain name is dev.eng.mycompany.com
starting rpc services: rpcbind keyserv ypbind done.
Setting netmask of e1000g2 to 192.168.255.0
Setting netmask of e1000g3 to 192.168.255.128
Setting netmask of e1000g0 to 192.168.255.128
Setting netmask of clprivnet0 to 192.168.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1
syslog service starting.
obtaining access to all attached disks


*****************************************************************************
*
* The X-server can not be started on display :0...
*
*****************************************************************************
volume management starting.
Starting Fault Injection Server...
The system is ready.

phys-schost-1 console login: 

単一クラスタノードの停止と起動


注 –

ノードを個々に停止する場合は、scswitch(1M) コマンドを Solaris の shutdown(1M) コマンドと組み合わせて使用します。クラスタ全体を停止する場合にだけ、scshutdown コマンドを使用します。


表 3–2 Task Map: クラスタノードの停止と起動

タスク 

参照先 

クラスタノードの停止 

    - scswitch(1M)shutdown(1M) を使用します

「クラスタノードを停止する」

ノードの起動 

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

「クラスタノードを起動する」

クラスタノードをいったん停止してから再起動 

    - scswitchshutdown を使用します。

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

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

ノードがクラスタメンバーシップを取得しないようにノードを起動 

    - scswitchshutdown を使用し、次に boot -x または b -x を使用します。

「非クラスタモードでクラスタノードを起動する」

Procedureクラスタノードを停止する


注意 – 注意 –

クラスタノードを停止する場合は、クラスタコンソール上で send brk を使用してはいけません。この機能はクラスタ内ではサポートされません。


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

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

  2. 停止するクラスタノードでスーパーユーザーになります。

  3. すべてのリソースグループ、リソース、およびデバイスグループを、停止するノードから別のクラスタノードに切り替えます。

    停止するノードで次のようにコマンドを入力します。


    # scswitch -S -h node
    
    -S

    指定したノードからすべてのデバイスサービスとリソースグループを退避します。

    -h node

    リソースグループとデバイスグループを切り替えるノードを指定します。

  4. クラスタノードを停止します。

    停止するノードで次のようにコマンドを入力します。


    # shutdown -g0 -y -i0
    
  5. クラスタノードが ok プロンプトの状態、あるいは「Current Boot Parameters」画面の Select (b)oot または (i)nterpreter プロンプトの状態になったことを確認します。

  6. 必要であればノードの電源を切ります。


例 3–7 SPARC: クラスタノードの停止

次に、ノード phys-schost-1 を停止したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定し、i0 で実行レベル 0 で起動します。このノードの停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
Wed Mar 10 13:47:32 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 


例 3–8 x86: クラスタノードの停止

次に、ノード phys-schost-1 を停止したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定し、i0 で実行レベル 0 で起動します。このノードの停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
Shutdown started.    Wed Mar 10 13:47:32 PST 2004

Changing to init state 0 - please wait
Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32... 
THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

phys-schost-1#
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
failfasts disabled on node 1
Print services already stopped.
Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15
umount: /global/.devices/node@2 busy
umount: /global/.devices/node@1 busy
The system is down.
syncing file systems... done
WARNING: CMM: Node being shut down.
Type any key to continue 

参照

「クラスタノードを起動する」を参照し、停止したクラスタノードを再起動します。

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

クラスタ内の他のアクティブノードを停止または再起動したい場合は、少なくとも起動中のノードでログインプロンプトが表示されるまで待ってください。ログインプロンプトが表示されてからでなければ、そのノードは、停止または再起動するクラスタ内の他のノードからサービスを引き継げません。


注 –

クラスタノードの起動方法は、定足数 (quorum) の構成によって変わる場合があります。2 ノードのクラスタでは、クラスタの定足数の合計数が 3 つになるように定足数デバイスを構成する必要があります(各ノードごとに 1 つと定足数デバイスに 1 つ)。この場合、最初のノードを停止しても、2 つ目のノードは定足数を保持しており、唯一のクラスタメンバーとして動作します。1 番目のノードをクラスタノードとしてクラスタに復帰させるには、2 番目のノードが稼動中で必要な数のクラスタ定足数(2 つ) が存在している必要があります。


手順
  1. 停止したクラスタノードを起動するために、そのノードを起動します。

    • SPARC:


      ok boot
      
    • x86:


                            <<< Current Boot Parameters >>>
      Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
      sd@0,0:a
      Boot args:
      
      Type    b [file-name] [boot-flags] <ENTER>  to boot with options
      or      i <ENTER>                           to enter boot interpreter
      or      <ENTER>                             to boot with defaults
      
                        <<< timeout in 5 seconds >>>
      Select (b)oot or (i)nterpreter: b
      

    クラスタコンポーネントが起動すると、起動されたノードのコンソールにメッセージが表示されます。


    注 –

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


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

    scstat コマンドを使用してノードの状態を表示します。


     # scstat -n
    

    注 –

    クラスタノードの /var ファイルシステムが満杯になると、そのノード上では Sun Cluster が再起動できなくなる可能性があります。この問題が発生した場合は、「満杯の /var ファイルシステムを修復する」を参照してください。



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

次に、ノード 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:


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

次に、ノード phys-schost-1 を起動してクラスタに結合させたときのコンソールの出力例を示します。


                     <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/sd@0,0:a
Boot args: 

Type    b [file-name] [boot-flags] <ENTER>   to boot with options
or      i <ENTER>                            to enter boot interpreter
or      <ENTER>                              to boot with defaults

                  <<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter: Size: 276915 + 22156 + 150372 Bytes
/platform/i86pc/kernel/unix loaded - 0xac000 bytes used
SunOS Release 5.9 Version on81-feature-patch:08/30/2003 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: e1000g2.
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) with votecount = 1 added.
NOTICE: CMM: Quorum device 1 (/dev/did/rdsk/d1s2) added; votecount = 1, bitmask
of nodes with configured paths = 0x3.
WARNING: CMM: Initialization for quorum device /dev/did/rdsk/d1s2 failed with
error EACCES. Will retry later.
NOTICE: clcomm: Adapter e1000g3 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 online
NOTICE: clcomm: Adapter e1000g0 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being constructed
NOTICE: CMM: Node phys-schost-1: attempting to join cluster.
WARNING: CMM: Reading reservation keys from quorum device /dev/did/rdsk/d1s2
failed with error 2.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number =
1068503958.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) is up; new incarnation number =
1068496374.
NOTICE: CMM: Cluster members: phys-schost-1 phys-schost-2.
NOTICE: CMM: node reconfiguration #3 completed.
NOTICE: CMM: Node phys-schost-1: joined cluster.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online
NOTICE: CMM: Retry of initialization for quorum device /dev/did/rdsk/d1s2 was
successful.
WARNING: mod_installdrv: no major number for rsmrdt
ip: joining multicasts failed (18) on clprivnet0 - will use link layer
broadcasts for multicast
The system is coming up.  Please wait.
checking ufs filesystems
/dev/rdsk/c1t0d0s5: is clean.
NIS domain name is dev.eng.mycompany.com
starting rpc services: rpcbind keyserv ypbind done.
Setting netmask of e1000g2 to 192.168.255.0
Setting netmask of e1000g3 to 192.168.255.128
Setting netmask of e1000g0 to 192.168.255.128
Setting netmask of clprivnet0 to 192.168.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1
syslog service starting.
obtaining access to all attached disks


*****************************************************************************
*
* The X-server can not be started on display :0...
*
*****************************************************************************
volume management starting.
Starting Fault Injection Server...
The system is ready.

phys-schost-1 console login: 

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

クラスタ内の他のアクティブノードを停止または再起動したい場合は、少なくとも再起動中のノードでログインプロンプトが表示されるまで待ってください。ログインプロンプトが表示されてからでなければ、そのノードは、停止または再起動するクラスタ内の他のノードからサービスを引き継げません。

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

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

  2. 停止するクラスタノードでスーパーユーザーになります。

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

    停止するノードで次のコマンドを入力します。-i 6 オプションを指定して shutdown コマンドを使用すると、ノードが停止して再起動します。


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

    注 –

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


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


     # scstat -n
    

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

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


# scswitch -S -h 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–12 x86: クラスタノードの再起動

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


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i6
Shutdown started.    Wed Mar 10 13:47:32 PST 2004

Changing to init state 6 - please wait
Broadcast Message from root (console) on phys-schost-1 Wed Mar 10 13:47:32...
THE SYSTEM phys-schost-1 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

phys-schost-1# 
INIT: New run level: 6
The system is coming down.  Please wait.
System services are now being stopped.
/etc/rc0.d/K05initrgm: Calling scswitch -S (evacuate)
Print services already stopped.
Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15

umount: /global/.devices/node@2 busy
umount: /global/.devices/node@1 busy
The system is down.
syncing file systems... done
WARNING: CMM: Node being shut down.
rebooting...

ATI RAGE SDRAM BIOS P/N GR-xlint.007-4.330
*                                        BIOS Lan-Console 2.0
Copyright (C) 1999-2001  Intel Corporation
MAC ADDR: 00 02 47 31 38 3C
AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064
2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

Press <F2> to enter SETUP, <F12> Network

Adaptec AIC-7899 SCSI BIOS v2.57S4
(c) 2000 Adaptec, Inc. All Rights Reserved.
    Press <Ctrl><A> for SCSISelect(TM) Utility!

Ch B,  SCSI ID: 0 SEAGATE  ST336605LC        160
       SCSI ID: 1 SEAGATE  ST336605LC        160
       SCSI ID: 6 ESG-SHV  SCA HSBP M18      ASYN
Ch A,  SCSI ID: 2 SUN      StorEdge 3310     160
       SCSI ID: 3 SUN      StorEdge 3310     160

AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064

2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124    

SunOS - Intel Platform Edition             Primary Boot Subsystem, vsn 2.0

                        Current Disk Partition Information

                 Part#   Status    Type      Start       Length
                ================================================
                   1     Active   X86 BOOT     2428       21852
                   2              SOLARIS     24280     71662420
                   3              <unused> 
                   4              <unused>
              Please select the partition you wish to boot: *       *

Solaris DCB

			       loading /solaris/boot.bin

SunOS Secondary Boot version 3.00

                  Solaris Intel Platform Edition Booting System

Autobooting from bootpath: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/
pci8086,341a@7,1/sd@0,0:a

If the system hardware has changed, or to boot from a different
device, interrupt the autoboot process by pressing ESC.
Press ESCape to interrupt autoboot in 2 seconds.
Initializing system
Please wait...
Warning: Resource Conflict - both devices are added

NON-ACPI device: ISY0050
     Port: 3F0-3F5, 3F7; IRQ: 6; DMA: 2
ACPI device: ISY0050
     Port: 3F2-3F3, 3F4-3F5, 3F7; IRQ: 6; DMA: 2

                     <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args: 

Type    b [file-name] [boot-flags] <ENTER>   to boot with options
or      i <ENTER>                            to enter boot interpreter
or      <ENTER>                              to boot with defaults

                  <<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter: Size: 276915 + 22156 + 150372 Bytes
/platform/i86pc/kernel/unix loaded - 0xac000 bytes used
SunOS Release 5.9 Version on81-feature-patch:08/30/2003 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: e1000g2.
Hostname: phys-schost-1
Booting as part of a cluster
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) with votecount = 1 added.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) with votecount = 1 added.
NOTICE: CMM: Quorum device 1 (/dev/did/rdsk/d1s2) added; votecount = 1, bitmask
of nodes with configured paths = 0x3.
WARNING: CMM: Initialization for quorum device /dev/did/rdsk/d1s2 failed with
error EACCES. Will retry later.
NOTICE: clcomm: Adapter e1000g3 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being constructed
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g3 - phys-schost-2:e1000g3 online
NOTICE: clcomm: Adapter e1000g0 constructed
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being constructed
NOTICE: CMM: Node phys-schost-1: attempting to join cluster.
WARNING: CMM: Reading reservation keys from quorum device /dev/did/rdsk/d1s2
failed with error 2.
NOTICE: CMM: Cluster has reached quorum.
NOTICE: CMM: Node phys-schost-1 (nodeid = 1) is up; new incarnation number =
1068503958.
NOTICE: CMM: Node phys-schost-2 (nodeid = 2) is up; new incarnation number =
1068496374.
NOTICE: CMM: Cluster members: phys-schost-1 phys-schost-2.
NOTICE: CMM: node reconfiguration #3 completed.
NOTICE: CMM: Node phys-schost-1: joined cluster.
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 being initiated
NOTICE: clcomm: Path phys-schost-1:e1000g0 - phys-schost-2:e1000g0 online
NOTICE: CMM: Retry of initialization for quorum device /dev/did/rdsk/d1s2 was
successful.
WARNING: mod_installdrv: no major number for rsmrdt
ip: joining multicasts failed (18) on clprivnet0 - will use link layer
broadcasts for multicast
The system is coming up.  Please wait.
checking ufs filesystems
/dev/rdsk/c1t0d0s5: is clean.
NIS domain name is dev.eng.mycompany.com
starting rpc services: rpcbind keyserv ypbind done.
Setting netmask of e1000g2 to 192.168.255.0
Setting netmask of e1000g3 to 192.168.255.128
Setting netmask of e1000g0 to 192.168.255.128
Setting netmask of clprivnet0 to 192.168.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway phys-schost-1
syslog service starting.
obtaining access to all attached disks


*****************************************************************************
*
* The X-server can not be started on display :0...
*
*****************************************************************************
volume management starting.
Starting Fault Injection Server...
The system is ready.

phys-schost-1 console login: 

Procedure非クラスタモードでクラスタノードを起動する

ノードは、クラスタメンバーシップに参加しないよう、つまり非クラスタモードで起動できます。非クラスタモードは、クラスタソフトウェアをインストールしたり、ノードにパッチを適用するなどの特定の管理手順を実行する際に役立ちます。

手順
  1. 非クラスタモードで起動したクラスタノード上でスーパーユーザーになります。

  2. scswitch およびshutdown コマンドを使用してノードを停止します。


    # scswitch -S -h node
    # shutdown -g0 -y -i0
    
  3. ノードが ok プロンプトの状態、あるいは「Current Boot Parameters」画面の Select (b)oot または (i)nterpreter プロンプトの状態になったことを確認します。

  4. boot(1M) または b コマンドに -x オプションを指定し、ノードを非クラスタモードで起動します。

    • SPARC:


      ok boot -x
      
    • x86:


                            <<< Current Boot Parameters >>>
      Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
      sd@0,0:a
      Boot args:
      
      Type    b [file-name] [boot-flags] <ENTER>  to boot with options
      or      i <ENTER>                           to enter boot interpreter
      or      <ENTER>                             to boot with defaults
      
                        <<< timeout in 5 seconds >>>
      Select (b)oot or (i)nterpreter: b -x
      

    ノードがクラスタの一部ではないことを示すメッセージが、そのノードのコンソールに表示されます。


例 3–13 SPARC: 非クラスタモードでクラスタノードを起動する

次に、ノード phys-schost-1 を停止してから、非クラスタモードで再起動したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定し、i0 で実行レベル 0 で起動します。このノードの停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
Shutdown started.    Wed Mar 10 13:47:32 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 phys-schost-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:


例 3–14 x86: 非クラスタモードでクラスタノードを起動する

次に、ノード phys-schost-1 を停止してから、非クラスタモードで再起動したときのコンソールの出力例を示します。ここでは、-g 0 オプションで猶予期間をゼロに設定し、-y で、確認プロンプトに対して自動的に yes と応答するよう指定し、i0 で実行レベル 0 で起動します。このノードの停止メッセージは、クラスタ内の他のノードのコンソールにも表示されます。


# scswitch -S -h phys-schost-1
# shutdown -g0 -y -i0
Shutdown started.    Wed Mar 10 13:47:32 PST 2004

phys-schost-1# 
INIT: New run level: 0
The system is coming down.  Please wait.
System services are now being stopped.
Print services already stopped.
Mar 10 13:47:44 phys-schost-1 syslogd: going down on signal 15
...
The system is down.
syncing file systems... done
WARNING: CMM: Node being shut down.
Type any key to continue

ATI RAGE SDRAM BIOS P/N GR-xlint.007-4.330
*                                        BIOS Lan-Console 2.0
Copyright (C) 1999-2001  Intel Corporation
MAC ADDR: 00 02 47 31 38 3C
AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064
2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124

Press <F2> to enter SETUP, <F12> Network

Adaptec AIC-7899 SCSI BIOS v2.57S4
(c) 2000 Adaptec, Inc. All Rights Reserved.
    Press <Ctrl><A> for SCSISelect(TM) Utility!

Ch B,  SCSI ID: 0 SEAGATE  ST336605LC        160
       SCSI ID: 1 SEAGATE  ST336605LC        160
       SCSI ID: 6 ESG-SHV  SCA HSBP M18      ASYN
Ch A,  SCSI ID: 2 SUN      StorEdge 3310     160
       SCSI ID: 3 SUN      StorEdge 3310     160

AMIBIOS (C)1985-2002 American Megatrends Inc.,
Copyright 1996-2002 Intel Corporation
SCB20.86B.1064.P18.0208191106
SCB2 Production BIOS Version 2.08
BIOS Build 1064

2 X Intel(R) Pentium(R) III CPU family      1400MHz
Testing system memory, memory size=2048MB
2048MB Extended Memory Passed
512K L2 Cache SRAM Passed
ATAPI CD-ROM SAMSUNG CD-ROM SN-124    

SunOS - Intel Platform Edition             Primary Boot Subsystem, vsn 2.0

                        Current Disk Partition Information

                 Part#   Status    Type      Start       Length
                ================================================
                   1     Active   X86 BOOT     2428       21852
                   2              SOLARIS     24280     71662420
                   3              <unused> 
                   4              <unused>
              Please select the partition you wish to boot: *       *

Solaris DCB

			       loading /solaris/boot.bin

SunOS Secondary Boot version 3.00

                  Solaris Intel Platform Edition Booting System

Autobooting from bootpath: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/
pci8086,341a@7,1/sd@0,0:a

If the system hardware has changed, or to boot from a different
device, interrupt the autoboot process by pressing ESC.
Press ESCape to interrupt autoboot in 2 seconds.
Initializing system
Please wait...
Warning: Resource Conflict - both devices are added

NON-ACPI device: ISY0050
     Port: 3F0-3F5, 3F7; IRQ: 6; DMA: 2
ACPI device: ISY0050
     Port: 3F2-3F3, 3F4-3F5, 3F7; IRQ: 6; DMA: 2

                     <<< Current Boot Parameters >>>
Boot path: /pci@0,0/pci8086,2545@3/pci8086,1460@1d/pci8086,341a@7,1/
sd@0,0:a
Boot args: 

Type    b [file-name] [boot-flags] <ENTER>  to boot with options
or      i <ENTER>                           to enter boot interpreter
or      <ENTER>                             to boot with defaults

                  <<< timeout in 5 seconds >>>

Select (b)oot or (i)nterpreter: b -x
...
Not booting as part of cluster
...
The system is ready.
phys-schost-1 console login:

満杯の /var ファイルシステムを修復する

Solaris と Sun Cluster ソフトウェアは、どちらも /var/adm/messages ファイルにエラーメッセージを書き込みます。このため、運用を続けるうちに /var ファイルシステムが満杯になってしまうことがあります。クラスタノードの /var ファイルシステムが満杯になると、そのノード上では Sun Cluster が再起動できなくなる可能性があります。また、そのノードにログインできなくなる可能性もあります。

Procedure満杯の /var ファイルシステムを修復する

/var ファイルシステムが満杯になったことがノードによって報告され、Sun Cluster サービスが引き続き実行されているときは、次の手順で、満杯になったファイルシステムを整理してください。詳細については、『Solaris のシステム管理 (上級編)』「システムメッセージの表示」 を参照してください。

手順
  1. 満杯の /var ファイルシステムが存在するクラスタノードでスーパーユーザーになります。

  2. 満杯のファイルシステムを整理します。

    たとえば、ファイルシステムにある重要ではないファイルを削除します。