Solaris 10 11/06 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Example of Upgrading Using Solaris Live Upgrade (Character User Interface)

In this example, a new boot environment is created on a system that is running the Solaris 9 release. The new boot environment is upgraded to the Solaris 10 6/06 release. The upgraded boot environment is then activated.

To Install Solaris Live Upgrade on the Active Boot Environment

  1. Insert the Solaris Operating System DVD or Solaris Software - 2 CD.

  2. 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.

      • For SPARC based systems:


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

        The Solaris installation program GUI is displayed.

      • For x86 based systems:


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

        The Solaris installation program GUI is displayed.

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


      % ./installer
      

      The Solaris installation program GUI is displayed.

  3. From the Select Type of Install panel, click Custom.

  4. On the Locale Selection panel, click the language to be installed.

  5. 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 the other product choices to deselect the software.

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

To Install Required Patches

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 –

Starting with the Solaris 10 1/06 release, 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 info doc 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 info doc 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 info doc 72099 at 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 on http://sunsolve.sun.com.

Follow these steps to install the required patches.

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


# patchadd /net/server/export/patches
# init 6

To Create a Boot Environment

In this example, the source boot environment is named c0t4d0s0. The root (/) file system is copied to the new boot environment. Also, a new swap slice is created instead of sharing the source boot environment's swap slice.

  1. Become superuser or assume an equivalent role.

  2. Display the character user interface:


    # /usr/sbin/lu
    

    The Solaris Live Upgrade Main Menu is displayed.

  3. From the main menu, select Create.


    Name of Current Boot Environment:    c0t4d0s0
    Name of New Boot Environment:   c0t15d0s0 
    
  4. Press F3.

    The Configuration menu is displayed.

  5. To select a slice from the configuration menu, press F2.

    The Choices menu is displayed.

  6. Choose slice 0 from disk c0t15d0 for the root (/) file system.

  7. From the configuration menu, create a new slice for swap on c0t15d0 by selecting a swap slice to be split.

  8. To select a slice for swap, press F2. The Choices menu is displayed.

  9. Select slice 1 from disk c0t15d0 for the new swap slice.

  10. Press F3 to create the new boot environment.

To Upgrade the Inactive Boot Environment

The new boot environment is then upgraded. The new version of the operating system for the upgrade is taken from a network image.

  1. From the main menu, select Upgrade.


    Name of New Boot Environment:   c0t15d0s0 
    Package Media: /net/ins3-svr/export/Solaris_10/combined.solaris_wos
  2. Press F3.

To Activate the Inactive Boot Environment

The c0t15d0s0 boot environment is made bootable. The system is then rebooted and c0t15d0s0 becomes the active boot environment. The c0t4d0s0 boot environment is now inactive.

  1. From the main menu, select Activate.


    Name of Boot Environment: c0t15d0s0
    Do you want to force a Live Upgrade sync operations: no
    
  2. Press F3.

  3. Press Return.

  4. Type:


    # init 6
    

If a fallback is necessary, use the command-line procedures in the previous example: (Optional) To Fall Back to the Source Boot Environment.