PE provides the following two installation scripts, explained in the sections below:
You can use the PEinstallSP script to install any of the filesets on SP nodes through the use of the Distributed Shell (dsh). In order to run the PEinstallSP script, you must first set up a host list file of all nodes on which you want a particular fileset installed. The PEinstallSP script either mounts or copies the installation image to each node in the list. It then executes the proper installp command to install the product.
Because PEinstallSP makes extensive use of dsh, it can run only on SP nodes. Also, you must ensure that you have the proper access to run the dsh command to access your nodes.
The PEinstallSP script has one required parameter and three optional parameters. The syntax is:
PEinstallSP image_name [host_list_file] [-f fanout_value] [-copy | -mount]
Where:
You can specify either -copy or -mount to instruct PEinstallSP to copy or mount the installation image to each node. The default is -copy. For more information on copying or mounting installation images, refer to Copying the Installation Image or Mounting the Installation Image.
You can use the PEinstall script to install any of the PE filesets on IBM pSeries or RS/6000 nodes using the Remote Shell (rsh).
To run the PEinstall script, first set up a host list file of all nodes on which you want to install a particular fileset. You must have /usr resident. The PEinstall script either mounts or copies the installation image to each node in the list, and then executes the proper installp command to install the product.
The PEinstall script has one required parameter and two optional parameters. The syntax is:
PEinstall image_name [host_list_file] [-copy | -mount]
Where:
You can specify either -copy or -mount to tell PEinstall to copy or mount the installation image to each node. The default is -copy.
Using the -copy option (or allowing it as the default) informs PEinstallSP or PEinstall to copy the named image to each node using rcp. You are prompted for the following information when you specify -copy (or defaulted):
The image is copied to the destination directory with the name specified as the image_name parameter. Be sure there is enough space in the destination directory file system for the image. Each image occupies approximately three megabytes.
Specifying the -mount option informs PEinstallSP or PEinstall to mount the named image to each node using dsh (for PEinstallSP) or rsh (for PEinstall). You are prompted for the following information when you specify -mount:
PEinstallSP or PEinstall issues a mkdir command for the directory name specified, followed by a chmod 777. To execute the installp remotely on a mounted image, the directory containing the image needs to have this permission.
To avoid creating the directory with world-writable permissions, do not use the -mount option of PEinstallSP or PEinstall.