Ignite-UX Administration Guide for HP-UX 11i (B3921-90079, October 2013)

13 Automating Installations
This chapter shows how to use the bootsys command and configuration files to automate the
Ignite-UX installation process.
Starting a Noninteractive Installation with bootsys
Ignite-UX can install HP-UX on a client noninteractively using the default configuration specified in
the /var/opt/ignite/data/INDEX file for the given operating system. The /var/opt/
ignite/data/INDEX file can have a unique clause for each operating system you want to
support. Alternatively, you can choose from other configurations that exist as unique clauses in the
INDEX file to use with bootsys(1M) from the command line.
To start an automatic, noninteractive installation, execute the bootsys command from the server
as follows:
bootsys -a -v [-i configuration][-f]client_hostname
-a Specifies an automatic installation.
-v Specifies verbose mode.
-i Specifies a default configuration for installing the client. If not set, the default specified on the
Ignite-UX server is used. If an incorrect configuration or one that does not match the last configuration
saved for the client is selected and the -f option is not used, an error results.
-f Forces Ignite-UX to disregard and delete the previous configuration information that was saved
for a client during the last installation.
You can define the default configuration from the Ignite-UX GUI Server Options menu (see
“Configuring Server Options” (page 36)) or you can set it manually with a =TRUE statement
immediately following the closing of a cfg clause in the /var/opt/ignite/data/INDEX file.
After you have initiated the installation, Ignite-UX contacts the client and extracts its hostname, IP
address, and default gateway. The configuration you specified is installed. After the installation
completes, Ignite-UX resets the hostname, IP address and gateway to their original values. This
installation configuration is then automatically saved, or overwritten if one exists, for this client and
can be reused the next time an installation is needed. For bootsys to function, access to the client
using remsh is required; if a remote shell is not available, the bootsys command prompts you
for the root password of the client.
A noninteractive installation using bootsys is the quickest way to install a client. You can install
a client with a custom configuration using bootsys with the following simple four-step process:
1. Create the configuration files that describe how you want the client to be installed.
2. Save the configuration files that you created.
3. Add a cfg clause to the /var/opt/ignite/data/INDEX file that describes your custom
configuration.
4. Execute the bootsys command, specifying the custom configuration.
For more information regarding configuration files, see “Using Configuration Files (page 158) and
the white paper, Ignite-UX Custom Configuration Files, available at
http://www.hp.com/go/ignite-ux-docs
For details on how to select a configuration, force its use, and use the many other installation
options that are available, see bootsys(1M).
Using a Saved Configuration
After you specify a configuration for a particular client during an installation, you can save the
result as a named configuration. This saves any changes that you made during the installation
Starting a Noninteractive Installation with bootsys 171