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 |
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)
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
Upgrading With Live Upgrade and Installed Non-Global Zones (Overview)
Understanding Oracle Solaris Zones and Live Upgrade
Guidelines for Using Live Upgrade With Non-Global Zones (Planning)
Creating a Boot Environment When a Non-Global Zone Is on a Separate File System
Creating and Upgrading a Boot Environment When Non-Global Zones Are Installed (Tasks)
Upgrading With Live Upgrade When Non-Global Zones Are Installed on a System (Tasks)
Upgrading a System With Non-Global Zones Installed (Example)
Upgrading With Live Upgrade When Non-Global Zones Are Installed on a System
Administering Boot Environments That Contain Non-Global Zones
To View the Configuration of a Boot Environment's Non-Global Zone File Systems
To Compare Boot Environments for a System With Non-Global Zones Installed
Using the lumount Command on a System That Contains Non-Global Zones
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
B. Additional SVR4 Packaging Requirements (Reference)
The following procedure provides an example with abbreviated instructions for upgrading with Live Upgrade.
For detailed explanations of steps, see Upgrading With Live Upgrade When Non-Global Zones Are Installed on a System (Tasks).
The following example provides abbreviated descriptions of the steps to upgrade a system with non-global zones installed. In this example, a new boot environment is created by using the lucreate command on a system that is running the Oracle Solaris 10 release. This system has non-global zones installed and has a non-global zone with a separate file system on a shared file system, zone1/root/export. The new boot environment is upgraded to the Oracle Solaris 10 8/11 release by using the luupgrade command. The upgraded boot environment is activated by using the luactivate command.
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.
Install required patches.
Ensure that you have the most recently updated patch list by consulting http://support.oracle.com (My Oracle Support). Search for the knowledge document 1004881.1 - Live Upgrade Software Patch Requirements (formerly 206844) on My Oracle Support. In this example, /net/server/export/patches is the path to the patches.
# patchadd /net/server/export/patches # init 6
Remove the Live Upgrade packages from the current boot environment.
# pkgrm SUNWlucfg SUNWluu SUNWlur
Insert the Oracle Solaris DVD or CD. Then install the replacement Live Upgrade packages from the target release.
# pkgadd -d /cdrom/cdrom0/Solaris_10/Product SUNWlucfg SUNWlur SUNWluu
Create a boot environment.
In the following example, a new boot environment named newbe is created. The root (/) file system is placed on c0t1d0s4. All non-global zones in the current boot environment are copied to the new boot environment. A separate file system was created with the zonecfg add fs command for zone1. This separate file system /zone/root/export is placed on a separate file system, c0t1d0s1. This option prevents the separate file system from being shared between the current boot environment and the new boot environment.
# lucreate -n newbe -m /:/dev/dsk/c0t1d0s4:ufs -m /export:/dev/dsk/c0t1d0s1:ufs:zone1
Upgrade the new boot environment.
In this example, /net/server/export/Solaris_10/combined.solaris_wos is the path to the network installation image.
# luupgrade -n newbe -u -s /net/server/export/Solaris_10/combined.solaris_wos
(Optional) Verify that the boot environment is bootable.
The lustatus command reports if the boot environment creation is complete.
# lustatus boot environment Is Active Active Can Copy Name Complete Now OnReboot Delete Status ------------------------------------------------------------------------ c0t1d0s0 yes yes yes no - newbe yes no no yes -
Activate the new boot environment.
# luactivate newbe # init 6
The boot environment newbe is now active.
(Optional) Fall back to a different boot environment. If the new boot environment is not viable or you want to switch to another boot environment, see Chapter 6, Failure Recovery: Falling Back to the Original Boot Environment (Tasks).