Solaris OS용 Sun Cluster 시스템 관리 안내서

3장 클러스터 종료 및 부트

이 장에서는 클러스터와 각 클러스터 노드를 종료하고 부트하는 절차를 설명합니다.

이 장에 있는 관련 절차에 대한 자세한 내용은 표 3–1표 3–2를 참조하십시오.

클러스터 종료 및 부트 개요

Sun Cluster scshutdown(1M) 명령은 순차적으로 클러스터 서비스를 중지한 다음 전체 클러스터를 완전히 종료합니다. 클러스터의 위치를 이동시킬 때 scshutdown 명령을 사용할 수도 있습니다. 응용 프로그램 오류가 발생하여 데이터가 손상된 경우에도 이 명령을 사용하여 클러스터를 종료할 수 있습니다.


주 –

전체 클러스터를 올바르게 종료하려면 shutdown 또는 halt 명령 대신 scshutdown 명령을 사용합니다. 개별 노드를 종료하려면 Solaris shutdown 명령을 scswitch(1M) 명령과 같이 사용합니다. 자세한 내용은 클러스터를 종료하는 방법 또는 단일 클러스터 노드 종료 및 부트 를 참조하십시오.


scshutdown 명령을 실행하면 다음과 같은 방법으로 클러스터의 모든 노드가 종료됩니다.

  1. 실행하는 모든 자원 그룹을 오프라인으로 전환

  2. 모든 클러스터 파일 시스템을 마운트 해제

  3. 현재 작동하는 장치의 서비스 종료

  4. init 0을 실행하고 모든 노드를 SPARC 기반 시스템의 OpenBootTM PROM ok 프롬프트나 x86 기반 시스템의 부트 하위 시스템으로 가져오기 부트 하위 시스템에 대한 자세한 내용은 System Administration Guide: Basic Administration의 “Boot Subsystems”를 참조하십시오.


주 –

필요하다면 노드가 클러스터 구성원에 포함되지 않도록 비클러스터 모드에서 노드를 부트할 수 있습니다. 클러스터 소프트웨어를 설치하거나 특정 관리 절차를 수행할 경우에 비클러스터 모드를 사용할 수 있습니다. 자세한 내용은 비클러스터 모드로 클러스터 노드를 부트하는 방법를 참조하십시오.


표 3–1 작업 목록: 클러스터 종료 및 부트

작업  

참고 항목  

클러스터 중지 

    -scshutdown(1M) 사용

클러스터를 종료하는 방법 참조

모든 노드를 부트하여 클러스터 시작  

클러스터 멤버쉽을 얻으려면 노드가 현재 클러스터 상호 연결에 연결되어 있어야 합니다.  

클러스터 부트 방법 참조

클러스터 재부트 

    - scshutdown 사용

Current Boot Parameters 화면의 ok 프롬프트나 Select (b)oot or (i)nterpreter 프롬프트에서 boot(1M) 또는 b 명령을 사용하여 각 노드를 개별적으로 부트합니다.

클러스터 멤버쉽을 얻으려면 노드가 현재 클러스터 상호 연결에 연결되어 있어야 합니다.  

클러스터를 재부트하는 방법 참조

클러스터를 종료하는 방법


주의 – 주의 –

클러스터 콘솔에서 send brk 명령을 사용하여 클러스터 노드를 종료하지 마십시오. 클러스터에서는 이 명령을 사용할 수 없습니다.


  1. SPARC: 클러스터에서 Oracle Parallel Server 또는 Real Application Clusters를 실행하는 경우 데이터베이스 인스턴스를 모두 종료합니다.

    종료 절차에 대한 내용은 Oracle Parallel Server/Real Application Clusters 제품 설명서를 참조하십시오.

  2. 클러스터의 노드에서 수퍼유저가 됩니다.

  3. 클러스터를 즉시 종료합니다.

    클러스터의 한 노드에서 다음 명령을 입력하십시오.


    # scshutdown -g0 -y
    

  4. 모든 노드가 SPARC 기반 시스템의 ok 프롬프트나 x86 기반 시스템의 부트 하위 시스템을 나타내는지 확인합니다.

    모든 클러스터 노드가 SPARC 기반 시스템의 ok 프롬프트 또는 x86 기반 시스템의 부트 하위 시스템에 있을 때까지 어떤 노드의 전원도 끄지 마십시오.

  5. 필요한 경우 노드의 전원을 끕니다.

SPARC: 예—클러스터 종료

다음 예는 ok 프롬프트를 표시하기 위해 정상적인 클러스터 작동을 중지하고 모든 노드의 전원을 끌 때 표시되는 콘솔 출력입니다. 여기서 -g 0 옵션을 사용하면 종료 시간이 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 

x86: 예—클러스터 종료

다음 예는 정상 클러스터 작동을 중지시키고 모든 노드를 종료할 때 표시되는 콘솔 출력입니다. 여기서 -g 0 옵션을 사용하면 종료 시간이 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 

