phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.
![]() | 주의 - 클러스터 콘솔에서 send brk 명령을 사용하여 전역 클러스터 또는 영역 클러스터의 노드를 종료하지 마십시오. 클러스터에서는 이 명령을 사용할 수 없습니다. |
Oracle Solaris Cluster Manager GUI를 통해서도 전역 클러스터 노드를 비우고 모든 리소스 그룹 및 장치 그룹을 다음 우선 순위 노드로 전환할 수 있습니다. 또한 영역 클러스터 노드를 종료할 수 있습니다. GUI 로그인 지침은 Oracle Solaris Cluster Manager에 액세스하는 방법을 참조하십시오.
종료 절차에 대한 내용은 Oracle RAC 제품 설명서를 참조하십시오.
전역 클러스터의 한 노드에서 이 절차의 모든 단계를 수행합니다.
phys-schost# clzonecluster halt -n physical-name zoneclustername
특정 영역 클러스터 노드를 지정하면 해당 노드만 중지됩니다. 기본적으로 halt 명령은 모든 노드의 영역 클러스터를 중지합니다.
종료할 전역 클러스터 노드에서 다음 명령을 입력합니다. clnode evacuate 명령은 지정된 노드에서 다음 우선 순위 노드로 모든 자원 그룹 및 장치 그룹을 전환합니다. 영역 클러스터 노드 내에서 clnode evacuate를 실행할 수도 있습니다.
phys-schost# clnode evacuate node
전환할 자원 그룹 및 장치 그룹이 있는 노드를 지정합니다.
종료할 전역 클러스터 노드에서 shutdown 명령을 실행합니다.
phys-schost# shutdown -g0 -y -i0
전역 클러스터 노드에 ok 프롬프트(SPARC 기반 시스템) 또는 Press any key to continue 메시지(x86 기반 시스템의 GRUB 메뉴)가 표시되는지 확인합니다.
다음 예에서는 phys-schost-1 노드가 종료될 때 표시되는 콘솔 출력을 보여 줍니다. –g0 옵션은 유예 기간을 0으로 설정하고, –y 옵션은 확인 질문에 자동으로 yes 응답을 제공합니다. 이 노드의 종료 메시지가 전역 클러스터에 있는 다른 노드의 콘솔에 나타납니다.
phys-schost# clnode evacuate phys-schost-1 phys-schost# 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예 3-10 x86: 전역 클러스터 노드 종료
다음 예에서는 phys-schost-1 노드가 종료될 때 표시되는 콘솔 출력을 보여 줍니다. –g0 옵션은 유예 기간을 0으로 설정하고, –y 옵션은 확인 질문에 자동으로 yes 응답을 제공합니다. 이 노드의 종료 메시지가 전역 클러스터에 있는 다른 노드의 콘솔에 나타납니다.
phys-schost# clnode evacuate phys-schost-1 phys-schost# 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 clnode 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예 3-11 영역 클러스터 노드 종료
다음 예에서는 clzonecluster halt를 사용하여 sparse-sczone이라는 영역 클러스터의 노드를 종료하는 방법을 보여 줍니다. 영역 클러스터 노드에서 clnode evacuate 및 shutdown 명령을 실행할 수도 있습니다.
phys-schost# clzonecluster status === Zone Clusters === --- Zone Cluster Status --- Name Node Name Zone HostName Status Zone Status ---- --------- ------------- ------ ----------- sparse-sczone schost-1 sczone-1 Online Running schost-2 sczone-2 Online Running schost-3 sczone-3 Online Running schost-4 sczone-4 Online Running phys-schost# phys-schost# clzonecluster halt –n schost-4 sparse-sczone Waiting for zone halt commands to complete on all the nodes of the zone cluster "sparse-sczone"... Sep 5 19:24:00 schost-4 cl_runtime: NOTICE: Membership : Node 3 of cluster 'sparse-sczone' died. phys-host# phys-host# clzonecluster status === Zone Clusters === --- Zone Cluster Status --- Name Node Name Zone HostName Status Zone Status ---- --------- ------------- ------ ----------- sparse-sczone schost-1 sczone-1 Online Running schost-2 sczone-2 Online Running schost-3 sczone-3 Offline Installed schost-4 sczone-4 Online Running phys-schost#
참조
종료된 전역 클러스터 노드를 재시작하려면 노드 부트 방법을 참조하십시오.