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

Procedure이중 분할 영역 업그레이드 실패 시 복구 방법

업그레이드 중에 복구 불가능한 오류가 발생할 경우, 이 절차를 수행하여 업그레이드를 취소합니다.


주 –

이중 분할 영역 업그레이드의 경우, 복구 불가능한 오류가 발생한 후에는 해당 업그레이드를 다시 시작할 수 없습니다.


  1. 클러스터 각 노드에서 수퍼유저로 전환합니다.

  2. 각 노드를 비클러스터 모드로 부트합니다.

    • SPARC 기반 시스템에서는 다음 명령을 수행하십시오.


      ok boot -x
      
    • x86 기반 시스템에서는 다음 명령을 수행하십시오.

      1. 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)을 참조하십시오.

      2. 부트 매개 변수 화면에서 화살표 키를 사용하여 kernel 항목을 선택하고 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.
      3. 명령에 -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
        
      4. 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.-
      5. 비클러스터 모드로 노드를 부트하려면 b를 입력합니다.


        주 –

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


  3. 각 노드에서 설치 매체의 업그레이드 복구 스크립트를 실행합니다.

    노드가 성공적으로 Sun Cluster 3.2 소프트웨어로 업그레이드되면, /usr/cluster/bin 디렉토리에서 scinstall 명령을 대신 실행할 수 있습니다.


    phys-schost# cd /cdrom/cdrom0/Solaris_arch/Product/sun_cluster/Solaris_ver/Tools
    phys-schost# ./scinstall -u recover
    
    -u

    업그레이드를 지정합니다.

    recover

    이중 분할 영역을 업그레이드하기 전에 /etc/vfstab 파일 및 CCR(Cluster Configuration Repository) 데이터베이스를 원래의 상태로 복구합니다.

    복구 프로세스는 클러스터 노드를 비클러스터 모드에 둡니다. 노드를 클러스터 모드로 재부트하지 마십시오.

    자세한 내용은 scinstall(1M) 매뉴얼 페이지를 참조하십시오.

  4. 다음 작업 중 하나를 수행합니다.

    • 기존 소프트웨어를 백업에서 복구하여 클러스터를 원래의 상태로 되돌립니다.

    • 표준 업그레이드 방식을 사용하여 클러스터에서 소프트웨어 업그레이드를 계속 진행합니다.

      이 방식을 사용하려면 업그레이드 시 모든 클러스터 노드가 비클러스터 모드에 있어야 합니다. 표 8–1의 표준 업그레이드에 대한 작업 맵을 참조하십시오. 이중 분할 영역 업그레이드가 실패하기 전에 성공적으로 완료된 표준 업그레이드 절차의 마지막 작업 또는 단계에서 업그레이드를 재개할 수 있습니다.