한 개의 전역 클러스터 또는 영역 클러스터나 모든 영역 클러스터를 종료할 수 있습니다.
![]() | 주의 - 클러스터 콘솔에서 send brk 명령을 사용하여 전역 클러스터 노드 또는 영역 클러스터 노드를 종료하지 마십시오. 클러스터에서는 이 명령을 사용할 수 없습니다. |
phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.
종료 절차에 대한 내용은 Oracle RAC 제품 설명서를 참조하십시오.
전역 클러스터의 한 노드에서 이 절차의 모든 단계를 수행합니다.
phys-schost# cluster shutdown -g0 -y
phys-schost# clzonecluster halt zoneclustername
phys-schost# clzonecluster halt +
영역 클러스터 내에서 cluster shutdown 명령을 사용하여 특정 영역 클러스터를 종료할 수도 있습니다.
모든 노드가 ok 프롬프트(SPARC 기반 시스템) 또는 부트 서브시스템(x86 기반 시스템)에 있을 때까지 노드의 전원을 끄지 마십시오.
phys-schost# cluster status -t node
phys-schost# clzonecluster status
다음 예에서는 sczone이라는 영역 클러스터를 종료합니다.
phys-schost# clzonecluster halt sczone Waiting for zone halt commands to complete on all the nodes of the zone cluster "sczone"... Sep 5 19:06:01 schost-4 cl_runtime: NOTICE: Membership : Node 2 of cluster 'sczone' died. Sep 5 19:06:01 schost-4 cl_runtime: NOTICE: Membership : Node 4 of cluster 'sczone' died. Sep 5 19:06:01 schost-4 cl_runtime: NOTICE: Membership : Node 3 of cluster 'sczone' died. Sep 5 19:06:01 schost-4 cl_runtime: NOTICE: Membership : Node 1 of cluster 'sczone' died. phys-schost#예 3-2 SPARC: 전역 클러스터 종료
다음은 정상적인 전역 클러스터 작업이 중지되고 모든 노드가 종료되어 ok 프롬프트가 표시되는 콘솔 출력의 예입니다. –g 0 옵션은 종료 유예 기간을 0으로 설정하고, -y 옵션은 확인 질문에 자동으로 yes 응답을 제공합니다. 전역 클러스터에 있는 다른 노드의 콘솔에도 종료 메시지가 나타납니다.
phys-schost# 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. System services are now being stopped. /etc/rc0.d/K05initrgm: Calling clnode evacuate The system is down. syncing file systems... done Program terminated ok예 3-3 x86: 전역 클러스터 종료
다음은 정상적인 전역 클러스터 작업이 중지되고 모든 노드가 종료될 때 표시되는 콘솔 출력의 예입니다. 이 예에서는 모든 노드에 ok 프롬프트가 표시되지는 않습니다. –g 0 옵션은 종료 유예 기간을 0으로 설정하고, -y 옵션은 확인 질문에 자동으로 yes 응답을 제공합니다. 전역 클러스터에 있는 다른 노드의 콘솔에도 종료 메시지가 나타납니다.
phys-schost# cluster shutdown -g0 -y May 2 10:32:57 phys-schost-1 cl_runtime: WARNING: CMM: Monitoring disabled. root@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 clnode evacuate failfasts already disabled on node 1 Print services already stopped. May 2 10:33:13 phys-schost-1 syslogd: going down on signal 15 The system is down. syncing file systems... done Type any key to continue
참조
종료된 전역 클러스터 또는 영역 클러스터를 재시작하려면 클러스터를 부트하는 방법을 참조하십시오.