United States-English |
|
|
Ignite-UX Administration Guide: for HP-UX 11i > Chapter 14 Creating Your Own Installation MediaBuilding a PA-RISC Installation Tape |
|
This section describes building an installation tape for use on PA-RISC systems. This functionality is not supported on Itanium-based systems, although you can utilize “Tape Recovery With No Tape Boot Support — Two-Step Media Recovery”.
By far, the most common configuration is a LIF volume followed by one archive. The archive can be a golden archive or a recovery archive depending on the purpose of the media. The high-level structures of possible PA-RISC installation tape layouts are shown below. The first file on a PA-RISC bootable tape is a logical interchange format (LIF) volume containing all the components required to boot from the tape. It also includes the Ignite-UX toolset and configuration information that controls how Ignite-UX will operate. Additionally, this tape file will include configuration files that describe installation functionality. See Appendix C for information regarding the contents of a LIF volume. For PA-RISC systems you can create a boot tape that is made up of the LIF volume only. This boot tape could then be used to boot a system, and then the software could be downloaded over the network. The make_medialif command creates the LIF volume. A typical LIF volume would have the following contents: See Appendix C for a full description of LIF contents.
The LIF volume is followed by the first archive (a golden archive or a recovery archive depending on the purpose of the media) or is empty if the installation is solely from the software depot. The first archive is then followed by either a serial depot or another archive. There can only be one serial depot on a tape, and it must be the third file on the tape. If the tape includes a serial depot, the make_config command must be used to create the config file for the depot content. This configuration file is then modified to reflect the final destination of the depot and the depot is written to the tape. The previous files can be followed by one or more additional archives, limited only by the capacity of the tape. These archives are optional.
Create the archive configuration file — Proceed as described in Chapter 11 or Chapter 15, depending on the usage of the installation tape. Modify the archive access attributes — Change the following archive access attributes in the sw_source core clause:
Modify the archive path and impacts — In the HARDWARE_MODEL ~ 9000.* clause:
A 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:
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:
Change the source_type attribute from NET to MT:
Create the serial depot — To create a serial depot from /var/tmp/depot and store it in /var/tmp/serialdepot, enter:
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 HP-UX 11i v1 (B.11.11). See Chapter 11 for information regarding golden archive creation. The archive is in gzip compressed tar format and is named /var/tmp/myOSarchive.gz. The archive_impact command should be used to obtain disk-space usage information for this archive so that disk space impacts can be included in the config content. The make_config command should be used to create a config file that describes the archive content. It's assumed that a config file named myOSarchive_cfg has been created for this archive. The optional depot is named /var/tmp/serialdepot and its config file is named /var/tmp/depot_cfg.
|
Printable version | ||
|