Solaris 9 설치 설명서

Solaris Live Upgrade가 사용할 프로필 테스트 방법

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

  1. 프로필을 테스트하십시오.


    # 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

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


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

다음 예제에서 프로필의 이름은 upgrade_solaris9입니다. 프로필은 이름이 s9u1b08인 비활성 부트 환경에서 성공적으로 테스트됩니다.


# luupgrade -u -n s9u1b08 -D -s /net/installsvr/export/s9u1/combined.s9s_u1wos \
 -j /var/tmp/flash_profile
Validating the contents of the media /net/installsvr/export/s9u1/combined.s9s_u1wos.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains Solaris version 9.
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 s9u1b08.
Determining packages to install or upgrade for BE s9u1b08.
Simulating the operating system upgrade of the BE s9u1b08.
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 s9u1b08 is complete.

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