Skip Navigation Links | |
Exit Print View | |
Oracle Solaris 10 1/13 Installation Guide: Live Upgrade and Upgrade Planning Oracle Solaris 10 1/13 Information Library |
Part I Upgrading With Live Upgrade
1. Where to Find Oracle Solaris Installation Planning Information
4. Using Live Upgrade to Create a Boot Environment (Tasks)
Installing Live Upgrade and Creating Boot Environments (Task Map)
How to Install Live Upgrade With the pkgadd Command
How to Install Live Upgrade With the Oracle Solaris Installation Program
Creating a New Boot Environment
How to Create a Boot Environment for the First Time
How to Create a Boot Environment and Merge File Systems
How to Create a Boot Environment and Split File Systems
How to Create a Boot Environment and Reconfiguring Swap
How to Create a Boot Environment and Reconfigure Swap by Using a List
How to Create a Boot Environment and Copy a Shareable File System
How to Create a Boot Environment From a Different Source
How to Create an Empty Boot Environment for a Flash Archive
How to Create a Boot Environment With RAID-1 Volumes (Mirrors)
Creating a Boot Environment and Customizing 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
Part II Upgrading and Migrating With Live Upgrade to a ZFS Root Pool
10. Live Upgrade and ZFS (Overview)
11. Live Upgrade for ZFS (Planning)
12. Creating a Boot Environment for ZFS Root Pools
13. Live Upgrade for ZFS With Non-Global Zones Installed
A. Live Upgrade Command Reference
C. Additional SVR4 Packaging Requirements (Reference)
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. This section provides more description for the procedures described in knowledge document 1004881.1 – Live Upgrade Software Patch Requirements (formerly 206844).
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.
This section provides the following procedures:
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
# pkgadd -d path-to-packages SUNWlucfg SUNWlur SUNWluu
Specifies the absolute path to the software packages.
# pkgchk -v SUNWlucfg SUNWlur SUNWluu
Using the liveupgrade20 command that is on the installation DVD or CD 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 How to Install Live Upgrade With the pkgadd Command for more information.
Note - This procedure assumes that the system is running Solaris Volume Manager. For detailed information about managing removable media with the Solaris Volume Manager, refer to System Administration Guide: Devices and File Systems.
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
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.
For the DVD, on the Component Selection panel, click Next to install the packages.
For the CD, on the Product Selection panel, select Default Install for Live Upgrade and click the other software choices to deselect them.
You are ready to install the required patches.
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.
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.
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).
# cd /var/tmp/lupatches
# 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).
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.