scshutdown(1M) 명령을 실행하여 클러스터를 종료한 다음 각 노드에서 boot 명령을 사용하여 클러스터를 부트하십시오.
(선택 사항). Oracle Parallel Server/Real Application Clusters를 실행하는 클러스터의 경우에는 데이터베이스 인스턴스를 모두 종료하십시오.
종료 절차는 Oracle Parallel Server/Real Application Clusters 제품 문서를 참조하십시오.
클러스터의 노드에서 수퍼유저가 되십시오.
클러스터를 종료하고 OBP 프롬프트로 전환하십시오.
클러스터의 한 노드에서 다음 명령을 입력하십시오.
# scshutdown -g0 -y |
그러면 각 노드가 종료되고 ok 프롬프트로 전환됩니다.
클러스터 멤버쉽을 얻으려면 클러스터 노드에 클러스터 상호 연결에 대하여 작동하는 연결이 있어야 합니다.
각 노드를 부트하십시오.
시스템 종료 사이에 구성을 변경하지 않으면 노드 부트 순서가 중요하지 않습니다. 시스템 종료 사이에 구성을 변경한 경우에는 최근에 구성이 변경된 노드를 먼저 부트해야 합니다.
ok boot |
클러스터 구성 요소가 활성화되면 부팅된 노드의 콘솔에 메시지가 나타납니다.
노드가 오류 없이 부트되고 온라인 상태인지 확인하십시오.
scstat 명령은 노드의 상태를 보고합니다.
# scstat -n |
클러스터 노드의 /var 파일 시스템이 채워지면 해당 노드에서 Sun Cluster를 다시 시작할 수 없습니다. 이러한 문제가 발생하면 "2.3.1 모두 찬 /var 파일 시스템을 복구하는 방법"을 참조하십시오.
다음 예는 정상적인 클러스터 작동을 중지시키고 모든 노드를 종료하여 ok 프롬프트로 전환한 다음 클러스터를 다시 시작할 때 표시되는 콘솔 출력입니다. 여기서 -g 0 옵션을 사용하면 종료 시간이 0으로 설정되고, -y 옵션을 사용하면 묻는 메시지에 자동으로 yes로 답합니다. 시스템 종료 메시지는 클러스터에 있는 다른 노드의 콘솔에도 나타납니다.
# scshutdown -g0 -y May 2 10:08:46 phys-schost-1 cl_runtime: WARNING: CMM monitoring disabled. phys-schost-1# INIT: New run level: 0 The system is coming down. Please wait. ... The system is down. syncing file systems... done Program terminated ok boot Rebooting with command: boot ... Hostname: phys-schost-1 Booting as part of a cluster ... NOTICE: Node 1: attempting to join cluster ... NOTICE: Node 2 (incarnation # 937690106) has become reachable. NOTICE: Node 3 (incarnation # 937690290) has become reachable. NOTICE: cluster has reached quorum. ... NOTICE: Cluster members: 1 2 3 ... NOTICE: Node 1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: NOTICE: Node 1: joined cluster ... The system is coming up. Please wait. checking ufs filesystems ... reservation program successfully exiting Print services started. volume management starting. The system is ready. phys-schost-1 console login: |