전역 클러스터 또는 영역 클러스터에서 다른 활성 노드를 종료하거나 재부트하려면 재부트하려는 노드에 대해 다중 사용자 서버 이정표가 온라인 상태가 될 때까지 기다리십시오.
그렇지 않으면 종료하거나 재부트하는 클러스터의 다른 노드에서 서비스를 인계할 수 없습니다.
phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.
![]() | 주의 - 자원에 대한 방법의 시간이 초과하여 종료할 수 없으면 자원의 Failover_mode 등록 정보가 HARD로 설정된 경우에만 노드가 재부트됩니다. Failover_mode 등록 정보가 다른 값으로 설정된 경우에는 노드가 재부트되지 않습니다. |
Oracle Solaris Cluster Manager GUI를 통해서도 영역 클러스터 노드를 재부트할 수 있습니다. GUI 로그인 지침은 Oracle Solaris Cluster Manager에 액세스하는 방법을 참조하십시오.
종료 절차에 대한 내용은 Oracle RAC 제품 설명서를 참조하십시오.
전역 클러스터의 한 노드에서 이 절차의 모든 단계를 수행합니다.
전역 클러스터의 한 노드에서 clzonecluster halt 명령을 실행하여 영역 클러스터를 종료합니다. (clnode evacuate 및 shutdown 명령도 영역 클러스터에서 작동합니다.)
전역 클러스터의 경우 종료할 노드에서 다음 명령을 입력합니다. clnode evacuate 명령은 지정된 노드에서 다음 우선 순위 노드로 모든 장치 그룹을 전환합니다. 또한 이 명령은 지정된 노드의 전역 영역에서 다른 노드의 다음 우선 순위 전역 영역으로 모든 자원 그룹을 전환합니다.
SPARC 기반 시스템에서는 단일 노드를 재부트하려면 다음 명령을 실행합니다.
phys-schost# clnode evacuate node
phys-schost# shutdown -g0 -y -i6
x86 기반 시스템에서는 단일 노드를 재부트하려면 다음 명령을 실행합니다.
phys-schost# clnode evacuate node
phys-schost# shutdown -g0 -y -i6
GRUB 메뉴가 표시되면 적절한 Oracle Solaris 항목을 선택하고 Enter 키를 누릅니다.
종료하고 재부트할 영역 클러스터 노드를 지정합니다.
phys-schost# clzonecluster reboot - node zoneclustername
phys-schost# cluster status -t node
phys-schost# clzonecluster status
다음 예에서는 phys-schost-1 노드가 재부트될 때 표시되는 콘솔 출력을 보여 줍니다. 종료 및 시작 알림과 같은 이 노드의 메시지가 전역 클러스터에 있는 다른 노드의 콘솔에 나타납니다.
phys-schost# clnode evacuate phys-schost-1 phys-schost# 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-15 영역 클러스터 노드 재부트
다음 예에서는 영역 클러스터의 한 노드를 재부트하는 방법을 보여 줍니다.
phys-schost# clzonecluster reboot –n schost-4 sparse-sczone Waiting for zone reboot commands to complete on all the nodes of the zone cluster "sparse-sczone"... Sep 5 19:40:59 schost-4 cl_runtime: NOTICE: Membership : Node 3 of cluster 'sparse-sczone' died. phys-schost# Sep 5 19:41:27 schost-4 cl_runtime: NOTICE: Membership : Node 3 of cluster 'sparse-sczone' joined. phys-schost# 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#