Solaris 10 8/07 Installation Guide: Solaris Flash Archives (Creation and Installation)

Solaris Flash Introduction

The Solaris Flash installation feature enables you to use a single reference installation of the Solaris OS on a system, which is called the master system. Then, you can replicate that installation on a number of systems, which are called clone systems. You can replicate clone systems with a Solaris Flash initial installation that overwrites all files on the system or with a Solaris Flash update that only includes the differences between two system images. A differential update changes only the files that are specified and is restricted to systems that contain software consistent with the old master image.

Installing Clone Systems With an Initial Installation

You can install a master system with a Solaris Flash archive for an initial installation by using any installation method: Solaris installation program, custom JumpStart, Solaris Live Upgrade, or WAN boot. All files are overwritten. The Solaris Flash installation is a five-part process.

  1. Install the master system. You select a system and use any of the Solaris installation methods to install the Solaris OS and any other software.

  2. (Optional) Prepare customization scripts to reconfigure or customize the clone system before or after installation.

  3. Create the Solaris Flash archive. The Solaris Flash archive contains a copy of all of the files on the master system, unless you excluded some nonessential files.

  4. Install the Solaris Flash archive on clone systems. The master system and the clone system must have the same kernel architecture.

    When you install the Solaris Flash archive on a system, all of the files in the archive are copied to that system. The newly installed system now has the same installation configuration as the original master system, thus the system is called a clone system. Some customization is possible:

    • Scripts can be used for customization.

    • You can install extra packages with a Solaris Flash archive by using the custom JumpStart installation method. The packages must be from outside the software group being installed or a third-party package.

  5. (Optional) Save a copy of the master image. If you plan to create a differential archive, the master image must be available and identical to the image installed on the clone systems.

For step-by-step instructions, see Installing the Master System.

Figure 1–1 shows an installation of clone systems with an initial installation. All files are overwritten.

Figure 1–1 Solaris Flash Initial Installation

The context describes the illustration.

Updating Clone Systems With a Solaris Flash Differential Archive

If you have a clone system and want to update that system, you can create a differential archive that contains only the differences between two images, the unchanged master image and an updated master image. When you update a clone system with a differential archive, only the files that are in the differential archive are changed. You can choose to install a Solaris Flash differential archive with the custom JumpStart installation method or Solaris Live Upgrade. An update is a five-part process.

  1. Prepare the master system with changes. Before changes are made, the master system should be running a duplicate of the original archive.

    Note –

    If the master system is not running a duplicate of the original archive, the differences between the two system images might result in a large differential archive. Consequently, installing the differential archive could be time consuming. Use an initial installation with a full archive in this case.

  2. (Optional) Prepare customization scripts to reconfigure or customize the clone system before or after installation.

  3. Mount the directory of a copy of the saved-unchanged master image. This second image is to be used to compare the two system images. Access the image by the following methods.

    • Mounted from a Solaris Live Upgrade boot environment

    • Mounted from a clone system over NFS

    • Restored from backup by using the ufsrestore command

  4. Create the differential archive with the -A option of the flarcreate command.

  5. Install the differential archive on clone systems with custom JumpStart. Or, you can use Solaris Live Upgrade to install the differential archive on an inactive boot environment.

Figure 1–2 shows the creation and installation of a differential archive. A master image is updated with some modifications. These modifications could be as simple as the addition, reconfiguration, or deletion of a few files, or as complex as propagating patches. The updated master image is compared to the unchanged master image. The differences between the two images become the differential archive. The archive can be used to update other clone systems that are currently using the unchanged master image. If the clone system has already been modified or is not running the unchanged master image, the update fails. If you have many changes to make on the clone systems, you can do an initial installation at any time.

Figure 1–2 Solaris Flash Update

The context describes the illustration.