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

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

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

이 절차에서는 장문형 Sun Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다. 명령 및 단문형 명령의 목록을 보려면 부록 A, Sun Cluster 객체 지향 명령를 참조하십시오.

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

    종료 절차에 대한 내용은 Oracle Parallel Server 또는 Oracle RAC 제품 설명서를 참조하십시오.

  2. 클러스터의 모든 노드에서 수퍼유저 또는 solaris.cluster.admin RBAC 인증을 제공하는 역할로 전환합니다.

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

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


    # cluster shutdown -g0 -y 
    

    각 노드가 종료됩니다.


    주 –

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


  4. 각 노드를 부트합니다.

    시스템 종료 사이에 구성을 변경하지 않으면 노드의 부트 순서는 중요하지 않습니다. 종료 중간에 구성을 변경하려면 먼저 최근 구성을 사용하여 노드를 시작하십시오.

    • SPARC 기반 시스템에서는 다음을 수행합니다.


      ok boot
      
    • x86 기반 시스템에서는 다음을 수행합니다.

      GRUB 메뉴가 나타나면 적절한 Solaris 항목을 선택하고 Enter 키를 누르십시오. GRUB 메뉴가 다음과 같이 나타납니다.


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

    주 –

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


    GRUB 기반 부트에 대한 자세한 내용은 System Administration Guide: Basic Administration의 11 장, GRUB Based Booting (Tasks)을 참조하십시오.

    클러스터 구성 요소가 활성화되면 부트된 노드의 콘솔에 메시지가 나타납니다.

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

    scstat 명령은 노드의 상태를 보고합니다.


    # cluster status -t node
    

    주 –

    클러스터 노드의 /var 파일 시스템이 모두 차면 해당 노드에서 Sun Cluster를 다시 시작하지 못할 수도 있습니다. 이런 문제가 발생하면 꽉 찬 /var 파일 시스템을 복구하는 방법을 참조하십시오.



예 3–4 SPARC: 클러스터 재부트

다음은 정상적인 클러스터 작업이 중지되고 모든 노드가 종료되어 ok 프롬프트가 나타난 다음 클러스터를 재시작하는 콘솔 출력의 예입니다. 여기서 -g 0 옵션을 사용하면 유예 기간이 0으로 설정되고, -y 옵션을 사용하면 묻는 메시지에 자동으로 yes로 응답합니다. 시스템 종료 메시지는 클러스터에 있는 다른 노드의 콘솔에도 나타납니다.


# cluster shutdown -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: