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

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

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

단계
  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
      

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


예 3–13 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:


예 3–14 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: