Solaris 9 Installation Guide

To Upgrade With a Profile by Using Solaris Live Upgrade (Command-Line Interface)

This procedure provides step-by-step instructions for upgrading a operating environment by using a profile.

If you want to install a Solaris Flash archive by using a profile, see To Install a Solaris Flash Archive With a Profile (Command-Line Interface).

If you added locales to the profile, make sure that you have created a boot environment with additional disk space.

  1. Log in as superuser.

  2. Create a profile.

    See Table 33–2 for a list of upgrade keywords that can be used in a Solaris Live Upgrade profile.

  3. Type:

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


    Upgrades an operating system image on a boot environment 

    -n BE_name

    Specifies the name of the boot environment that is to be upgraded. 

    -s os_image_path

    Specifies the path name of a directory that contains an operating system image. This directory can be on an installation medium, such as a DVD-ROM, CD-ROM, or it can be an NFS or UFS directory. 

    -j profile_path

    Path to a profile. The profile must be in a directory on the local machine. For information on creating a profile, see To Create a Profile to be Used by Solaris Live Upgrade.

    The boot environment is ready to be activated.

    Example 33–5 Upgrading a Boot Environment By Using a Custom JumpStart Profile (Command-Line Interface)

    In this example, an archive is installed on the second_disk boot environment. The -j option is used to access the profile. The boot environment is then ready to be activated. To create a profile, see To Create a Profile to be Used by Solaris Live Upgrade.

    # luupgrade -u -n second_disk \
    -s /net/installmachine/export/solarisX/OS_image \
    -j /var/tmp/profile