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

Document Information

Preface

Part I Upgrading With Live Upgrade

1.  Where to Find Oracle Solaris Installation Planning Information

2.  Live Upgrade (Overview)

3.  Live Upgrade (Planning)

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

Task Map: Installing Live Upgrade and Creating Boot Environments

Installing Live Upgrade

To Install Live Upgrade With the pkgadd Command

To Install Live Upgrade With the Oracle Solaris Installation Program

Installing Patches Needed by 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 Flash Archive

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

To Create a Boot Environment and Customize the Content

5.  Upgrading With Live Upgrade (Tasks)

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

7.  Maintaining Live Upgrade Boot Environments (Tasks)

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

9.  Live Upgrade (Examples)

10.  Live Upgrade (Command Reference)

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

11.  Live Upgrade and ZFS (Overview)

12.  Live Upgrade for ZFS (Planning)

13.  Creating a Boot Environment for ZFS Root Pools

14.  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 Live Upgrade

Before running Live Upgrade, you must install the latest Live Upgrade packages from installation media and install the patches listed in the My Oracle Support knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 206844). You need to install the Live Upgrade packages on your current OS and remove old packages. The release of the 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 Oracle Solaris 10 8/11 release, you need to install the Live Upgrade packages from the Oracle Solaris 10 8/11 release. The patches listed in My Oracle Support knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 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 My Oracle Support knowledge document 1004881.1 Live Upgrade Software Patch Requirements (formerly 206844) on My Oracle Support describes how to remove old packages and install new packages, as well as lists the required patches. The procedures below provide more description for the procedures described in knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 206844).

To Install 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 My Oracle Support knowledge document 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 Live Upgrade packages.

    The three Live Upgrade packages, SUNWluu, SUNWlur, and SUNWlucfg, comprise the software needed to upgrade or patch by using 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 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 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 Live Upgrade With the Oracle 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 My Oracle Support knowledge document 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 Live Upgrade packages.

    The three Live Upgrade packages, SUNWluu, SUNWlur, and SUNWlucfg, comprise the software needed to upgrade or patch by using 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 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 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 Oracle Solaris Operating System DVD or Oracle Solaris Software - 2 CD.
  4. Run the installer for the media you are using.
    • If you are using the Oracle Solaris Operating System DVD, change directories to the installer and run the installer.

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

      The Oracle 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 Oracle Solaris Software - 2 CD, run the installer.

      % ./installer

      The Oracle 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 Live Upgrade and click on the other software choices to deselect them.

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

    You are ready to install the required patches.

Installing Patches Needed by Live Upgrade

Description
For More Information

Caution

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



x86 only - If this set of patches is not installed, 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 MyOracleSupport knowledge document have been installed before attempting to install 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 the knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 206844) are subject to change at any time. These patches potentially fix defects in Live Upgrade, as well as fix defects in components that Live Upgrade depends on. If you experience any difficulties with Live Upgrade, please check and make sure that you have the latest Live Upgrade patches installed.

Ensure you have the most recently updated patch list by consulting http://support.oracle.com. Search for the knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 206844) on My Oracle Support.
If you are running the Solaris 8 or Solaris 9 OS, you might not be able to run the 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 Live Upgrade installer and install the packages.
To install the 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://support.oracle.com (My Oracle Support).

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 My Oracle Support 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 the knowledge document 1004881.1 - Live Upgrade Software Patch Requirements (formerly 206844).


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

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

    # init 6

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