| United States-English |
|
|
|
![]() |
Ignite-UX Administration Guide: HP Computers with HP-UX 10.x, 11.0 or 11i > Chapter 9 Automating
InstallationsStarting an Automatic Installation with bootsys |
|
To start an automatic installation, enter: bootsys -a -v [-i configuration] [-f] target_hostname -a specifies an automatic install. -v specifies verbose mode. -f forces Ignite-UX to disregard prior configuration info for that target. -i selects an alternate configuration. If not set, the default is used. See the bootsys(1M) manpage for details on how to select a configuration and to force its use. The default is set in the Ignite-UX server options menu, or can be set manually with the =TRUE statement after a cfg clause in the /var/opt/ignite/INDEX file. Ignite-UX will contact the target system and extract its hostname, IP address and default gateway. The default configuration is installed. Post install, Ignite-UX will reset the hostname, IP address and gateway to their original values. (remsh access to the target is required. If not available, bootsys will prompt the user for the root password on the target.) This is the quickest way to install a system. The drawback is that you will receive the default config, which may have incomplete networking information unless you are using a previously "saved" configuration, or you specify the defaults in the /var/opt/ignite/config.local file as shown later. When using Ignite-UX during an install session, you may choose to save the result as a named configuration when finished specifying the configuration for particular target. This will save any changes that you made during the session for use in subsequent sessions. Then either specify the configuration as the default, and/or just use the name you give it to bootsys using the -i option. The /var/opt/ignite/config.local file is normally included in every cfg clause in the INDEX file. This provides a convenient location to store default parameters that are the same for all configurations. Typically this will be networking, default software selections, kernel modifications. It may be easiest to cut and paste information written to the files /var/opt/ignite/clients/*/config by the user interface. However you can do more here than with the Ignite-UX screen. See the instl_adm(4) manpage for more details. Below is an example of what a config.local file could look like. The sw_sel's will depend on what you have defined in config files on the server. dns_domain="fc.hp.com" Always run this after making manual edits to verify that the syntax is correct: instl_adm -T “Setting Install Parameters Dynamically” to see how default information may be specified dynamically depending on the target system's configuration. Setting defaults with instl_admSome network parameters need to be known by the target clients when they first boot. bootsys or DHCP/BOOTP can supply the hostname and IP address; however, the netmask and gateway need to be supplied in the RAM filesystem (INSTALLFS). This can done by using the instl_adm command, which has options to set netmask, gateway, Ignite-UX/tftp server, etc. Or you can dump the current settings to a file and edit it, then load the settings back. Just loading Ignite-UX sets some of the parameters.For example, you may want to set the keyboard language so that it never prompts you for it when booting from Ignite-UX. The file you store using instl_adm -f may look like this: # instl_adm defaults: Using the per-target client config fileUntil now, we have discussed specifying default parameters that all target systems may use. If you would like to specify a specific configuration for an individual target system, you may use the following procedure. When Ignite-UX begins an install session, it scans the directory /var/opt/ignite/clients for a directory matching the LLA of the target system. As an example, if the LLA of the target is 0x08000992E346, Ignite-UX looks for a file named config in: Ignite-UX keeps the last configuration installed to the respective system in this file so it can perform a repeat install. If found, the configuration data in this file is used to overwrite the default values. This file has the highest precedence over all other config files listed in the INDEX file.
The easiest way to create the config file is to use one already built by Ignite-UX. If you've previously installed a system (it's best to use one from a similar system to your target,) you can find a config file in the /var/opt/ignite/clients/LLA directories. Use this as the basis for your new file. Copy it to: /var/opt/ignite/clients/LLA/config Edit its contents to correspond to your new system. Example config FfleHere is an example config file: cfg "HP-UX B.11.00 archive"=TRUE Typically, you would want to change the networking parameters to the correct values. For example: final system_name="system11" The values specified should be self explanatory, and should be edited to the desired new values. It is also possible to add kernel parameters to this file. See “Setting Install Parameters Dynamically” later in this chapter. You should also update the variable, _hp_cfg_detail_level when adding new types of parameters or they will get lost by the UI or by the file rewrite. To perform an automatic install with a config file:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||