You can install a Web server plug-in on your IBM® i system silently using
the installation wizard run locally on the IBM i system or remotely
from a Windows® workstation.
Before you begin
If you are running the application server on the same
IBM i server or logical
partition as your Web server, you do not need to install a Web server
plug-in. The Web server plug-in code and an HTTP profile template
are included in the WebSphere
® Application Server
installation.
If you are running your application server on a different IBM i system or logical
partition as the Web server, complete the steps in this topic to install
a Web server plug-in for your IBM i Web server.
About this task
A silent installation uses the installation wizard to install
the product in silent mode, without the graphical user interface.
Instead of displaying a wizard interface, the silent installation
causes the installation program to read all of your responses from
a file that you provide. To specify non-default options during a silent
installation, you must use the response file. To install silently,
you must accept the license agreement in the agreement option.
You
can run the installation wizard on the IBM i system that has the
Web server or remotely from a Windows workstation.
Procedure
- If you are installing remotely, start TCP/IP.
Enter
the Start TCP/IP (STRTCP) command on the Control Language (CL) command
line.
- Verify that the host server jobs are started on your iSeries® server.
The host server jobs allow the installation code to run on iSeries.
Enter this command on a CL command line:
STRHOSTSVR SERVER(*ALL)
- Verify that your user profile has the *ALLOBJ and *SECADM
special authorities.
- Place the WebSphere Application Server Supplements disk
in the disk drive of your iSeries server if you are installing
locally or your workstation if you are installing remotely.
- Customize the options response file.
- Locate the sample options response file.
The
file name is responsefile.txt in the operating
system platform directory on the product disk.
- Use the Copy (CPY) command to copy the responsefile.txt file
to a directory of your choosing.
For example, to copy
the file from a CD-ROM on IBM i:
CPY OBJ('/QOPT/WEBSPHERE/plugin/responsefile.txt') TODIR('/MYDIR')
For
DVD media, specify an additional directory prefix before the product
directory that reflects the operating system and architecture of the
installation. For example:
CPY OBJ('/QOPT/WEBSPHERE/os400_ppc64/plugin/responsefile.txt') TODIR('/MYDIR')
where:
- QOPT is the disk mount point.
- WEBSPHERE is the disk volume label.
- /plugin is the product directory on the disk.
- Edit the copy of the file using an editor such as EDTF
from the IBM i command
line or another editor from a mapped drive.
Accept the
license agreement by changing the value for –OPT silentInstallLicenseAcceptance from false to true.
This is the only required change in the response file.
Read
the information in the response file to determine if you want to change
any other options. You can change the installLocation and defaultProfileLocation values.
Specify
a Java Software Development Kit (SDK) to invoke
the installer and configure the product and profiles. You can force
the use of a specific Java SDK
through the i5osjdklocation option in the response
file. Read the Web server plug-in response files topic
for more information.
Restriction: The installation
directory cannot contain any unsupported characters.
- Save the file.
- Invoke the installation wizard for Web server plug-ins.
You can run the installation wizard on the IBM i system that has the
Web server or remotely from a Windows workstation.
- Run the install command locally from Qshell:
- From the IBM i command
line, start a Qshell session: STRQSH
- Change directory to the plugin subdirectory.
For
a CD-ROM drive, enter: cd /QOPT/WEBSPHERE/plugin
For
a DVD-ROM drive, enter: cd /QOPT/WebSphere/os400_ppc64/plugin
- Issue the install command to start the installation
wizard.
install –options responsefile
where responsefile is
the fully qualified path name of the response file that you edited.
For
systems with little or no interactive feature, use SBMJOB:
SBMJOB CMD(STRQSH CMD(‘/QOPT/WEBSPHERE/plugin/install -options responsefile')) JOB(INSTWAS) JOBQ(QSYSNOMAX) ALWMLTTHD(*YES)
Important: Do not exit the Qshell session (PF3) until the installation
has completed. Doing so might cause the installation to stop prematurely.
- Run the install command remotely from a Windows workstation:
- Change directory to the plugin subdirectory
of the CD-ROM or DVD-ROM drive.
- Issue the install command to start the installation
wizard.
install.exe hostname_or_IP userid password –options responsefile
where
- hostname_or_IP is the host or IP address of
the IBM i system.
- userid is an IBM i user profile with
*ALLOBJ and *SECADM authority
- password is the password for the user ID.
- responsefile is the fully qualified path name
of the response file that you edited.
- Verify the success of the installer program by examining
installation wizard messages and the plugins_root/logs/install/log.txt file
for installation status.
The installation program records
the following indicators of success in the logs:
- INSTCONFSUCCESS indicates that the installation is successful
and that no further log analysis is required.
- INSTCONFFAILED indicates an installation failure that you cannot
retry or recover from without reinstalling.
Results
You installed a Web server plug-in and profile silently
by using the response file.
What to do next
Use the IBM Web Administration for IBM i wizards to configure
your Web server instance. Read the "Configuring an HTTP Server instance"
topic for more information. The IBM Web
Administration for IBM i wizards
perform the same the function as the Web server plug-ins installation
on other platforms.
Create a profile for each additional Web
server instance.