Solaris OS용 Sun Cluster 소프트웨어 설치 안내서

Procedurex86: 부분적으로 완료된 이중 분할 영역 업그레이드를 복구하는 방법

이중 분할 영역 업그레이드가 실패하고 클러스터의 상태가 모두 다음 기준과 일치할 경우 이 절차를 수행합니다.

첫 번째 분할 영역에서 성공적으로 업그레이드가 수행되었지만 업그레이드를 취소하려는 경우에도 본 절차를 수행하면 됩니다.


주 –

두 번째 분할 영역에서 이중 분할 영역 업그레이드 절차가 시작된 후에는 이 절차를 수행하지 마십시오. 대신, 이중 분할 영역 업그레이드 실패 시 복구 방법을 수행하십시오.


시작하기 전에

시작하기 전에 두 번째 분할 영역이 모두 종료되었는지 확인합니다. 첫 번째 분할 영역 노드는 종료되었거나 비클러스터 모드로 실행 중일 수 있습니다.

모든 단계를 수퍼유저의 권한으로 수행하십시오.

  1. 다음의 단계를 수행하여 두 번째 분할 영역의 각 노드를 비클러스터 모드로 부트합니다.

  2. GRUB 메뉴에서 화살표 키를 사용하여 적합한 Solaris 항목을 선택하고 e를 입력하여 해당 명령을 편집합니다.

    GRUB 메뉴가 다음과 같이 나타납니다.


    GNU GRUB version 0.95 (631K lower / 2095488K upper memory)
    +-------------------------------------------------------------------------+
    | Solaris 10 /sol_10_x86                                                  |
    | Solaris failsafe                                                        |
    |                                                                         |
    +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.

    GRUB 기반 부트에 대한 자세한 내용은 System Administration Guide: Basic Administration의 11 장, GRUB Based Booting (Tasks)을 참조하십시오.

  3. 부트 매개 변수 화면에서 화살표 키를 사용하여 커널 항목을 선택하고 e를 입력하여 선택한 항목을 편집하십시오.

    다음과 같이 GRUB 부트 매개 변수 화면이 나타납니다.


    GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
    +----------------------------------------------------------------------+
    | root (hd0,0,a)                                                       |
    | kernel /platform/i86pc/multiboot                                     |
    | module /platform/i86pc/boot_archive                                  |
    +----------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press 'b' to boot, 'e' to edit the selected command in the
    boot sequence, 'c' for a command-line, 'o' to open a new line
    after ('O' for before) the selected line, 'd' to remove the
    selected line, or escape to go back to the main menu.
  4. 해당 명령에 -x 옵션을 추가하여 시스템이 비클러스터 모드로 부트되도록 지정합니다.


    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/multiboot -x
    
  5. Enter 키를 눌러 변경 사항을 수락하고 부트 매개 변수 화면으로 돌아갑니다.

    화면에 편집된 명령이 표시됩니다.


    GNU GRUB version 0.95 (615K lower / 2095552K upper memory)
    +----------------------------------------------------------------------+
    | root (hd0,0,a)                                                       |
    | kernel /platform/i86pc/multiboot -x                                  |
    | module /platform/i86pc/boot_archive                                  |
    +----------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press 'b' to boot, 'e' to edit the selected command in the
    boot sequence, 'c' for a command-line, 'o' to open a new line
    after ('O' for before) the selected line, 'd' to remove the
    selected line, or escape to go back to the main menu.-
  6. b를 입력하여 노드를 비클러스터 모드로 부트합니다.


    주 –

    커널 부트 매개 변수 명령에 대한 변경 사항은 시스템을 재부트하면 사라집니다. 다음에 노드를 재부트하면 클러스터 모드로 부트됩니다. 대신 비클러스터 모드로 부트하려면 이 단계를 다시 수행하여 커널 부트 매개 변수 명령에 -x 옵션을 추가합니다.


  7. 두 번째 분할 영역의 각 노드에서 scinstall -u recover 명령을 실행합니다.


    # /usr/cluster/bin/scinstall -u recover
    

    이 명령은 원래의 CCR 정보를 복원하고, 원본 /etc/vfstab 파일을 복구하고, 시작 시 수정 사항을 제거합니다.

  8. 두 번째 분할 영역의 각 노드를 클러스터 모드로 부트합니다.


    # shutdown -g0 -y -i6
    

    두 번째 분할 영역의 노드가 나타나면, 이전의 소프트웨어가 원래의 구성으로 실행되면서 두 번째 분할 영역이 클러스터 데이터 서비스 지원을 재개합니다.

  9. 백업 매체의 이전 소프트웨어와 구성 데이터를 복구하고 첫 번째 분할 영역의 노드로 복원합니다.

  10. 첫 번째 분할 영역의 각 노드를 클러스터 모드로 부트합니다.


    # shutdown -g0 -y -i6
    

    노드가 클러스터에 다시 결합합니다.