JavaScript is required to for searching.
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
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)

5.  Upgrading With Live Upgrade (Tasks)

Upgrading a Boot Environment (Task Map)

Upgrading a Boot Environment

Guidelines for Upgrading

Upgrading a System With Packages or Patches

How to Upgrade a Network Installation Image on a Boot Environment

How to Upgrade a Network Installation Image From Multiple CDs

Adding Packages to or Removing Packages From a Network Installation Image on a Boot Environment

Adding Patches to or Removing Patches From a Network Installation Image on a Boot Environment

Checking Packages Installed on a Boot Environment

Upgrading by Using a JumpStart Profile

How to Create a Profile to be Used by Live Upgrade

How to Test a Profile to Be Used by Live Upgrade

How to Upgrade With a Profile by Using Live Upgrade

JumpStart Keyword Values

Installing Flash Archives on a Boot Environment

How to Install a Flash Archive on a Boot Environment

How to Install a Flash Archive With a Profile

How to Install a Flash Archive With a Profile Keyword

Activating a Boot Environment

Requirements and Limitations for Activating a Boot Environment

How to Activate a Boot Environment

How to Activate a Boot Environment and Synchronize Files

x86: Activating a Boot Environment With the GRUB Menu

x86: How to Activate a Boot Environment With the GRUB Menu

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

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

Part III Appendices

A.  Live Upgrade Command Reference

B.  Troubleshooting (Tasks)

C.  Additional SVR4 Packaging Requirements (Reference)

D.  Using the Patch Analyzer When Upgrading (Tasks)

Glossary

Index

Activating a Boot Environment

Activating a boot environment makes it bootable on the next reboot of the system. You can also switch back quickly to the original boot environment if a failure occurs on booting the newly active boot environment. See Chapter 6, Failure Recovery: Falling Back to the Original Boot Environment (Tasks).

Requirements and Limitations for Activating a Boot Environment

To successfully activate a boot environment, that boot environment must meet the following conditions:


x86 only - If you have an x86 based system, you can also activate with the GRUB menu. Note the following exceptions:

See x86: Activating a Boot Environment With the GRUB Menu.


How to Activate a Boot Environment

The following procedure switches a new boot environment to become the currently running boot environment.


x86 only - If you have an x86 based system, you can also activate with the GRUB menu. Note the following exceptions:

See x86: Activating a Boot Environment With the GRUB Menu.


  1. To activate the boot environment, type:
    # /sbin/luactivate  BE-name
    BE-name

    Specifies the name of the boot environment that is to be activated

  2. Reboot.
    # init 6

    Caution

    Caution - Use only the init or shutdown commands to reboot. If you use the reboot, halt, or uadmin commands, the system does not switch boot environments. The last-active boot environment is booted again.


Example 5-14 Activating a Boot Environment

In this example, the second_disk boot environment is activated at the next reboot.

# /sbin/luactivate second_disk
# init 6

How to Activate a Boot Environment and Synchronize Files

The first time you boot from a newly created boot environment, Live Upgrade software synchronizes the new boot environment with the boot environment that was last active. “Synchronize” means that certain critical system files and directories are copied from the last-active boot environment to the boot environment being booted. Live Upgrade does not perform this synchronization after the initial boot, unless you force synchronization with the luactivate command and the -s option.


x86 only - When you switch between boot environments with the GRUB menu, files also are not synchronized. You must use the following procedure to synchronize files.


For more information about synchronization, see Synchronizing Files Between Boot Environments.

  1. To activate the boot environment, type:
    # /sbin/luactivate  -s BE-name
    -s

    Forces a synchronization of files between the last-active boot environment and the new boot environment. The first time that a boot environment is activated, the files between the boot environment are synchronized With subsequent activations, the files are not synchronized unless you use the -s option.


    Caution

    Caution - Use this option with great care, because you might not be aware of or in control of changes that might have occurred in the last-active boot environment. For example, if you were running Oracle Solaris 10 8/11 software on your current boot environment and booted back to a Solaris 9 release with a forced synchronization, files could be changed on the Solaris 9 release. Because files are dependent on the release of the OS, the boot to the Solaris 9 release could fail because the Oracle Solaris 10 8/11 files might not be compatible with the Solaris 9 files.


    BE-name

    Specifies the name of the boot environment that is to be activated.

  2. Reboot.
    # init 6

Example 5-15 Activating a Boot Environment

In this example, the second_disk boot environment is activated at the next reboot and the files are synchronized.

# /sbin/luactivate -s second_disk
# init 6

x86: Activating a Boot Environment With the GRUB Menu

A GRUB menu provides an optional method of switching between boot environments. The GRUB menu is an alternative to activating (booting) with the luactivate command. The cautions and limitations are as follows:


Caution

Caution - After you have activated a boot environment, do not change the disk order in the BIOS. Changing the order might cause the GRUB menu to become invalid. If this problem occurs, changing the disk order back to the original state fixes the GRUB menu.


x86: How to Activate a Boot Environment With the GRUB Menu

You can switch between two boot environments with the GRUB menu. Note the following limitations:

  1. Reboot the system.
    # init 6

    The GRUB main menu is displayed.

    In this example, the two operating systems are listed, Oracle Solaris and second_disk, which is a Live Upgrade boot environment. The failsafe entries are for recovery, if for some reason the primary OS does not boot.

    GNU GRUB version 0.95 (616K lower / 4127168K upper memory)
    +-------------------------------------------------------------------+
    |Solaris                                                            |
    |Solaris  failsafe                                                  |
    |second_disk                                                        |
    |second_disk failsafe                                               |
    +-------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted. Press
    enter to boot the selected OS, 'e' to edit the commands before
    booting, or 'c' for a command-line.
  2. Use the arrow key to select the desired boot environment and press Enter.

    The selected boot environment is booted and becomes the active boot environment.