IBM Books

Installation and Migration Guide


Appendix E. User-supplied node customization scripts

IBM provides the opportunity to run two different customer-supplied scripts during node installation:

script.cust
This script is run from the PSSP NIM customization script (pssp_script) after the node's AIX and PSSP software have been installed, but before the node has been rebooted. This script is run in a limited environment where not all services are fully configured:

As a result of these restrictions, you should restrict your use of script.cust to function that must be performed prior to the post-installation reboot of the node. An example of appropriate function in script.cust is the installation of an LP that requires a reboot of the node to render it fully functional. See the sample script.cust that follows for additional examples.

Note:
script.cust is also run during the boot of a node that has been set to "customize."

A sample of the script.cust node customization script is located at /usr/lpp/ssp/samples/script.cust.

firstboot.cust
This script is run during the first boot of the node immediately after it has been installed. This script runs in a more "normal" environment where most all services have been fully configured:

This script is a preferred location for node customization functions that do not require a reboot of the node to become fully enabled.

Note:
firstboot.cust is also run during the boot of a node that has been set to "migrate."

A sample of the firstboot.cust node customization script is located at /usr/lpp/ssp/samples/firstboot.cust.

Note:
Your security environment is not set up during script.cust processing. If you require security function, perform your customization during firstboot.cust processing.

Be aware that the root password is not set if you are installing from a minimal mksysb image. If you want to have the root password set, you can do one of the following:

Name resolution of the control workstation host name is required on the nodes. firstboot.cust shows how to copy /etc/resolv.conf or /etc/hosts, and how to define the node to NIS, if that is being used. If you have created a mksysb image to install on the nodes, and it already has name resolution defined in it, you do not need to do anything additional.

You should use any customizations that were created by using the chdev or chgcss commands, except for those that are already stored in the SDR. For example, customized parameters such as maxuproc, maxmbufs, rpoolsize, spoolsize, and asynchronous I/O should be preserved by using the chdev or chgcss command in these files.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]