Go to main content

Oracle® SuperCluster M7 시리즈 관리 설명서

인쇄 보기 종료

업데이트 날짜: 2015년 12월
 
 

저장소 서버 종료 또는 재부트

저장소 서버에서 유지 관리를 수행하는 경우 전원을 끄거나 셀을 재부트해야 할 수 있습니다. 하나 이상의 데이터베이스가 실행 중일 때 저장소 서버를 종료해야 하는 경우 저장소 서버를 오프라인 상태로 설정하면 Oracle ASM 디스크 그룹 및 데이터베이스 가용성이 영향을 받지 않는지 확인하십시오. 저장소 서버를 오프라인 상태로 설정하는 경우 다음과 같은 두 가지 항목에 따라 데이터베이스 가용성이 영향을 받을 수도 있고 영향을 받지 않을 수도 있습니다.

  • 영향을 받는 디스크 그룹에서 사용되는 Oracle ASM 중복성 레벨

  • 오프라인 상태로 설정할 저장소 서버에 데이터의 미러 복사본이 있는 다른 저장소 서버 내 디스크의 현재 상태

  1. 다른 오프라인 디스크가 있는지 확인합니다.

    CellCLI> LIST GRIDDISK ATTRIBUTES name WHERE asmdeactivationoutcome != 'Yes'

    그리드 디스크가 반환되면 적절한 Oracle ASM 디스크 그룹 중복성이 유지되지 않기 때문에 저장소 서버를 오프라인 상태로 설정하는 것은 안전하지 않습니다. 하나 이상의 그리드 디스크가 이 상태인 경우 저장소 서버를 오프라인 상태로 설정하면 Oracle ASM에서 영향을 받는 디스크 그룹의 마운트를 해제하여 데이터베이스가 갑자기 종료됩니다.

  2. 저장소 서버가 안전하게 오프라인 상태로 설정되면 모든 그리드 디스크를 비활성화합니다.

    CellCLI> ALTER GRIDDISK ALL INACTIVE

    모든 디스크가 비활성화되고 오프라인 상태이면 위의 명령이 완료됩니다.

  3. 저장소 서버가 안전하게 종료되도록 모든 그리드 디스크가 비활성 상태인지 확인합니다.

    LIST GRIDDISK WHERE STATUS != 'inactive'

    모든 그리드 디스크가 비활성 상태이면 데이터베이스 가용성에 영향을 주지 않고 저장소 서버를 종료할 수 있습니다.

  4. 셀을 종료합니다.
  5. 유지 관리를 수행한 다음 셀을 시작합니다.

    셀 서비스가 자동으로 시작됩니다.

  6. 모든 그리드 디스크를 온라인으로 전환합니다.

    CellCLI> ALTER GRIDDISK ALL ACTIVE

    그리드 디스크가 활성화되면 Oracle ASM이 자동으로 그리드 디스크를 동기화하여 디스크 그룹으로 되돌립니다.

  7. 모든 그리드 디스크가 성공적으로 온라인 상태가 되었는지 확인합니다.

    CellCLI> LIST GRIDDISK ATTRIBUTES name, asmmodestatus

    asmmodestatus가 모든 그리드 디스크에 대해 ONLINE 또는 UNUSED 상태가 될 때까지 기다립니다. 예를 들면 다음과 같습니다.

    DATA_CD_00_dm01cel01           ONLINE
    DATA_CD_01_dm01cel01           SYNCING
    DATA_CD_02_dm01cel01           OFFLINE
    DATA_CD_02_dm02cel01           OFFLINE
    DATA_CD_02_dm03cel01           OFFLINE
    DATA_CD_02_dm04cel01           OFFLINE
    DATA_CD_02_dm05cel01           OFFLINE
    DATA_CD_02_dm06cel01           OFFLINE
    DATA_CD_02_dm07cel01           OFFLINE
    DATA_CD_02_dm08cel01           OFFLINE
    DATA_CD_02_dm09cel01           OFFLINE
    DATA_CD_02_dm10cel01           OFFLINE
    DATA_CD_02_dm11cel01           OFFLINE
    

    Oracle ASM 동기화는 모든 그리드 디스크가 asmmodestatus=ONLINE 또는 asmmodestatus=UNUSED를 표시하는 경우에만 완료됩니다. 다른 저장소 서버를 오프라인 상태로 설정하기 전에 Oracle ASM 동기화가 다시 시작된 저장소 서버에서 완료되어야 합니다. 동기화가 완료되지 않은 경우 다른 저장소 서버에서 수행된 검사가 실패합니다. 예를 들면 다음과 같습니다.

    CellCLI> list griddisk attributes name where asmdeactivationoutcome != 'Yes'
     DATA_CD_00_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_01_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_02_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_03_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_04_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_05_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_06_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_07_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_08_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_09_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_10_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    DATA_CD_11_dm01cel02    "Cannot de-activate due to other offline disks in the diskgroup"
    

관련 정보