Customize the response file

 

+

Search Tips   |   Advanced Search

 

Overview

Customize the response file before installing WAS ND from a command line without using the graphical user interface of the Installation wizard.

Customize the response file to add your selections before attempting to install silently.

Use the response file to supply values to the installation wizard as the wizard runs in silent mode. The wizard does not display interactive panels when it runs in silent mode, but reads values from the response file instead.

Be precise when supplying values in the file. Customize the options response file precisely to let the installation program read the option values that the file contains. Incorrect specifications affect the silent interface of the installation wizard. For example, always enclose values in double quotation marks.

If you customize the response file incorrectly, the installation wizard cannot install the product with the -options or -silent parameters. If the error is an invalid option value, the installer displays a warning message that confirm and stops the installation.

Compare your options response file to the file that is shipped with the product to make the necessary corrections. After correcting the file, reinstall.

Perform the following procedure to edit the response file.

 

Procedure

  1. Locate the sample options response file. The file is named responsefile.nd.txt in the WAS directory on the product CD-ROM or DVD.

  2. Copy the file to preserve it in its original form. For example, copy it as myoptions on your disc drive.

  3. Edit the copy in your flat file editor of choice, on the target operating system. Read the directions within the response file to choose appropriate values.

    For AIX, to prepare the file for a silent installation on AIX, use line-end characters (0x0D0A) to terminate each line of the options response file. The safest method of preparing the file is to edit the file on the target operating system.

  4. Include custom option responses that reflect parameters for your system.

    See responsefile.nd.txt for an example response file and a description of each option.

  5. Save the file.

  6. Log on to the operating system.

    For *nix, in addition, select a umask that would allow the owner to read/write to the files, and allow others to access them according to the prevailing system policy. For root, a umask of 022 is recommended. For non-root users a umask of 002 or 022 could be used, depending on whether or not the users share the group. To verify the umask setting,...

    umask
    To set the umask setting to 022,...

    umask 022

    When installing on a Windows system, a Windows service is automatically created to autostart the appserver if your installer user account has the following advanced user rights:

    For example, on some Windows systems, click...

    Administrative Tools | Local Security Policy | User Rights Assignments

    ...to set the advanced options.

    For Windows, if you plan to run the appserver as a Windows service, do not install from a user ID that contains spaces. A user ID with spaces cannot be validated. Such a user ID is not allowed to continue the installation. To work around this problem, install with a user ID that does not contain spaces.

  7. Issue the proper command to use your custom response file...

    • *nix...

      mnt_cdrom/WAS/install -options /tmp/WAS/myoptionsfile.txt -silent

    • Windows...

      "disc_drive_D:\WAS\install" -options "C:\temp\WAS\myoptionsfile.txt" -silent

 

Results

This procedure results in creating a customized response file and using the file to start a silent installation. The silent installation takes some time to complete.

 

Example

Edit the version of the file that ships with the WAS ND product. The example in responsefile.nd.txt is not guaranteed to be an accurate representation of what ships with the product.

 

What to do next

After installing the product from the installation image, the next step is to check for available updates.

After updating the product, create a profile if you have not yet done so. Start the Profile Management tool, and create a deployment manager cell. The cell contains a deployment manager profile and a federated appserver profile.

On Windows systems, use the Start menu to locate IBM WebSphere and select appropriate menu options to display the First steps option for the profile that you intend to verify.

For *nix, the First steps console, firststeps.sh, is available in...

profile_root/firststeps

A separate First steps console exists for each profile, except custom profiles. Use the First Steps console of each profile to verify the profile.

Use the installver program to compare the checksum of all installed files against the bill of materials that ships with the product, if you want to perform more installation verification.

After verifying the product installation and starting the deployment manager or a stand-alone appserver, use the console to deploy an existing application.



responsefile.nd.txt

 

Related information


Installing silently