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

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


주 –

쿼럼 구성에 따라 클러스터 노드 시작 방법이 달라질 수 있습니다. 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: