Solaris 9 9/04 Installation Guide

Chapter 8 Upgrading the Solaris Operating Environment (Planning)

This chapter provides specific information and instructions about tasks that you must perform before you upgrade to the Solaris operating environment.

Upgrading (Overview)

An upgrade merges the new version of the Solaris operating environment with the existing files on the system's disk. An upgrade saves as many modifications as possible that you have made to the previous version of the Solaris operating environment.

You can upgrade any system that is running the Solaris 2.6, Solaris 7, or Solaris 8. Type the following command to see the version of Solaris software that is running on your system:


$ uname -a

You can upgrade the Solaris operating environment by using the following installation methods.


Note –

Use the smosservice patch to upgrade diskless clients. For detailed instructions, refer to System Administration Guide: Basic Administration or to smosservice(1M).


If you are already running the Solaris 9 operating environment and have installed individual patches, upgrading to a Solaris 9 Update release causes the following:

You can use the Patch Analyzer to determine which patches, if any, will be removed by upgrading to the Solaris 9 Update release. For detailed instructions about using the Patch Analyzer, refer to Upgrading to a Solaris Update Release.

Solaris Upgrade Methods

Table 8–1 SPARC: Solaris Upgrade Methods

Platform 

Current Solaris Operating Environment 

Solaris Upgrade Methods 

SPARC systems 

Solaris 2.6, Solaris 7, Solaris 8, Solaris 9 

  • The Solaris Web Start program

  • Solaris suninstall program

  • Custom JumpStart method

  • Solaris Live Upgrade

Table 8–2 x86: Solaris Upgrade Methods

Current Solaris Operating Environment 

Solaris Upgrade Methods 

Solaris 2.6 

Installing from DVD media or a net installation image: 

  • Solaris Web Start program

  • Solaris suninstall program

  • Custom JumpStart method

Installing from CD media: 

  • Solaris suninstall program

  • Custom JumpStart method

Solaris 7 

Installing from DVD media or a net installation image: 

  • Solaris Web Start program

  • Solaris suninstall program

  • Custom JumpStart method

  • Solaris Live Upgrade

Installing from CD media: 

  • Solaris suninstall program

  • Custom JumpStart method

  • Solaris Live Upgrade

Solaris 8, Solaris 9 

Installing from DVD or CD media or a net installation image: 

  • Solaris Web Start program

  • Solaris suninstall program

  • Custom JumpStart method

  • Solaris Live Upgrade


Note –

For limitations on upgrading using Solaris Live Upgrade, see Solaris Live Upgrade Requirements.


You cannot upgrade your system to a software group that is not installed on the system. For example, if you previously installed the End User Solaris Software Group on your system, you cannot use the upgrade option to upgrade to the Developer Solaris Software Group. However, during the upgrade you can add software to the system that is not part of the currently installed software group.

Using Solaris Live Upgrade

Solaris Live Upgrade enables an upgrade on a duplicate, inactive operating environment, which reduces the downtime of an operating system upgrade.

For instructions on how to plan for and use Solaris Live Upgrade, see Chapter 32, Solaris Live Upgrade (Topics).

Using Custom JumpStart to Upgrade

You can use the custom JumpStart installation method to upgrade. In the custom JumpStart profile, specify install_type upgrade.

You must test the custom JumpStart profile against the system's disk configuration and currently installed software before you upgrade. Use the pfinstall -D command on the system that you are upgrading to test the profile. You cannot test an upgrade profile by using a disk configuration file. For more information about testing the upgrade option, refer to Testing a Profile.

You can use JumpStart to update a clone system with a Solaris Flash differential archive. For an overview of Solaris Flash archives, see Chapter 20, Solaris Flash (Overview and Planning).

Upgrading With Disk Space Reallocation

The upgrade option in the Solaris Web Start installation method, the Solaris suninstall program, and the custom JumpStart program provide the ability to reallocate disk space. You can reallocate disk space if the current file systems do not have enough space for the upgrade. File systems might need more space for the upgrade for the following reasons:

The auto-layout feature attempts to reallocate the disk space to accommodate the new size requirements of the file system. Initially, auto-layout attempts to reallocate space, based on a set of default constraints. If auto-layout cannot reallocate space, you must change the constraints on the file systems.


Note –

Auto-layout does not have the ability to grow file systems. Auto-layout reallocates space by backing up required files on the file systems that need to change, repartitioning the disks on the basis of the file system changes, and restoring the backup files before the upgrade happens.


Backing Up Systems Before Upgrading

Back up existing file systems before you upgrade to the Solaris operating environment. If you copy file systems to removable media, such as tape, you can safeguard against data loss, damage, or corruption. For detailed instructions to back up your system, refer to System Administration Guide: Devices and File Systems.