Solaris 10 10/09 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Prepare to Use Solaris Live Upgrade

Before running Solaris Live Upgrade for the first time, you must install the latest Solaris Live Upgrade packages from installation media and install the patches listed in the SunSolve Infodoc 206844. Search for the Infodoc 206844 (formerly 72099) on the SunSolve web site.

The latest packages and patches ensure that you have all the latest bug fixes and new features in the release. Ensure that you install all the patches that are relevant to your system before proceeding to create a new boot environment.

The following steps describe the steps in the SunSolve Infodoc 206844.


Note –

This procedure assumes that the system is running Volume Manager. For detailed information about managing removable media with the Volume Manager, refer to System Administration Guide: Devices and File Systems.


  1. Become superuser or assume an equivalent role.

  2. From the SunSolve web site, follow the instructions in Infodoc 206844 to remove and add Solaris Live Upgrade packages.

    1. Remove existing Solaris Live Upgrade packages.

      The three Solaris Live Upgrade packages, SUNWluu, SUNWlur, and SUNWlucfg, comprise the software needed to upgrade or patch by using Solaris Live Upgrade. These packages include existing software, new features, and bug fixes. If you do not remove the existing packages and install the new packages on your system before using Solaris Live Upgrade, upgrading or patching to the target release fails. The SUMWlucfg package is new starting with the Solaris 10 8/07 release. If you are using Solaris Live Upgrade packages from a release previous to Solaris 10 8/07, you do not need to remove this package.


      # pkgrm SUNWlucfg SUNWluu SUNWlur
      
    2. Install the new Solaris Live Upgrade packages.

      You can install the packages by using the liveupgrade20 command that is on the installation DVD or CD or by using the pkgadd command. The liveupgrade20 command requires Java software. If your system does not have Java software installed, then you need to use the pkgadd command to install the packages. See the SunSolve Infodoc for more information.

      • If you are using the Solaris Operating System DVD, change directories and run the installer:

        • Change directories.


          # cd /cdrom/cdrom0/Solaris_10/Tools/Installers
          

          Note –

          For SPARC based systems, the path to the installer is different for releases previous to the Solaris 10 10/08 release:


          # cd /cdrom/cdrom0/s0/Solaris_10/Tools/Installers
          

        • Run the installer


          # ./liveupgrade20  -noconsole - nodisplay
          

          The -noconsole and -nodisplay options prevent the character user interface (CUI) from displaying.


          Note –

          The Solaris Live Upgrade CUI is no longer supported.


      • If you are using the Solaris Software – 2 CD, you can run the installer without changing the path.


        % ./installer
        
      • Verify that the packages have been installed successfully.


        # pkgchk -v SUNWlucfg SUNWlur SUNWluu
        
  3. Install the patches listed in Infodoc 206844.

    1. If you are storing the patches on a local disk, create a directory such as /var/tmp/lupatches.

    2. From the SunSolve web site, obtain the list of patches.

    3. Change to the patch directory as in this example.


      # cd /var/tmp/lupatches
      
    4. Install the patches.


      # patchadd -M  path-to-patchespatch-id  patch-id
      

      path-to-patches is the patch to the patch directory such as /var/tmp/lupatches. patch-id is the patch number or numbers. Separate multiple patch names with a space.


      Note –

      The patches need to be applied in the order specified in infodoc 206844.


    5. Reboot the system if necessary. Certain patches require a reboot to be effective.

      x86 only: Rebooting the system is required. Otherwise, Solaris Live Upgrade fails.


      # init 6
      

      You now have the packages and patches necessary for a successful creation of a new boot environment.