다음 단계

종료된 클러스터를 다시 시작하려면 클러스터 부트 방법를 참조하십시오.

클러스터 부트 방법

  1. 노드가 종료되었고 Current Boot Parameters 화면의 ok 프롬프트나 Select (b)oot or (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 파일 시스템을 복구하는 방법를 참조하십시오.


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.
...

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.

클러스터를 재부트하는 방법

scshutdown(1M) 명령을 실행하여 클러스터를 종료한 다음 각 노드에서 boot(1M) 명령을 사용하여 클러스터를 부트합니다.

  1. SPARC: 클러스터에서 Oracle Parallel Server/Real Application Clusters를 실행하는 경우 데이터베이스 인스턴스를 모두 종료합니다.

    종료 절차에 대한 내용은 Oracle Parallel Server/Real Application Clusters 제품 설명서를 참조하십시오.

  2. 클러스터의 노드에서 수퍼유저가 됩니다.

  3. 클러스터를 종료합니다.

    클러스터의 한 노드에서 다음 명령을 입력합니다.


    # 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 파일 시스템을 복구하는 방법를 참조하십시오.


SPARC: 예—클러스터 재부트하기

다음 예는 정상적인 클러스터 작동을 중지시키고 모든 노드를 종료하여 ok 프롬프트로 전환한 다음 클러스터를 다시 시작할 때 표시되는 콘솔 출력입니다. 여기서 -g 0 옵션을 사용하면 종료 시간이 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: 

x86: 예—클러스터 재부트하기

다음 예는 정상적인 클러스터 작동을 중지시키고 모든 노드를 종료한 다음 클러스터를 다시 시작할 때 표시되는 콘솔 출력입니다. 여기서 -g 0 옵션을 사용하면 종료 시간이 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 255.255.255.0
Setting netmask of e1000g3 to 255.255.255.128
Setting netmask of e1000g0 to 255.255.255.128
Setting netmask of clprivnet0 to 255.255.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: 

단일 클러스터 노드 종료 및 부트


주 –

개별 노드를 종료하려면 Solaris의 shutdown(1M) 명령과 함께 scswitch(1M) 명령을 사용하십시오. 전체 클러스터를 종료하는 경우에만 scshutdown 명령을 사용하십시오.


표 3–2 작업 맵: 클러스터 노드 종료 및 부트

작업  

참고 항목  

클러스터 노드 중지  

    - scswitch(1M)shutdown(1M) 사용

클러스터 노드를 종료하는 방법

노드 시작 

클러스터 멤버쉽을 얻으려면 클러스터 노드에 클러스터 상호 연결에 대하여 작동하는 연결이 있어야 합니다. 

클러스터 노드를 부트하는 방법

클러스터 노드를 중지시키고 다시 시작(재부트) 

    - scswitchshutdown 사용

클러스터 멤버쉽을 얻으려면 클러스터 노드에 클러스터 상호 연결에 대하여 작동하는 연결이 있어야 합니다. 

클러스터 노드를 재부트하는 방법

노드가 클러스터 구성원에 포함되지 않도록 노드 부트  

    - scswitchshutdown 을 사용한 후 boot -x 또는 b -x 사용

비클러스터 모드로 클러스터 노드를 부트하는 방법

클러스터 노드를 종료하는 방법


주의 – 주의 –

클러스터 콘솔에서 send brk 명령을 사용하여 클러스터 노드를 종료하지 마십시오. 클러스터에서는 이 명령을 사용할 수 없습니다.


  1. SPARC: 클러스터에서 Oracle Parallel Server/Real Application Clusters를 실행하는 경우 데이터베이스 인스턴스를 모두 종료합니다.

    종료 절차에 대한 내용은 Oracle Parallel Server/Real Application Clusters 제품 설명서를 참조하십시오.

  2. 종료하려면 클러스터 노드에서 수퍼유저가 됩니다.

  3. 종료하는 노드에서 모든 자원 그룹, 자원 및 장치 그룹을 다른 클러스터 구성원으로 전환합니다.

    종료할 노드에서 다음 명령을 입력하십시오.


    # scswitch -S -h node
    

    -S

    지정된 노드에서 모든 장치 서비스 및 자원 그룹을 제거합니다.

    -h node

    전환할 자원 그룹 및 장치 그룹이 있는 노드를 지정합니다.

  4. 클러스터 노드를 종료합니다.

    종료할 노드에서 다음 명령을 입력하십시오.


    # shutdown -g0 -y -i0
    

  5. 클러스터 노드가 Current Boot Parameters 화면의 ok 프롬프트나 Select (b)oot or (i)nterpreter 프롬프트를 표시하는지 확인합니다.

  6. 필요한 경우 노드의 전원을 끕니다.

SPARC: 예—클러스터 노드 종료

다음은 phys-schost-1 노드를 종료할 때 표시되는 콘솔 출력의 예입니다. 여기서 -g0 옵션을 사용하면 천천히 종료되는 시간이 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 

x86: 예—클러스터 노드 종료

다음은 phys-schost-1 노드를 종료할 때 표시되는 콘솔 출력의 예입니다. 여기서 -g0 옵션을 사용하면 천천히 종료되는 시간이 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 

이 단계에서 수행할 수 있는 작업

종료한 클러스터 노드를 다시 시작하려면 클러스터 노드를 부트하는 방법를 참조하십시오.

클러스터 노드를 부트하는 방법


주 –

쿼럼 구성에 따라 클러스터 노드 시작 방법이 달라질 수 있습니다. 2노드 클러스터에서는 클러스터의 총 쿼럼 수가 3이 되도록 쿼럼 장치를 구성해야 합니다. 즉, 각 노드에 대한 쿼럼 수가 하나씩 구성되고 쿼럼 장치에 대한 쿼럼 수 하나가 구성되어야 합니다. 이러한 경우에 첫 번째 노드가 종료되면 두 번째 노드가 계속 쿼럼 자격을 갖고 단일 클러스터 구성원으로 실행됩니다. 첫 번째 노드가 클러스터 노드로서 클러스터에 돌아오려면 두 번째 노드가 작동 중이어야 합니다. 또한 필요한 쿼럼 수(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 파일 시스템을 복구하는 방법를 참조하십시오.


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:

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 255.255.255.0
Setting netmask of e1000g3 to 255.255.255.128
Setting netmask of e1000g0 to 255.255.255.128
Setting netmask of clprivnet0 to 255.255.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: 

클러스터 노드를 재부트하는 방법

  1. SPARC: 클러스터 노드에서 Oracle Parallel Server/Real Application Clusters를 실행하는 경우 데이터베이스 인스턴스를 모두 종료합니다.

    종료 절차에 대한 내용은 Oracle Parallel Server/Real Application Clusters 제품 설명서를 참조하십시오.

  2. 종료하려면 클러스터 노드에서 수퍼유저가 됩니다.

  3. scswitchshutdown 명령을 사용하여 클러스터 노드를 종료합니다.

    종료할 노드에서 다음 명령을 입력하십시오. shutdown 명령에 -i 6 옵션을 사용하면 노드가 종료된 후 재부트됩니다.


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

    주 –

    클러스터 멤버쉽을 얻으려면 클러스터 노드에 클러스터 상호 연결에 대하여 작동하는 연결이 있어야 합니다.


  4. 노드가 오류 없이 부트되고 온라인 상태인지 확인합니다.


    # scstat -n
    

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: 

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 255.255.255.0
Setting netmask of e1000g3 to 255.255.255.128
Setting netmask of e1000g0 to 255.255.255.128
Setting netmask of clprivnet0 to 255.255.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: 

비클러스터 모드로 클러스터 노드를 부트하는 방법

노드가 클러스터 구성원에 포함되지 않는 비클러스터 모드로 노드를 부트할 수 있습니다. 클러스터 소프트웨어를 설치하거나 노드 패치와 같은 특정 관리 절차를 수행할 경우에 비클러스터 모드를 사용할 수 있습니다.

  1. 비클러스터 모드로 시작할 클러스터 노드에서 수퍼유저가 됩니다.

  2. scswitchshutdown 명령을 사용하여 노드를 종료합니다.


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

  3. 노드가 Current Boot Parameters 화면의 ok 프롬프트나 Select (b)oot or (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
      

    노드가 클러스터에 포함되지 않았음을 나타내는 메시지가 노드 콘솔에 나타납니다.

SPARC: 예—비클러스터 모드로 클러스터 노드 부트하기

다음은 phys-schost-1 노드를 종료한 다음 비클러스터 모드로 노드를 다시 시작할 때 표시되는 콘솔 출력의 예입니다. 여기서 -g0 옵션을 사용하면 종료 시간이 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:

x86: 예—비클러스터 모드로 클러스터 노드 부트하기

다음은 phys-schost-1 노드를 종료한 다음 비클러스터 모드로 노드를 다시 시작할 때 표시되는 콘솔 출력의 예입니다. 여기서 -g0 옵션을 사용하면 종료 시간이 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를 다시 시작하지 못할 수도 있습니다. 또한 노드에 로그인하지 못할 수도 있습니다.

완전히 찬 /var 파일 시스템을 복구하는 방법

노드가 /var 파일 시스템이 완전히 찼다고 보고한 후에 계속 Sun Cluster 서비스를 실행하면 이 절차를 수행하여 채워진 파일 시스템을 지우십시오. 자세한 내용은 System Administration Guide: Advanced Administration에서 “Viewing System Messages”를 참조하십시오.

  1. 완전히 찬 /var 파일 시스템이 있는 클러스터 노드에서 수퍼유저가 됩니다.

  2. 완전히 찬 파일 시스템을 지웁니다.

    예를 들어, 파일 시스템에서 반드시 필요한 파일이 아니면 삭제하십시오.