노드가 클러스터 멤버쉽에 포함되지 않는 비클러스터 모드로 전역 클러스터 노드를 부트할 수 있습니다. 비클러스터 모드는 클러스터 소프트웨어를 설치하거나 노드 업데이트와 같은 특정 관리 절차를 수행하는 경우에 유용합니다. 영역 클러스터 노드는 기본 전역 클러스터 노드의 상태와 다른 부트 상태가 될 수 없습니다. 전역 클러스터 노드가 비클러스터 모드로 부트된 경우 영역 클러스터 노드는 자동으로 비클러스터 모드가 됩니다.
phys-schost# 프롬프트는 전역 클러스터 프롬프트를 반영합니다. 전역 클러스터에서 이 절차를 수행합니다.
이 절차에서는 장문형 Oracle Solaris Cluster 명령을 제공합니다. 대부분의 명령에는 단문형도 있습니다. 명령은 명령 이름이 장문형과 단문형인 것을 제외하면 동일합니다.
전역 클러스터의 한 노드에서 이 절차의 모든 단계를 수행합니다.
clnode evacuate 명령은 지정된 노드에서 다음 우선 순위 노드로 모든 장치 그룹을 전환합니다. 또한 이 명령은 지정된 노드의 전역 영역에서 다른 노드의 다음 우선 순위 전역 영역으로 모든 자원 그룹을 전환합니다.
phys-schost# clnode evacuate node
phys-schost# shutdown -g0 -y
phys-schost# clzonecluster halt –n node zoneclustername
영역 클러스터 내에서 clnode evacuate 및 shutdown 명령을 사용할 수도 있습니다.
SPARC 기반 시스템에서는 다음 명령을 실행합니다.
ok boot -xs
x86 기반 시스템에서는 다음 명령을 실행합니다.
GRUB 메뉴가 나타납니다.
GRUB 기반 부트에 대한 자세한 내용은 Oracle Solaris 11.2 시스템 부트 및 종료 의 시스템 부트을 참조하십시오.
GRUB 부트 매개 변수 화면이 나타납니다.
[ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ESC at any time exits. ] grub edit> kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -x
화면에 편집된 명령이 표시됩니다.
다음 예에서는 phys-schost-1 노드가 종료되고 비클러스터 모드로 다시 시작될 때 표시되는 콘솔 출력을 보여 줍니다. –g0 옵션은 유예 기간을 0으로 설정하고, –y 옵션은 확인 질문에 자동으로 yes 응답을 제공하며, –i0 옵션은 실행 레벨 0을 호출합니다. 이 노드의 종료 메시지가 전역 클러스터에 있는 다른 노드의 콘솔에 나타납니다.
phys-schost# clnode evacuate phys-schost-1 phys-schost# cluster shutdown -g0 -y Shutdown started. Wed Mar 10 13:47:32 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# ... rg_name = schost-sa-1 ... offline node = phys-schost-2 ... num of node = 0 ... phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. syslogd: going down on signal 15 ... The system is down. syncing file systems... done WARNING: node phys-schost-1 is being shut down. Program terminated ok boot -x ... Not booting as part of cluster ... The system is ready. phys-schost-1 console login: