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

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


주의 – 주의 –

클러스터 콘솔에서 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 

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

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