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

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

클러스터의 다른 활성 노드를 종료하거나 재부트하려면 재부트 중인 노드가 다음의 상태에 도달할 때까지 기다리십시오.

그렇지 않으면 종료하거나 재부트하는 클러스터의 다른 노드에서 서비스를 인계할 수 없습니다. 비전역 영역 재부트에 대한 자세한 내용은 System Administration Guide: Solaris Containers-Resource Management and Solaris Zones의 20 장, Installing, Booting, Halting, Uninstalling, and Cloning Non-Global Zones (Tasks)을 참조하십시오.

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

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

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

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

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

    종료할 노드에서 다음 명령을 입력합니다. clnode evacuate 명령은 지정된 노드에서 다음 우선 순위 노드로 모든 장치 그룹을 전환합니다. 또한, 이 명령은 지정된 노드의 전역 또는 비전역 영역에서 다른 노드의 다음 우선 순위 전역 또는 비전역 영역으로 모든 자원 그룹을 전환합니다.

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


      # clnode evacuate  node
      # shutdown -g0 -y -i6
      
    • x86 기반 시스템에서는 다음을 수행합니다.


      # clnode evacuate  node
      

      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.

    주 –

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


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


    # cluster status -t node
    

예 3–8 SPARC: 클러스터 노드 재부트

다음은 phys-schost-1 노드가 재부트될 때 나타나는 콘솔 출력의 예입니다. 이 노드의 종료와 시작을 알리는 메시지가 클러스터에 있는 다른 노드의 콘솔에도 표시됩니다.


# clnode evacuate 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–9 x86: 클러스터 노드 재부트

다음은 phys-schost-1 노드를 재부트할 때 표시되는 콘솔 출력의 예입니다. 이 노드의 종료와 시작을 알리는 메시지가 클러스터에 있는 다른 노드의 콘솔에도 표시됩니다.


# clnode evacuate 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: