Using silent installation on HP-UX

You can use native installation functionality to install WebSphere Application Server. The steps below describe how to install WebSphere Application Server using the noninteractive (silent) mode. Silent installation is useful when you want to install the same configuration on multiple machines.

To complete a silent installation, you must create a response file and then use it to perform the installation.

Creating a response file

You can create a response file using one of two methods:

Silently installing WebSphere Application Server

Perform the following steps to install WebSphere Application Server using the noninteractive (silent) mode. These instructions assume that installation is made from the product CD.

  1. Ensure that you are logged into the machine on which you want to perform the silent installation with superuser (root) privileges.
  2. Ensure that you have the DISPLAY and TERM environment variables set correctly for your environment.
  3. Ensure that a CD-ROM drive is installed on the machine.
  4. Insert the WebSphere Application Server CD and mount it as follows:
    1. Invoke SAM by entering the following command: # /usr/sbin/sam
    2. Double-click the Disks and File Systems icon.
    3. On the Disks and File Systems screen, double-click the Disk Devices icon. A list of disk devices displays.
    4. Select the CD-ROM drive from the list of disk devices and click Actions > Mount. The Mount CD-ROM screen displays.
    5. In the Mount Directory field, enter /cdrom.
    6. In the When To Mount area, ensure that both the Now and At Every System Boot options are selected.
    7. Ensure that the Set User ID Execution option is selected.
    8. Click OK.
    9. On the Disks and File Systems screen, click File > Exit.
    10. Click File > Exit SAM to exit from SAM.

    The steps below assume that the CD is mounted at /cdrom.

  5. Navigate to the directory containing the shell script install.sh by entering the following command:
    # cd <cd_root>/var/spool/sw
  6. Run the shell script install.sh with your response file as the only argument by entering the following command:
    # ./install.sh <response_file>

    <response_file> is the full pathname for your response file. The install.sh shell script then uses this response file to silently install the components and options that you have selected into the chosen installation location in U.S. English (the default installation location is /opt/WebSphere/AppServer). Because the shell script performs some pre- and post-processing steps on the installation, do not use SAM to run the script.

    Note: If you choose to install the plugin for IBM HTTP Server, the installation process checks if you have the correct version of the server (1.3.12.0) on your machine. If you do not have this product on your machine and you have indicated in your response file that you want to have it installed, the installation process installs it. (You must manually back up and merge any existing configuration and date files from previous editions of IBM HTTP Server.) If you do not have this product on your machine and you have indicated in your response file that you do not want to have it installed, the script exits without installing the product.

  7. After installation, use the swlist -l product command to determine if the silent installation was successful.