
Other edits —
•The archive_type must match what was done by make_sys_image. For more information about archive_type, see instl_adm(4).
•If you have only one archive, as in this example, you can delete the entire clause called golden image2. It is included in the template file in case you have two different types of archives, such as one for
•If more than one archive per architecture is on the media, use an exrequisite attribute between them so only one archive can be selected at one time.
IMPORTANT: Do not change anything else in the file, unless you are very sure of what you are doing. In particular, it is potentially dangerous to change the sw_category and other sw_source and sw_sel attributes not mentioned above.
Creating and Modifying a Serial Depot and its Configuration File for TapeA depot put on a tape is called a serial depot. It can exist as a regular file, but it cannot be registered, which means it cannot be accessed remotely.
Create the serial depot configuration file – Issue the following command:
# make_config
Modify the serial depot config file – The depot must always be the third file on the tape, so there is no need to specify a path to the depot. Remove the following lines:
•sd_server = IP_address
•sd_depot_dir = /var/tmp/depot
Change the source_type attribute from NET to MT:
•source_type=MT
Create the serial depot – To create a serial depot from /var/tmp/depot and store it in /var/ tmp/serialdepot, enter:
#swpackage
Assumptions
The following example assumes you have created a golden archive and a depot containing all the applications you want to install. Including a serial depot is optional and is not needed if the tape will only contain a golden archive, which is normally the case.
The golden archive in this example is assumed to have been created using make_sys_image on a system running
The archive is in gzip compressed tar format and is named /var/tmp/myOSarchive.gz.
The archive_impact command should be used to obtain
The optional depot is named /var/tmp/serialdepot and its config file is named /var/tmp/ depot_cfg.
180 Creating Your Own Boot and Installation Media