Solaris 10 8/07 설치 설명서: Solaris Live Upgrade 및 업그레이드 계획

ProcedureSolaris Live Upgrade에서 사용할 프로필 테스트

프로필을 작성한 후 luupgrade 명령을 사용하여 프로필을 테스트하십시오. luupgrade에 의해 생성된 설치 출력을 조사하여 의도한 대로 프로필이 작동하는지 신속하게 확인할 수 있습니다.

  1. 수퍼유저 또는 동등한 역할의 사용자로 로그인합니다.

    역할에는 권한 부여 및 권한이 있는 명령이 포함됩니다. 역할에 대한 자세한 내용은 System Administration Guide: Security ServicesConfiguring RBAC (Task Map)를 참조하십시오.

  2. 프로필을 테스트합니다.


    # luupgrade -u -n BE_name -D -s os_image_path -j profile_path
    
    -u

    부트 환경에서 운영 체제 이미지를 업그레이드합니다.

    -n BE_name

    업그레이드될 부트 환경의 이름을 지정합니다.

    -D

    luupgrade 명령은 선택된 부트 환경의 디스크 구성을 사용하여 -j 옵션과 함께 전달되는 프로필 옵션을 테스트합니다.

    -s os_image_path

    운영 체제 이미지를 포함하는 디렉토리의 경로 이름을 지정합니다. 이 디렉토리는 DVD-ROM, CD-ROM과 같은 설치 매체에 있을 수도 있고 NFS 또는 UFS 디렉토리일 수도 있습니다.

    -j profile_path

    업그레이드용으로 구성된 프로필에 대한 경로입니다. 프로필은 로컬 시스템의 디렉토리에 있어야 합니다.


예 5–9 Solaris Live Upgrade를 사용하여 프로필 테스트

다음 예에서 프로필 이름은 Flash_profile입니다. 이 프로필은 second_disk라는 비활성 부트 환경에서 성공적으로 테스트됩니다.


# luupgrade -u -n u1b08 -D -s /net/installsvr/export/u1/combined.u1wos \
 -j /var/tmp/flash_profile
Validating the contents of the media /net/installsvr/export/u1/combined.u1wos.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains Solaris version 10.
Locating upgrade profile template to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE second_disk.
Determining packages to install or upgrade for BE second_disk.
Simulating the operating system upgrade of the BE second_disk.
The operating system upgrade simulation is complete.
INFORMATION: var/sadm/system/data/upgrade_cleanup contains a log of the
upgrade operation.
INFORMATION: var/sadm/system/data/upgrade_cleanup contains a log of
cleanup operations required.
The Solaris upgrade of the boot environment second_disk is complete.

이제 프로필을 사용하여 비활성 부트 환경을 업그레이드할 수 있습니다.