Solaris Express Installation Guide: Solaris Flash Archives (Creation and Installation)

The contents of this Documentation are subject to the Public Documentation License Version 1.01 (the "License"); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at http://www.opensolaris.org/os/community/documentation/license.

Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more U.S. patents or pending patent applications in the U.S. and in other countries.

U.S. Government Rights – Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements.

This distribution may include materials developed by third parties.

Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd.

Sun, Sun Microsystems, the Sun logo, the Solaris logo, the Java Coffee Cup logo, docs.sun.com, JumpStart, Solaris Flash, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

The OPEN LOOK and Sun™ Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry. Sun holds a non-exclusive license from Xerox to the Xerox Graphical User Interface, which license also covers Sun's licensees who implement OPEN LOOK GUIs and otherwise comply with Sun's written license agreements.

Products covered by and information contained in this publication are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical or biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Sun Microsystems, Inc. détient les droits de propriété intellectuelle relatifs à la technologie incorporée dans le produit qui est décrit dans ce document. En particulier, et ce sans limitation, ces droits de propriété intellectuelle peuvent inclure un ou plusieurs brevets américains ou des applications de brevet en attente aux Etats-Unis et dans d'autres pays.

Cette distribution peut comprendre des composants développés par des tierces personnes.

Certaines composants de ce produit peuvent être dérivées du logiciel Berkeley BSD, licenciés par l'Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d'autres pays; elle est licenciée exclusivement par X/Open Company, Ltd.

Sun, Sun Microsystems, le logo Sun, le logo Solaris, le logo Java Coffee Cup, docs.sun.com, JumpStart, Solaris Flash, Sun ONE Application Server, Java et Solaris sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d'autres pays. Toutes les marques SPARC sont utilisées sous licence et sont des marques de fabrique ou des marques déposées de SPARC International, Inc. aux Etats-Unis et dans d'autres pays. Les produits portant les marques SPARC sont basés sur une architecture développée par Sun Microsystems, Inc.

L'interface d'utilisation graphique OPEN LOOK et Sun a été développée par Sun Microsystems, Inc. pour ses utilisateurs et licenciés. Sun reconnaît les efforts de pionniers de Xerox pour la recherche et le développement du concept des interfaces d'utilisation visuelle ou graphique pour l'industrie de l'informatique. Sun détient une licence non exclusive de Xerox sur l'interface d'utilisation graphique Xerox, cette licence couvrant également les licenciés de Sun qui mettent en place l'interface d'utilisation graphique OPEN LOOK et qui, en outre, se conforment aux licences écrites de Sun.

Les produits qui font l'objet de cette publication et les informations qu'il contient sont régis par la legislation américaine en matière de contrôle des exportations et peuvent être soumis au droit d'autres pays dans le domaine des exportations et importations. Les utilisations finales, ou utilisateurs finaux, pour des armes nucléaires, des missiles, des armes chimiques ou biologiques ou pour le nucléaire maritime, directement ou indirectement, sont strictement interdites. Les exportations ou réexportations vers des pays sous embargo des Etats-Unis, ou vers des entités figurant sur les listes d'exclusion d'exportation américaines, y compris, mais de manière non exclusive, la liste de personnes qui font objet d'un ordre de ne pas participer, d'une façon directe ou indirecte, aux exportations des produits ou des services qui sont régis par la legislation américaine en matière de contrôle des exportations et la liste de ressortissants spécifiquement designés, sont rigoureusement interdites.

LA DOCUMENTATION EST FOURNIE "EN L'ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L'APTITUDE A UNE UTILISATION PARTICULIERE OU A L'ABSENCE DE CONTREFACON.

February 2006

Abstract

This book describes creating and administering Solaris Flash archives. This installation feature enables you to create a single reference installation of the Solaris Operating System, then you can replicate that installation on a number of clone systems.


Table of Contents

Preface
Who Should Use This Book
Related Books
Documentation, Support, and Training
Typographic Conventions
Shell Prompts in Command Examples
1. Solaris Flash (Overview)
Solaris Flash Introduction
Installing Clone Systems With an Initial Installation
Updating Clone Systems With a Solaris Flash Differential Archive
2. Solaris Flash (Planning)
Planning Your Solaris Flash Installation
Designing an Initial Installation of the Master System
Planning the Creation of a Solaris Flash Archive
Planning the Installation of Solaris Flash Archives
3. Creating Solaris Flash Archives (Tasks)
Task Map: Creating Solaris Flash Archives
Installing the Master System
Creating Customization Scripts
Using a Precreation Script to Create a User-Defined Archive Section
Creating a Solaris Flash Archive
Creating a Solaris Flash Archive (Examples)
4. Installing and Administering Solaris Flash Archives (Tasks)
Installing a Solaris Flash Archive With the Solaris Installation Program
References to Procedures for Installing Solaris Flash Archives
Administering Solaris Flash Archives
Splitting a Solaris Flash Archive
Merging Solaris Flash Archives
Extracting Information From an Archive
5. Solaris Flash (Reference)
Solaris Flash Archive Section Descriptions
Solaris Flash Keywords
General Keywords
Archive Identification Section Keywords
User-Defined Section Keywords
Solaris Flash flar Command
The flar Command
Glossary
Index

List of Figures

1.1. Solaris Flash Initial Installation
1.2. Solaris Flash Update

List of Tables

1. Related Information
2. Typographic Conventions
3. Shell Prompts
2.1. Flash Archive Sections
3.1. Task Map: Creating a Solaris Flash Archive to Install With an Initial Installation
3.2. Task Map: Creating a Solaris Flash Archive to Update a Clone System
5.1. Flash Archive Sections
5.2. Values for section_begin and section_end Keywords
5.3. Archive Identification Section Keywords: General Keywords
5.4. Archive Identification Section Keywords: Contents of Archive Files Section
5.5. Archive Identification Section Keywords: User Describes the Archive
5.6. Archive Identification Section Keywords: Software Describes the Archive
5.7. Command-Line Options for the flar Command

List of Examples

3.1. Excerpts From a Precreation Script
3.2. Precreation Script
3.3. Predeployment Script
3.4. Postdeployment Script
3.5. Creating a reboot Script
3.6. Creating an Exact Duplicate Archive
3.7. Creating an Archive With the cpio Copy Method For Backward Compatibility
3.8. Creating an Archive From an Alternate root (/) File System
3.9. Creating an Archive and Adding Keywords to Describe the Archive
3.10. Creating an Archive and Excluding and Including Files and Directories
3.11. Creating an Archive Excluding and Including Files and Directories by Using Lists
3.12. Creating an Archive Excluding Files and Directories by Using a List and Restoring a Directory
3.13. Creating an Archive Excluding and Including Files and Directories by Using a List With the z Option
3.14. Creating a Differential Archive With the New Master Image on the Master System
3.15. Creating a Differential Archive With the Images Stored on an Inactive Boot Environment
3.16. Creating a Differential Archive by Using Solaris Live Upgrade
4.1. Splitting an Archive
4.2. Merging a Solaris Flash Archive
4.3. Merging a Solaris Flash Archive and Adding a User-Defined Section
4.4. Listing Files in an Archive Section