| United States-English |
|
|
|
![]() |
Ignite-UX Administration Guide: HP Computers with HP-UX 10.x, 11.0 or 11i > Chapter 10 Creating
Your Own Install MediaBuilding an Install Tape |
|
This section describes the golden image layout and building an example install tape. We recommend using only 90 metre DDS-1 tapes to make install tapes with Ignite-UX to ensure that the tape will work with any DDS drive. For details on other supported tape formats, see the release notes available from the Ignite-UX Web site. Golden system images in these examples were created on Series 700 and Series 800 systems running HP-UX 10.20 using: /opt/ignite/data/scripts/make_sys_image The archives are in tar format and are gzipped. The files
are: This command has been run on these archives to get disk-space usage information (impacts) so that configuration information can be supplied: /opt/ignite/lbin/archive_impact DDS tape layoutA DDS install tape is constructed logically like this:
LIF — A bootable tape starts with a Logical Interchange Format (LIF) volume containing all the components required to boot off the tape. It also includes the Ignite-UX toolset and configuration information that controls how Ignite-UX will operate. It includes config file information about the SD depot on the tape (should there be one) and all archives on the media. A1/E — The next portion is either the first OS Archive (A1) or is Empty (E) if the installation is solely from the software depot. D/A2 — The next portion is either a serial depot (D) or another OS archive (A2). There can only be one depot on a tape, and it must be the third file on the tape due to a SD restriction. A3, A4,... — Beyond this, there may be other archives, limited only by the capacity of the tape. If more archives are needed, they can be put on a second medium. LIF volume contentThe make_medialif command is used to create the LIF volume. A typical LIF volume looks like this: volume ISL10 data size 175771 directory size ISL — Initial System Loader. If it is run interactively, it issues a prompt and waits for user interaction. Otherwise it looks for the AUTO file. It is extracted by make_medialif from the default boot file: /opt/ignite/boot/boot_lif AUTO — Autoexecute file defines the default (possibly automatic) boot behavior. INDEX — Default INDEX file (it has the same function as /var/opt/ignite/INDEX does on an Ignite-UX server). The file CONFIG is referenced in this file. CONFIG — Contains all software configuration information. You should begin with the default config file for that release (for example, for the Ignite-UX B.10.20, look in: /opt/ignite/data/Rel_B.10.20/config) Additional config files can be added via the -f option of the make_medialif command. Information in this file will allow complete access to all the archives and depots on the media. HPUX — HP-UX bootstrap utility. It is also extracted from the default boot file. INSTALL — 32-bit kernel booted
by 32-bit install clients. With a 64-bit kernel, use the make_medialif -o 64 option to create a LIF volume called VINSTALL
for V-class systems. For other 64-bit kernels, use the INSTALLFS — The RAM file system used by install clients. Configuration information stored in the first 8KB of this file is accessible using instl_adm. If this is a 64-bit LIF volume, the file is called VINSTALLFS. For 64-bit systems, the file is WINSTALL . INSTCMDS — gzip archive of the commands needed for disk layout. These commands run on the install kernel and inside the INSTALLFS. SYSCMDS — gzip archive of commands used to load the software onto the system. There are different archives for each release. SCRIPTS — gzip archive of all post_load and post_config scripts that are required. By default when loading a core archive (load_order is zero, which means it gets loaded first), the two scripts in /opt/ignite/data/scripts called os_arch_post_l and os_arch_post_c are executed. Scripts like these are discussed in depth in the instl_adm(1M) manpage. For more information on what happens during system boot and what files do what, see “System Bootup Sequence”. You need to consider two important config file concepts when building archives and bundles to be loaded onto a target system:
For details on these objects, see the instl_adm(1M) manpage. Be sure to pass all user-generated config files through this command to check for syntax errors: instl_adm -T -f cfg_file The best place to start when creating a config file for an archive is to use the template file supplied by Ignite-UX in /opt/ignite/data/examples/. Other files are available for HP-UX 11.0/11i 32- and 64-bit systems. This file can be copied elsewhere, say, to /var/tmp/archive.cfg, and then edited to suit your situation. Assume that our tape will be used more for installing Series 700 systems than Series 800 systems. Hence, we will put the Series 700 archive on the tape first. In the diagram above, it will be A1. Since there will be a serial depot on the tape, the Series 800 archive will be located at A3. To modify the config file to access the Series 700 archive, the following attributes need to be changed in /var/tmp/archive.cfg in the sw_source core archive stanza: Table 10-2 Title not available (Accessing a DDS Tape Archive )
These changes will modify the source type from network (NET) access (which is either NFS, ftp or remsh) to magnetic tape (MT). Since the archive is going to reside on the same media, change_media is set to false by un-commenting that attribute. To avoid trying to NFS mount that directory, the nfs_source is commented out. Since the template file already has conditional logic that provides for different Series 700 and Series 800 archives, we will use that to our advantage. Inside the stanza enabled by HARDWARE_MODEL ~ 9000/7.* the following fields must be changed: Table 10-3 Title not available (Accessing a DDS Tape Archive )
The change in archive_path indicates that there is one EOF mark to skip on the tape and the archive will begin right after that mark. The archive will be the second file on the tape after the LIF volume. The impacts lines must be replaced with whatever was reported by archive_impact for the Series 700 archive. Inside the same stanza the sw_sel and description strings can be changed to something more descriptive and applicable to your situation. The text inside the double quotes can be changed to whatever you like. They will be visible on the Ignite-UX UI. archive_type must match what was done by make_sys_image. See instl_adm(4) for more about archive_type. Since we have only one Series 700 archive the entire stanza called golden image2 can be deleted. It was included in case you had two different types of archives, for example one for VUE and one for CDE. If more than one archive per architecture is on the media, it is advisable to use an exrequisite attribute between them so only one archive can be selected at one time. In the stanza for the Series 800 (it is an else clause later in the file) the same sort of changes must be made. However remember that the Series 800 archive is in a different location on the tape. So these attributes need to change: Table 10-4 Title not available (Accessing a DDS Tape Archive )
The change in archive_path indicates that there are three EOF marks to skip on the tape (LIF volume, Series 700 archive, and the serial depot). The Series 800 archive is the fourth file on the tape. The impacts lines must be replaced with whatever was reported by archive_impact for the Series 800 archive. It is important not to 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. Assume there is a depot (/var/tmp/depot) that contains all the applications you wish to install on top of the archive. It can be a mixture of Series 700-only applications, Series 800-only applications, and applications that can be loaded on both architectures. Use the make_config command to create config file information for this depot, and the config file is modified to reflect the ultimate destination of the depot.
The tape is now ready for installations. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||