JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 10 9/10 Installation Guide: Solaris Live Upgrade and Upgrade Planning
search filter icon
search icon

Document Information

Preface

Part I Upgrading With Solaris Live Upgrade

1.  Where to Find Solaris Installation Planning Information

2.  Solaris Live Upgrade (Overview)

3.  Solaris Live Upgrade (Planning)

4.  Using Solaris Live Upgrade to Create a Boot Environment (Tasks)

Task Map: Installing Solaris Live Upgrade and Creating Boot Environments

Installing Solaris Live Upgrade

To Install Solaris Live Upgrade With the pkgadd Command

To Install Solaris Live Upgrade With the Solaris Installation Program

Installing Patches Needed by Solaris Live Upgrade

To Install Required Patches

Creating a New Boot Environment

To Create a Boot Environment for the First Time

To Create a Boot Environment and Merge File Systems

To Create a Boot Environment and Split File Systems

To Create a Boot Environment and Reconfiguring Swap

To Create a Boot Environment and Reconfigure Swap by Using a List

To Create a Boot Environment and Copy a Shareable File System

To Create a Boot Environment From a Different Source

To Create an Empty Boot Environment for a Solaris Flash Archive

To Create a Boot Environment With RAID-1 Volumes (Mirrors)

To Create a Boot Environment and Customize the Content

5.  Upgrading With Solaris Live Upgrade (Tasks)

6.  Failure Recovery: Falling Back to the Original Boot Environment (Tasks)

7.  Maintaining Solaris Live Upgrade Boot Environments (Tasks)

8.  Upgrading the Solaris OS on a System With Non-Global Zones Installed

9.  Solaris Live Upgrade (Examples)

10.  Solaris Live Upgrade (Command Reference)

Part II Upgrading and Migrating With Solaris Live Upgrade to a ZFS Root Pool

11.  Solaris Live Upgrade and ZFS (Overview)

12.  Solaris Live Upgrade for ZFS (Planning)

13.  Creating a Boot Environment for ZFS Root Pools

14.  Solaris Live Upgrade For ZFS With Non-Global Zones Installed

Part III Appendices

A.  Troubleshooting (Tasks)

B.  Additional SVR4 Packaging Requirements (Reference)

C.  Using the Patch Analyzer When Upgrading (Tasks)

Glossary

Index

Installing Solaris Live Upgrade

Before running Solaris Live Upgrade, you must install the latest Solaris Live Upgrade packages from installation media and install the patches listed in the SunSolve Infodoc 206844. You need to install the Solaris Live Upgrade packages on your current OS and remove old packages. The release of the Solaris Live Upgrade packages must match the release of the OS you are upgrading to. For example, if your current OS is the Solaris 9 release and you want to upgrade to the Solaris 10 9/10 release, you need to install the Solaris Live Upgrade packages from the Solaris 10 9/10 release. The patches listed in SunSolve Infodoc 206844 also need to be installed. 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 SunSolve Infodoc 206844 describes how to remove old packages and install new packages, as well as lists the required patches. The procedures below provided more description for the procedures described in Infodoc 206844.

To Install Solaris Live Upgrade With the pkgadd Command

You can install the packages by using the liveupgrade20 command that is on the installation DVD or CD or use 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.

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. 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
  3. Install the packages in the following order.
    # pkgadd -d path_to_packages SUNWlucfg SUNWlur SUNWluu   
    path_to_packages

    Specifies the absolute path to the software packages.

  4. Verify that the package has been installed successfully.
    # pkgchk -v SUNWlucfg SUNWlur SUNWluu

To Install Solaris Live Upgrade With the Solaris Installation Program

You can install the packages by using the liveupgrade20 command that is on the installation DVD or CD. 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.


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.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. 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
  3. Insert the Solaris Operating System DVD or Solaris Software - 2 CD.
  4. Run the installer for the media you are using.
    • If you are using the Solaris Operating System DVD, change directories to the installer and run the installer.

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

      The Solaris installation program GUI is displayed. If you are using a script, you can prevent the GUI from displaying by using the -noconsole and -nodisplay options.

    • If you are using the Solaris Software - 2 CD, run the installer.

      % ./installer

      The Solaris installation program GUI is displayed.

  5. From the Select Type of Install panel, click Custom.
  6. On the Locale Selection panel, click the language to be installed.
  7. Choose the software to install.
    • For DVD, on the Component Selection panel, click Next to install the packages.

    • For CD, on the Product Selection panel, click Default Install for Solaris Live Upgrade and click on the other software choices to deselect them.

  8. Follow the directions on the Solaris installation program panels to install the software.

    You are ready to install the required patches.

Installing Patches Needed by Solaris Live Upgrade

Description
For More Information

Caution

Caution - Correct operation of Solaris Live Upgrade requires that a limited set of patch revisions be installed for a particular OS version. Before installing or running Solaris Live Upgrade, you are required to install these patches.



x86 only - If this set of patches is not installed, Solaris Live Upgrade fails and you might see the following error message. If you don't see the following error message, necessary patches still might not be installed. Always verify that all patches listed on the SunSolve Infodoc have been installed before attempting to install Solaris Live Upgrade.

ERROR: Cannot find or is not 
executable: </sbin/biosdev>.
ERROR: One or more patches required by 
Live Upgrade has not been installed.

The patches listed in Infodoc 206844 (formerly 72099) are subject to change at any time. These patches potentially fix defects in Solaris Live Upgrade, as well as fix defects in components that Solaris Live Upgrade depends on. If you experience any difficulties with Solaris Live Upgrade, please check and make sure that you have the latest Solaris Live Upgrade patches installed.

Ensure you have the most recently updated patch list by consulting http://sunsolve.sun.com. Search for the Infodoc 206844 (formerly 72099) on the SunSolve web site.
If you are running the Solaris 8 or Solaris 9 OS, you might not be able to run the Solaris Live Upgrade installer. These releases do not contain the set of patches needed to run the Java 2 runtime environment. You must have the recommended patch cluster for the Java 2 runtime environment that is recommended to run the Solaris Live Upgrade installer and install the packages.
To install the Solaris Live Upgrade packages, use the pkgadd command. Or install, for the Java 2 runtime environment, the recommended patch cluster. The patch cluster is available at http://sunsolve.sun.com.

To Install Required Patches

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. If you are storing the patches on a local disk, create a directory such as /var/tmp/lupatches.
  3. From the SunSolve web site, obtain the list of patches.
  4. Change to the patch directory as in this example.
    # cd /var/tmp/lupatches
  5. Install the patches with the patchadd command.
    # patchadd path_to_patches patch-id patch-id

    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.


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

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

    # init 6

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