Before you create and install a Solaris Flash archive, you must make some decisions about how you want to install the Solaris operating environment on your systems.
The first task in the Solaris Flash installation process is to install a system, the master system, with the configuration that you want each of the clone systems to have. You can use any of the Solaris installation methods to install an archive on the master system. The installation can be a subset or a complete installation of the Solaris operating environment. After you complete the installation, you can add or remove software or modify any configuration files.
The master system and the clone systems must have the same kernel architectures. For example, you can only use an archive that was created from a master system that has a sun4u architecture to install clones with a sun4u architecture.
You must install the master system with the exact configuration that you want on each of the clone systems. The decisions that you make when you design the installation of the master system depend on the following:
The software that you want to install on the clone systems
Peripheral devices that are connected to the master system and the clone systems
The architecture of the master system and the clone systems
After you install the Solaris operating environment on the master system by using any of the Solaris installation methods, you can add or delete software and modify system configuration information as necessary.
Delete software. You can remove software that you determine is not necessary to install on the clone systems. To see a list of software that is installed on the master system, use the Product Registry. For detailed instructions, refer to System Administration Guide: Basic Administration.
Add software. You can install software that is included in the Solaris release. You can also add software that is not delivered as part of the Solaris operating environment. All of the software that you install on the master system is included in the Solaris Flash archive and is installed on the clone systems.
Modify configuration files. You can alter configuration files on the master system. For example, you can modify the /etc/inet/inetd.conf file to restrict the daemons that the system runs. All of the modifications that you make are saved as part of the Solaris Flash archive and are installed on the clone systems.
Further customization can be done when creating the archive. For example, you can exclude large data files that you might not want in the archive. For an overview, see “Customizing the Solaris Flash Archive Files and Directories”.
After you install the Solaris Flash archive on a clone system, some host-specific files are deleted and are re–created for the clone machine. The installation program uses the sys-unconfig(1M) command and the sysidtool(1M) programs to delete and re–create the host-specific network configuration files. The files that are re–created include such files as /etc/hosts, /etc/defaultrouter, and /etc/defaultdomain.
If you want to use the Solaris Flash installation method to install the Solaris software on both SPARC and IA systems, you must create a separate Solaris Flash archive for each platform. Use the Solaris Flash archive that was created from the SPARC master system to install SPARC systems. Use the Solaris Flash archive that was created from the IA master system to install IA systems.
You might be installing a master system that has different peripheral devices than the clone systems. If you install the master system with the Core, End User, Developer, or Entire Software Group, the master system supports only the peripheral devices that are attached to the master system at the time of installation.
For example, if you install the Entire Software Group on a master system that has a GX CG6 frame buffer, the installation contains support for only the GX CG6 frame buffer. Consequently, you can only install the archive that you create from this system on clone systems that have either the GX CG6 frame buffer or no frame buffers. If you use the archive to install a clone system with an Elite 3D frame buffer, the Elite 3D is unusable. The required drivers will not be installed.
You might have clone systems that have peripheral devices that the master system does not have. You can install support for these peripheral devices on the master system even though the master system does not have the devices. The Solaris Flash archive that you create from this master system contains support for the peripheral devices on the clone systems.
Sometimes, you might want to install clone systems that have different peripherals from the master system. You can install support for those peripherals on the master system in one of the following ways.
Install the Entire Plus OEM Software Group – The Entire Plus OEM Software Group is the largest Software Group available. This group contains every package that is found in the Solaris operating environment. If you install this group on the master system, the master system includes all of the drivers that are included with the Solaris release. A Solaris Flash archive that is created from a master system that you install with the Entire Plus OEM Software Group works on any clone system that has peripheral devices supported by the installed release of the Solaris operating environment.
Installing master systems with the Entire Plus OEM Software Group guarantees compatibility with other peripheral configurations. However, the Entire Plus OEM Software Group requires over 1 Gbyte of disk space. The clone systems might not have the space that is required to install the Entire Plus OEM Software Group.
Install selected packages – When you install the master system, you can install only the packages that you need for the master system and the clone systems. By selecting specific packages, you can install only support for the peripherals that you know exist on the master system or clone systems.
After you install the master system, the next task in the Solaris Flash installation process is to create a Solaris Flash archive. Files on the master system are copied to a Solaris Flash archive along with various pieces of identification information. You can create a Solaris Flash archive while the master system is running in multiuser mode or single-user mode. You can also create a Solaris Flash archive after you boot from one of the following:
Solaris 9 DVD
Solaris 9 Software 1 of 2 CD
An image of the Solaris 9 Software and the Solaris 9 Languages CDs
Create the archive when the system is in as static a state as possible.
When you create a Solaris Flash archive, some files and directories that are to be copied from the master system can be excluded. If you have excluded a directory, you can also restore specified files or subdirectories under that directory. For example, you could create an archive that excludes all files and directories in /a/aa/bb/c. The content of the /bb subdirectory could be included. The only content then would be in the /bb subdirectory.
Use the flar create file-exclusion options with caution. If you exclude some directories, others that you were unaware of might be left in the archive, such as system configuration files. The system would then be inconsistent and the installation would not work. Excluding directories and files is best used with data that can easily be removed without disrupting the system, such as large data files.
The following table lists the flar create command options that can exclude files and directories and restore files and subdirectories.
How Specified? |
Options That Exclude |
Options That Include |
---|---|---|
Specify the name of the directory or file |
-x exclude_dir/filename |
-y include_dir/filename |
Use a file that contains a list |
-X list_filename -z list_filename |
-f list_filename -z list_filename |
For descriptions of these options, see Table 20–3.
For examples of customizing an archive, see “Creating an Archive Examples”.
Solaris Flash archives contain at least three sections. The sections include sections that identify the archive and the actual files that were copied from the master system.
Archive Cookie section – The first section of a Solaris Flash archive contains a cookie that identifies the file as a Solaris Flash archive. The cookie must be present for an archive to be valid.
Archive Identification Section – The second section contains keywords with values that provide identification information about the archive. You are required to specify a name for the Solaris Flash archive. Other information that you can specify about the archive includes:
The author of the archive
The date that the archive was created
The name of the master system that you used to create the archive
For a list of keywords that describe the archive, see “Identification Section Keywords”.
User–Defined sections – Following the Archive Identification Section, you can define and insert sections. The Solaris Flash archive does not process any sections that you insert. For example, this section could contain a description of the archive or perhaps a script to check the integrity of an application.
In a User-Defined section, you can also define keywords. The Solaris Flash archive ignores user-defined keywords, but you can provide scripts or programs that process the Identification section and use these keywords.
The User-Defined section requires the following format.
Archive Files Section – The Archive Files Section contains the files that were saved from the master system.
You can use the flar command to retrieve information about the archive. For detailed instructions, refer to “Extracting Information From an Archive”.
After you create the Solaris Flash archive, you can save the archive on the hard disk of the master system or on a tape. After you save the archive, you can copy it to any file system or media that you choose.
Network File System (NFS) server
HTTP server
FTP server
Tape
CD, DVD
Diskette
Local drive of clone system that you want to install
When you create the Solaris Flash archive, you can specify that the archive be saved as a compressed file by using the compress(1) utility. An archive that is compressed requires less disk storage space and creates less congestion when you install the archive over a network.
The final task in the Solaris Flash installation process is to install Solaris Flash archives on clone systems.
You can use any of the Solaris installation methods to install Solaris Flash archives on clone systems.
The Solaris Web Start program on the Solaris 9 DVD or Solaris 9 Installation CD enables you to install Solaris Flash archives that are stored on the following:
Disc (DVD or CD)
NFS server
HTTP server
FTP server
Local tape
For installation instructions, see “SPARC: Performing an Installation or Upgrade With the Solaris Web Start Program” or “IA: Performing an Installation or Upgrade With the Solaris Web Start Program”.
The Solaris suninstall program on the Solaris 9 Software 1 of 2 CD enables you to install Solaris Flash archives that are stored on the following:
NFS server
HTTP server
FTP server
Local file
Local tape
Local device, including CD
For installation instructions, see “SPARC: Performing an Installation or Upgrade With the Solaris suninstall Program” or “IA: Performing an Installation or Upgrade With the Solaris suninstall Program”.
The custom JumpStart installation program enables you to install Solaris Flash archives that are stored on the following:
NFS server
HTTP server
FTP server
Local tape
Local device, including DVD or CD
Local file
For installation instructions, see “To Prepare to Install a Solaris Flash Archive With a Custom JumpStart Installation”.
Solaris Live Upgrade enables you to install Solaris Flash archives that are stored on the following:
HTTP server
FTP server
NFS server
Local file
Local tape
Local device, including DVD or CD
For installation instructions, see “Installing Solaris Flash Archives on a Boot Environment”.