Web server plug-in response file
This page describes the response file for performing a silent installation of the Web server plug-ins for WAS.
Install WAS silently using an options response file.
The responsefile.txt file has directives that set installation options. Comments in the file describe how to set the string value for each directive.
Use the options file to run the Plug-ins installation wizard in silent mode, which is referred to as installing silently. The wizard reads the options file to determine responses and does not display the GUI.
Location of the response file
The sample options response file is named responsefile.txt. The file is in the plugin directory on WAS disc or in the downloaded installation image.
Mode of use
The Plug-ins installation wizard can read an existing options response file and run silently without displaying the GUI.
Install silently
The options file supplies the values to the plug-ins installation wizard when installing silently. The wizard reads the options file to determine responses and does not display the GUI. Use the following command to use a copy of the options file named myresponsefile.txt for a silent installation:
install -options "myresponsefile.txt" -silentCreate an operational environment
The installation of the plug-ins is a three-step process:
- Install the binary plug-in modules for supported Web servers
- Set the Web servers to use the binary module to communicate with the appserver
- Create a Web server definition in the appserver
As you install an application, we can install it on the Web server definition in addition to the appserver. All applications on the Web server definition are listed in its plug-in configuration file. After propagation, the real Web server can access the applications.
The sample options response file, responsefile.txt, controls...
- Installing the binary plug-ins
- Configuring the Web server
- Creating a script for creating the Web server definition on a remote appserver machine.
The script is customized according to values supplied in responsefile.txt. The script is generated to run on the appserver machine to create the Web server definition.
If the Web server is on the same machine as a stand-alone appserver, responsefile.txt can create the Web server definition directly without creating a script.
To edit and use the response file for installing the plug-ins and configuring the Web server and appserver, perform the following procedure:
- Copy responsefile.txt from the plugins directory on WAS disc to a place that we can identify on the machine.
- Edit the file to customize the values for the installation.
- Save the file.
- Start the installation. For example:
install -options /tmp/plugins/myresponsefile.txt -silent(Windows) On non-Windows operating systems, silent installations run in a synchronous process. The process does not return until the silent installation finishes. For a silent installation to run synchronously on Windows, issue the first of the following commands:
- Synchronous processing:
START /WAIT install.exe -options "C:\temp\myresponsefile.txt" -silent- Asynchronous processing:
install -options "C:\temp\plugins\myresponsefile.txt" -silent
- After the installation, examine the logs for success.
Logging
If no installation logs exist, refer to...
$HOME/plglogs/log.txtWe can also cause ISMP to record status about a problem that is preventing the installation from occurring.
For example, if we start the silent installation without accepting the license in the directive...
-OPT silentInstallLicenseAcceptance="false"...the installation does not occur. The fact that the license entry was not accepted is recorded in...
$HOME/plglogs/log.txtIf all validations pass, the installation occurs. Then, the Plug-ins installation wizard records installation events in the following log files. The log files are in...
PLUGINS_ROOT/logs/installInformation that ISMP can log when it cannot start the Plug-ins installation wizard
Certain events can prevent the installer from starting the installation wizard. Such an event is not enough disk space to launch the installation wizard, for example. If the installation fails and there is no information in the installation logs, use the -log parameter to record entries for events that cause the installer program to fail to start the installation wizard. The syntax of the install command for logging such events is:
install -options fully_qualified_options_response_file_name -silent -log # !fully_qualified_log_file_name @ALL
- [AIX]
install -options "/usr/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/usr/IBM/WebSphere/myOptionFiles/log.txt @ALL- (Linux) [HP-UX] [Solaris]
install -options "/IBM/WAS/silentFiles/myresponsefile.txt" -silent -log # !/IBM/WAS/myOptionFiles/log.txt @ALL- (Windows)
install.exe -options "C:\IBM\WebSphere\silentFiles\myresponsefile.txt" -silent -log # !C:\IBM\WebSphere\silentFiles\log.txt @ALLVerify or troubleshoot the installation if the PLUGINS_ROOT/logs/install/log.txt file does not contain a record of any problems, but problems exist.
If the error happens early in the installation, look for the logs in the system temporary directory. The installation program copies the logs from the system temporary directory to the logs directory at the end of the installation.
Response file user entry validation
Validation of the response file has been coded into the installation. If response file validation does not pass, the failure is recorded in the temporaryPluginInstallLog.txt file.
Usage notes
- The file is not a read-only file.
- Edit this file directly with the flat file editor of choice.
- The file is updated when you specify the -options parameter when using the plug-ins installation wizard.
- The file must exist to perform a silent installation. The installation program reads this file to determine installation option values when you install silently. Provide the fully qualified file path.
- Save the file in a location that we can identify when specify the fully qualified path as part of the installation command.
Related tasks
Install Web server plug-ins