13 Automating installations

This chapter shows how to use the bootsys command and configuration files to automate the Ignite-UX installation process.

Starting a non-interactive 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[-iconfiguration][-f]client_hostname

-aSpecifies an automatic installation.

-vSpecifies verbose mode.

-iSpecifies 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 -foption is not used, an error results.

-fForces 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 37)) 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 161) 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

174 Automating installations